exit; } if (isset($_GET["KEY_COUNTRY_NAME"])) { SaveCertificate(); exit; } if (isset($_GET["ENABLE_SERVER"])) { SaveServerConf(); exit; } if (isset($_GET["ENABLE_BRIDGE"])) { SaveBridgeMode(); exit; } if (isset($_GET["VPN_DNS_DHCP_1"])) { SaveServerConf(); exit; } if (isset($_GET["restart-server"])) { RestartServer(); exit; } if (isset($_GET["server-settings"])) { server_settings(); exit; } if (isset($_GET["server-settings-js"])) { server_settings_js(); exit; } if (isset($_GET["routes"])) {
include_once('ressources/class.users.menus.inc'); include_once('ressources/class.openvpn.inc'); include_once('ressources/class.system.network.inc'); include_once('ressources/class.tcpip.inc'); $users=new usersMenus(); if(!$users->AsSystemAdministrator){die("alert('no access');");} if(isset($_GET["startpage"])){echo startpage();exit;} if(isset($_GET["wizard"])){wizard();exit;} if(isset($_GET["wizard-key"])){wizard_key();exit;} if(isset($_GET["wizard-server"])){wizard_server();exit;} if(isset($_GET["wizard-finish"])){wizard_finish();exit;} if(isset($_GET["KEY_COUNTRY_NAME"])){SaveCertificate();exit;} if(isset($_GET["ENABLE_SERVER"])){SaveServerConf();exit;} if(isset($_GET["ENABLE_BRIDGE"])){SaveBridgeMode();exit;} if(isset($_GET["VPN_DNS_DHCP_1"])){SaveServerConf();exit;} if(isset($_GET["restart-server"])){RestartServer();exit;} if(isset($_GET["server-settings"])){server_settings();exit;} if(isset($_GET["server-settings-js"])){server_settings_js();exit;} if(isset($_GET["routes"])){routes_settings();exit;} if(isset($_GET["ROUTE_SHOULD_BE"])){routes_shouldbe();exit;} if(isset($_GET["ROUTE_FROM"])){routes_add();exit;} if(isset($_GET["routes-list"])){routes_list();exit;} if(isset($_GET["DELETE_ROUTE_FROM"])){routes_delete();exit;} if(isset($_GET["events-js"])){events_js();exit;} if(isset($_GET["events"])){events();exit;} if(isset($_GET["events-session"])){events_sessions();exit;} if(isset($_GET["session-js"])){events_sessions_js();exit;} if(isset($_GET["clients-settings"])){Clients_settings();exit;} if(isset($_GET["ncc"])){ncc();exit;}