Exemplo n.º 1
0
    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"])) {
Exemplo n.º 2
0
	
	
	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;}
	if(isset($_GET["vpn-client-routes-list"])){addvpn_routes_popup_list();exit;}
	if(isset($_GET["vpn-client-routes-del"])){addvpn_routes_del();exit;}
	if(isset($_GET["route_real"])){add_vpn_routes();exit;}
	
	if(isset($_GET["server-routes-delete"])){server_routes_del();exit;}
	if(isset($_GET["server_route_real"])){server_routes_add();exit;}
	if(isset($_GET["server-routes"])){server_routes_list();exit;}