コード例 #1
0
ファイル: index.gateway.php プロジェクト: brucewu16899/1.6.x
    exit;
}
if (isset($_GET["dhcp-pxe"])) {
    echo dhcp_pxe_form();
    exit;
}
if (isset($_GET["pxe_enable"])) {
    echo dhcp_pxe_save();
    exit;
}
if (isset($_GET["SaveDHCPSettings"])) {
    dhcp_save();
    exit;
}
if (isset($_POST["EnableDHCPServer"])) {
    dhcp_enable_save();
    exit;
}
if (isset($_GET["AsGatewayForm"])) {
    echo gateway_page();
    exit;
}
if (isset($_GET["gayteway_enable"])) {
    echo gateway_enable();
    exit;
}
if (isset($_GET["EnableArticaAsGateway"])) {
    gateway_save();
    exit;
}
if (isset($_GET["popup-network-masks"])) {
コード例 #2
0
ファイル: index.gateway.php プロジェクト: rsd/artica-1.5
if(isset($_GET["dhcp-tab"])){dhcp_switch();exit;}
if(isset($_GET["dhcp-status"])){dhcp_status();exit;}



if(isset($_GET["index_dhcp"])){dhcp_index_js();exit;}
if(isset($_GET["index_dhcp_popup"])){dhcp_tabs();exit;}
if(isset($_GET["dhcp_enable_popup"])){dhcp_enable();exit;}
if(isset($_GET["dhcp_form"])){echo dhcp_form();exit;}
if(isset($_GET["dhcp-list"])){echo dhcp_computers_scripts();exit;}
if(isset($_GET["dhcp-pxe"])){echo dhcp_pxe_form();exit;}
if(isset($_GET["pxe_enable"])){echo dhcp_pxe_save();exit;}

if(isset($_GET["SaveDHCPSettings"])){dhcp_save();exit;}
if(isset($_GET["EnableDHCPServer"])){dhcp_enable_save();exit;}
if(isset($_GET["AsGatewayForm"])){echo gateway_page();exit;}
if(isset($_GET["gayteway_enable"])){echo gateway_enable();exit;}
if(isset($_GET["EnableArticaAsGateway"])){gateway_save();exit;}
if(isset($_GET["popup-network-masks"])){popup_networks_masks();exit;}
if(isset($_GET["show-script"])){dhcp_scripts();exit;}



function index_script(){
	$tpl=new templates();
	$page=CurrentPageName();
	$title=$tpl->_ENGINE_parse_body('{APP_ARTICA_GAYTEWAY}');
	$html="
		YahooWin0(550,'$page?index_popup=yes','$title');