Exemplo n.º 1
0
if(isset($_GET["BuildNetConf"])){BuildNetConf();exit;}
if($_GET["main"]=="listnics"){zlistnics_tabs();exit;}
if($_GET["main"]=="listnics2"){zlistnics();exit;}
if($_GET["main"]=="virtuals"){Virtuals();exit;}
if($_GET["main"]=="bridges"){Bridges();exit;}
if($_GET["main"]=="DNSServers"){DNS_SERVERS_POPUP();exit;}
if(isset($_POST["DOMAINS1"])){DNS_SERVERS_SAVE();exit;}

if(isset($_GET["NetworkManager-check"])){NetworkManager_check();exit;}



if(isset($_POST["CheckIpV4ToIp26"])){CheckIpV4ToIp26();exit;}
if(isset($_GET["virtuals-list"])){virtuals_list();exit;}
if(isset($_GET["virt-ipaddr"])){virtuals_add();exit;}
if(isset($_POST["virt-ipv6"])){virtuals_addv6();exit;}
if(isset($_GET["virt-del"])){virtuals_del();exit;}

if(isset($_GET["script"])){switch_script();exit;}

if(isset($_GET["netconfig"])){netconfig_popup();exit;}

if(isset($_GET["change-hostname-js"])){ChangeHostName_js();exit;}
if(isset($_GET["hostname"])){hostname();exit;}
if(isset($_GET["ChangeHostName"])){ChangeHostName();exit;}

if(isset($_GET["AddDNSServer"])){AddDNSServer();exit;}
if(isset($_GET["DeleteDNS"])){DeleteDNS();exit;}
if(isset($_GET["DNSServers"])){DNS_SERVERS_POPUP();}
if(isset($_GET["DNSServers-list"])){DNS_SERVERS_POPUP_LIST();}
Exemplo n.º 2
0
    exit;
}
if (isset($_POST["CheckIpV4ToIp26"])) {
    CheckIpV4ToIp26();
    exit;
}
if (isset($_GET["virtuals-list"])) {
    virtuals_list();
    exit;
}
if (isset($_GET["virt-ipaddr"])) {
    virtuals_add();
    exit;
}
if (isset($_POST["virt-ipv6"])) {
    virtuals_addv6();
    exit;
}
if (isset($_GET["virt-del"])) {
    virtuals_del();
    exit;
}
if (isset($_GET["script"])) {
    switch_script();
    exit;
}
if (isset($_GET["netconfig"])) {
    netconfig_popup();
    exit;
}
if (isset($_GET["change-hostname-js"])) {