exit; } if (isset($_GET["switch-status"])) { switch_status(); exit; } if (isset($_GET["MainParams-js"])) { MainParams_js(); exit; } if (isset($_GET["MainParams-tab"])) { MainParams_tab(); exit; } if (isset($_GET["MainParams-popup"])) { MainParams_popup(); exit; } if (isset($_GET["port-js"])) { port_js(); exit; } if (isset($_GET["port-tab"])) { port_tab(); exit; } if (isset($_GET["port-popup"])) { port_popup(); exit; } if (isset($_GET["delete-virtual-js"])) {
include_once('ressources/class.system.network.inc'); include_once('ressources/class.system.nics.inc'); include_once('ressources/class.maincf.multi.inc'); include_once('ressources/class.mysql.shorewall.inc'); include_once('ressources/class.tcpip.inc'); $usersmenus=new usersMenus(); if(!$usersmenus->AsArticaAdministrator){die();} if(isset($_GET["switch-tab"])){switch_tab();exit;} if(isset($_GET["switch-status-section"])){main_switch_status();exit;} if(isset($_GET["switch-status"])){switch_status();exit;} if(isset($_GET["MainParams-js"])){MainParams_js();exit;} if(isset($_GET["MainParams-tab"])){MainParams_tab();exit;} if(isset($_GET["MainParams-popup"])){MainParams_popup();exit;} if(isset($_GET["port-js"])){port_js();exit;} if(isset($_GET["port-tab"])){port_tab();exit;} if(isset($_GET["port-popup"])){port_popup();exit;} if(isset($_GET["delete-virtual-js"])){delete_virtual_js();exit;} if(isset($_POST["delete-virtual-perform"])){delete_virtual_perform();exit;} if(isset($_GET["ports-list"])){main_switch_ports();exit;} if(isset($_GET["switch-ports-table"])){main_switch();exit;} if(isset($_POST["ipaddr"])){port_save();exit;} if(isset($_POST["Uninstall"])){Uninstall();exit;}