Ejemplo n.º 1
0
    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"])) {
Ejemplo n.º 2
0
$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;}
if(isset($_GET["OpenVPNChangeServerMode"])){OpenVPNChangeServerMode();exit;}
if(isset($_GET["BRIDGE_ETH_SHOW"])){echo ShowIPConfig($_GET["BRIDGE_ETH_SHOW"]);exit;}
if(isset($_GET["index"])){index_page();exit;}
if(isset($_GET["rebuild-certificate"])){rebuild_certificate();exit;}