Beispiel #1
0
        $tpl = new templates();
        echo $tpl->_ENGINE_parse_body("alert('{ERROR_NO_PRIVS}');");
        die;
        exit;
    }
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["popup-dn"])) {
    popup_dn();
    exit;
}
if (isset($_GET["AddAssociatedDomain"])) {
    AddPointerDc();
    exit;
}
if (isset($_GET["DelAssociatedDomain"])) {
    DelPointerDC();
    exit;
}
if (isset($_GET["RefreshDNSList"])) {
    echo dnslist();
    exit;
}
if (isset($_GET["popup-add-dns"])) {
    echo popup_adddns();
    exit;
}
if (isset($_GET["SaveDNSEntry"])) {
Beispiel #2
0
if(isset($_GET["popup-dn"])){popup_dn_tabs();exit;}
if(isset($_GET["record"])){popup_record();exit;}

if(isset($_GET["mx"])){popup_mx();exit;}
if(isset($_GET["mx-record-list"])){popup_mx_list();exit;}
if(isset($_GET["mx-records-list"])){popup_mx_records();exit;}
if(isset($_GET["delete-mx-record"])){popup_mx_delete();exit;}
if(isset($_GET["add-mx-record"])){popup_mx_save();exit;}

if(isset($_GET["ns-record-field"])){popup_ns_field();exit;}
if(isset($_GET["ns-records-list"])){popup_ns_list();exit;}
if(isset($_GET["add-ns-record"])){popup_ns_save();exit;}
if(isset($_GET["aRecord-soa"])){popup_arecord_edit();exit;}

if(isset($_GET["AddAssociatedDomain"])){AddPointerDc();exit;}
if(isset($_GET["DelAssociatedDomain"])){DelPointerDC();exit;}
if(isset($_GET["RefreshDNSList"])){echo dnslist();exit;}
if(isset($_GET["popup-add-dns"])){echo popup_adddns();exit;}
if(isset($_GET["SaveDNSEntry"])){AddDNSEntry();exit;}
if(isset($_GET["DelDNSEntry"])){DelDNSEntry();exit;}
if(isset($_GET["DisablePowerDnsManagement"])){DisablePowerDnsManagement();exit;}
if(isset($_GET["EnablePDNS"])){EnablePDNS();exit;}
if(isset($_GET["PowerDNSLogsQueries"])){SaveLogsSettings();exit;}
if(isset($_GET["PDNSRestartIfUpToMB"])){PDNSRestartIfUpToMB();exit;}
if(isset($_POST["PowerDNSMySQLEngine"])){PowerDNSMySQLEngine();exit;}

js();

function AddPointerDc(){
	$dn=$_GET["AddAssociatedDomain"];