$new_subnet, 'ip_int_start' => $start_ip, 'ip_int_stop' => $stop_ip, 'dhcp_start' => ip2long($range[3] ?? $first_user_ip), 'dhcp_stop' => ip2long($range[4] ?? $first_user_ip), 'gateway' => ip2long($range[5] ?? $first_user_ip) ]; insert_record($db_link, "subnets", $new); } header("Location: " . $_SERVER["REQUEST_URI"]); exit; } unset($_POST); fix_auth_rules($db_link); require_once($_SERVER['DOCUMENT_ROOT'] . "/inc/header.php"); print_control_submenu($page_url); ?>

"; ?>

\n"; print "\n"; print "\n"; print "\n"; print_td_yes_no($row['dhcp']); print_td_yes_no($row['static']); print_td_yes_no($row['office']); print_td_yes_no($row['hotspot']); print_td_yes_no($row['vpn']); print_td_yes_no($row['free']); print_td_yes_no($row['dhcp_update_hostname']); print_td_yes_no($row['discovery']); print "\n"; print "\n"; print "\n"; } ?>
" . $row["subnet"] . "" . $row['vlan_tag'] . " " . printFlagsByFirstLetter($row['notify']) . " " . $row['description'] . "