db_select($query); $vlan_options[0] = $lang['lang_option_none']; foreach ($vlans as $vlan) { $vlan_options[$vlan['vlan_id']] = $vlan['vlan_name']; } $smarty->assign("vlan_options", $vlan_options); $smarty->display("subnetadd.tpl"); include("footer.php"); ?>