Esempio n. 1
0
	$usersmenus=new usersMenus();
	if($usersmenus->AsSystemAdministrator==false){exit;}
	if(isset($_POST["SourceBasedRouting"])){SourceBasedRoutingSave();exit;}
	if(isset($_POST["UseSnort"])){UseSnort();exit;}
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["ipconfig-nic"])){ipconfig_nic();exit;}
	if(isset($_POST["ipv6-eth"])){save_nic6();exit;}
	if(isset($_GET["save_nic"])){save_nic();exit;}
	if(isset($_GET["ipconfig-v6"])){ipconfig_nic6();exit;}
	if(isset($_GET["ipconfig-routes"])){ipconfig_routes();exit;}
	if(isset($_GET["ifconfig-route-list"])){ipconfig_routes_list();exit;}
	if(isset($_GET["ifconfig-route-add-js"])){ipconfig_routes_add_js();exit;}
	if(isset($_GET["ifconfig-route-add-popup"])){ipconfig_routes_add_popup();exit;}
	if(isset($_GET["ipconfig-routage"])){ipconfig_routage();exit;}
	
	if(isset($_GET["ipconfig-qos"])){ipconfig_qos();exit;}
	
	if(isset($_POST["QOSMAX"])){ipconfig_qos_save();exit;}
	if(isset($_POST["add-routes"])){ipconfig_routes_add();exit;}
	if(isset($_GET["del-routes"])){ipconfig_routes_del();exit;}	
	if(isset($_POST["ipv6-enable"])){UseIpv6();exit;}
	if(isset($_GET["ipconfig-tools"])){ipconfig_tools();exit;}
	if(isset($_GET["flush-arp-cache-js"])){flus_arp_cache_js();;exit;}
	if(isset($_GET["flush-arp-cache-popup"])){flus_arp_cache_popup();;exit;}
	if(isset($_POST["MII-TOOL"])){MII_TOOLS();exit;}
	js();

	
function js(){
	$page=CurrentPageName();
	header("content-type: application/x-javascript");
Esempio n. 2
0
    exit;
}
if (isset($_GET["ipconfig-routage"])) {
    ipconfig_routage();
    exit;
}
if (isset($_GET["nic-delete-js"])) {
    delete_nic_js();
    exit;
}
if (isset($_POST["delete-nic"])) {
    delete_nic();
    exit;
}
if (isset($_GET["ipconfig-qos"])) {
    ipconfig_qos();
    exit;
}
if (isset($_POST["QOSMAX"])) {
    ipconfig_qos_save();
    exit;
}
if (isset($_POST["add-routes"])) {
    ipconfig_routes_add();
    exit;
}
if (isset($_GET["del-routes"])) {
    ipconfig_routes_del();
    exit;
}
if (isset($_POST["ipv6-enable"])) {