Esempio n. 1
0
    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;
}
js();
function add_vpn_js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body("{ADD_CONNEXION}");
    if ($_GET["name"] != null) {
        $title = base64_decode($_GET["name"]);
    }
Esempio n. 2
0
	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;}
	
	
	
	
js();


function add_vpn_js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{ADD_CONNEXION}");
	if($_GET["name"]<>null){
		$title=base64_decode($_GET["name"]);
	}