Exemplo n.º 1
0
if(isset($_GET["js"])){js();exit;}
if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["popup2"])){popup2();exit;}
if(isset($_GET["popup-tabs"])){tabs();exit;}
if(isset($_GET["popup-hostname"])){tabs_hostname();exit;}

if(isset($_GET["virtual-popup-add"])){virtual_add_form();exit;}
if(isset($_GET["virtual-popup-addv6"])){virtual_add_formv6();exit;}


if(isset($_GET["cdir-ipaddr"])){virtual_cdir();exit;}
if(isset($_GET["postfix-virtual"])){virtuals_js();exit;}
if(isset($_GET["js-add-nic"])){echo virtuals_js_datas();exit;}

if(isset($_GET["bridges-add-form"])){Bridges_form_add();exit;}
if(isset($_GET["bridges-list"])){Bridges_list();exit;}
if(isset($_GET["bridge-add"])){Bridges_add();exit;}
if(isset($_GET["bridge-del"])){Bridges_del();exit;}
if(isset($_GET["bridges-rules"])){Bridges_rules();exit;}

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



function popup(){
	if(isset($_GET["newinterface"])){$fontsize="font-size:14px";$linkadd="&newinterface=yes";}	
	$page=CurrentPageName();
	$html="<div id='MasterNetworkSection'></div>
	
	<script>
		LoadAjax('MasterNetworkSection','$page?popup2=yes$linkadd');
Exemplo n.º 2
0
    exit;
}
if (isset($_GET["postfix-virtual"])) {
    virtuals_js();
    exit;
}
if (isset($_GET["js-add-nic"])) {
    echo virtuals_js_datas();
    exit;
}
if (isset($_GET["bridges-add-form"])) {
    Bridges_form_add();
    exit;
}
if (isset($_GET["bridges-list"])) {
    Bridges_list();
    exit;
}
if (isset($_GET["bridge-add"])) {
    Bridges_add();
    exit;
}
if (isset($_GET["bridge-del"])) {
    Bridges_del();
    exit;
}
if (isset($_GET["bridges-rules"])) {
    Bridges_rules();
    exit;
}
if (isset($_GET["NetWorkBroadCastAsIpAddr"])) {