コード例 #1
0
    exit;
}
if (isset($_GET["forwarder_delete"])) {
    forwarder_delete();
    exit;
}
if (isset($_GET["zone_save"])) {
    SaveZoneConfig();
    exit;
}
if (isset($_GET["zone-hosts-list"])) {
    echo zone_hosts_lits($_GET["zone-hosts-list"]);
    exit;
}
if (isset($_GET["search-hosts"])) {
    echo zone_hosts_lits($_GET["zone"]);
    exit;
}
if (isset($_GET["show-zones"])) {
    echo main_zones_list();
    exit;
}
if (isset($_GET["AddNewDnsZone"])) {
    AddNewDnsZone();
    exit;
}
if (isset($_GET["status"])) {
    echo main_status();
    exit;
}
if (isset($_GET["zone_delete"])) {
コード例 #2
0
ファイル: index.bind9.php プロジェクト: brucewu16899/artica
function main_zone_hosts()
{
    $tab = main_zone_tabs();
    $zone = $_GET["zone"];
    $html = "{$tab}<H3>{$_GET["zone"]} {hosts}</H3>\n\t<input type='hidden' id='search_explain' value='{search_explain}'>\n\t<input type='hidden' id='zone_org' value='{$zone}'>\n\t<table style='width:100%'>\n\t<tr>\n\t\t<td valign='top'><div id='bind9_hosts_list'>" . zone_hosts_lits($zone) . "</div></td>\n\t\t<td valign='top' width=1%>\n\t\t\t<table style='width:100%'>\n\t\t\t<tr>\n\t\t\t\t<td>\n\t\t\t\t" . RoundedLightGrey(Paragraphe("computers-64.png", "{search_computer}", "{search_computer_text}", "javascript:SearchDnsConputer();")) . "<br>\n\t\t\t\t" . RoundedLightGrey(Paragraphe("computer-64-add.png", "{add_computer}", "{add_computer_text}", "javascript:YahooWin2(670,\"domains.edit.user.php?userid=newcomputer\$&ajaxmode=yes&gpid={$gpid}&zone-name={$zone}\",\"windows: New {add_computer}\");")) . "\n\t\t\t\t\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t</table>\n\t \t</td>\n\t</tr>\n</table>\n";
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body($html, 'domains.edit.group.php');
}