예제 #1
0
    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($_POST["EnableDHCPServer"])) {
    dhcp_enable_save();
    exit;
}
if (isset($_GET["AsGatewayForm"])) {
예제 #2
0
	}
if(isset($_GET["script"])){index_script();exit;}
if(isset($_GET["index_popup"])){index_page();exit;}


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();