db_select($query); $smarty->assign("location_id", $location_id); $smarty->assign("location_name", $location[0]['location_name']); $smarty->assign("subnet_options", $db->options_subnet()); $smarty->display("locationsubnetadd.tpl"); include("footer.php"); ?>