Beispiel #1
0
    exit;
}
if (isset($_GET["port-popup"])) {
    port_popup();
    exit;
}
if (isset($_GET["delete-virtual-js"])) {
    delete_virtual_js();
    exit;
}
if (isset($_POST["delete-virtual-perform"])) {
    delete_virtual_perform();
    exit;
}
if (isset($_GET["ports-list"])) {
    main_switch_ports();
    exit;
}
if (isset($_GET["switch-ports-table"])) {
    main_switch();
    exit;
}
if (isset($_POST["ipaddr"])) {
    port_save();
    exit;
}
if (isset($_POST["Uninstall"])) {
    Uninstall();
    exit;
}
if (isset($_POST["VirtualSwitchEnabled"])) {
Beispiel #2
0
	if(isset($_GET["switch-status"])){switch_status();exit;}
	if(isset($_GET["MainParams-js"])){MainParams_js();exit;}
	if(isset($_GET["MainParams-tab"])){MainParams_tab();exit;}
	if(isset($_GET["MainParams-popup"])){MainParams_popup();exit;}
	
	
	if(isset($_GET["port-js"])){port_js();exit;}
	if(isset($_GET["port-tab"])){port_tab();exit;}
	if(isset($_GET["port-popup"])){port_popup();exit;}
	
	
	
	if(isset($_GET["delete-virtual-js"])){delete_virtual_js();exit;}
	if(isset($_POST["delete-virtual-perform"])){delete_virtual_perform();exit;}
	
	if(isset($_GET["ports-list"])){main_switch_ports();exit;}
	if(isset($_GET["switch-ports-table"])){main_switch();exit;}
	if(isset($_POST["ipaddr"])){port_save();exit;}
	if(isset($_POST["Uninstall"])){Uninstall();exit;}
	
	if(isset($_POST["VirtualSwitchEnabled"])){VirtualSwitchEnabled();exit;}
	
	
tabs();


function main_switch_status(){
	$switch=$_GET["eth"];
	$tpl=new templates();
	$sock=new sockets();
	$datas=$sock->getFrameWork("vde.php?switch-main-status=$switch");