db_select($query); $smarty->assign("subnet_id", $subnet_id); $smarty->assign("subnet_address", $subnet[0]['subnet_address']); $smarty->assign("subnet_mask", $subnet[0]['subnet_mask']); $smarty->assign("location_options", $db->options_location()); $smarty->display("subnetlocationadd.tpl"); include("footer.php"); ?>