Esempio n. 1
0
    exit;
}
if (isset($_GET["pptpd-status"])) {
    pptpd_status();
    exit;
}
if (isset($_GET["pptpd-clients-status"])) {
    clients_status();
    exit;
}
if (isset($_GET["server"])) {
    server_config();
    exit;
}
if (isset($_GET["EnablePPTPDVPN"])) {
    server_config_save();
    exit;
}
if (isset($_GET["members"])) {
    members();
    exit;
}
if (isset($_GET["vpn-users"])) {
    vpn_users();
    exit;
}
if (isset($_GET["local-users"])) {
    local_users();
    exit;
}
if (isset($_GET["VPNAddMember"])) {
Esempio n. 2
0
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}


	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["events"])){events();exit;}
	
	
	if(isset($_GET["pptpd-status"])){pptpd_status();exit;}
	if(isset($_GET["pptpd-clients-status"])){clients_status();exit;}
	
	
	if(isset($_GET["server"])){server_config();exit;}
	if(isset($_GET["EnablePPTPDVPN"])){server_config_save();exit;}
	if(isset($_GET["members"])){members();exit;}
	if(isset($_GET["vpn-users"])){vpn_users();exit;}
	if(isset($_GET["local-users"])){local_users();exit;}
	if(isset($_GET["VPNAddMember"])){vpn_add_member();exit;}
	if(isset($_GET["VPNDelMember"])){vpn_del_member();exit;}
	if(isset($_GET["client"])){client_popup();exit;}
	
	if(isset($_GET["add-vpn-con-js"])){add_vpn_js();exit;}
	if(isset($_GET["add-vpn-con-popup"])){add_vpn_popup();exit;}
	if(isset($_GET["pptp-connexions"])){connexions_list();exit;}
	if(isset($_GET["CONNEXION_NAME"])){add_vpn_save();exit;}
	if(isset($_GET["VPNDelCon"])){add_vpn_del();exit;}
	
	if(isset($_GET["vpnUserAssign"])){vpn_add_member_ip();exit;}
	if(isset($_GET["route_ip"])){add_vpn_popup_cdir();exit;}