Esempio n. 1
0
    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"])) {
Esempio n. 2
0
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;}
if(isset($_GET["build-server-events"])){events_content();exit;}
if(isset($_GET["events-sessions-details"])){events_sessions_details();exit;}
if(isset($_GET["openvpn-status"])){status();exit;}

js();


function events_sessions_js(){
	$page=CurrentPageName();