Ejemplo n.º 1
0
if(isset($_GET["nic-builder"])){zlistnics_builder();exit;}
if(isset($_GET["js-virtual-add"])){virtual_js_add();exit;}
if(isset($_POST["RebuildMyNic"])){RebuildMyNic();exit;}
if(isset($_POST["OVHNetConfig"])){OVHNetConfig();exit;}
if(isset($_GET["default-route-status"])){DefaultRouteStatus();exit;}


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;}
Ejemplo n.º 2
0
    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"])) {