Пример #1
0
    exit;
}
if (isset($_GET["PostfixDeleteInterface"])) {
    PostfixDeleteInterface();
    exit;
}
if (isset($_GET["ignore_mx_lookup_error"])) {
    SaveDNSSettings();
    exit;
}
if (isset($_GET["bind9infos"])) {
    echo bind9infos();
    exit;
}
if (isset($_GET["script"])) {
    switch_script();
    exit;
}
if (isset($_GET["popup"])) {
    switch_popup();
    exit;
}
if (isset($_GET["PostfixEnabledInBind9"])) {
    bind9_save_enable();
    exit;
}
if (isset($_GET["bind9Options"])) {
    bind9_form();
    exit;
}
if (isset($_GET["PostfixBind9Delete"])) {
Пример #2
0
if(isset($_GET["main"])){switch_popup();exit;}
if($_GET["section"]=="BindInterfaceForm"){echo BindInterfaceForm();exit;}
if($_GET["section"]=="networkint"){echo NetworkInterfacesForm();exit;}
if(isset($_GET["ReloadInterfaceTable"])){echo BindInterfaceTable();exit;}
if(isset($_GET["ReloadNetworkTable"])){echo mynetworks_table();exit;}


if(isset($_GET["POSTFIX_MULTI_INSTANCE_JS"])){POSTFIX_MULTI_INSTANCE_JS();exit;}
if(isset($_GET["EnablePostfixMultiInstance"])){POSTFIX_MULTI_INSTANCE_SAVE();exit;}
if(isset($_GET["inet_interface_add"])){inet_interface_add();exit;}
if(isset($_GET["PostfixAddMyNetwork"])){PostfixAddMyNetwork();exit;}
if(isset($_GET["PostFixDeleteMyNetwork"])){PostFixDeleteMyNetwork();exit;}
if(isset($_GET["PostfixDeleteInterface"])){PostfixDeleteInterface();exit;}
if(isset($_GET["ignore_mx_lookup_error"])){SaveDNSSettings();exit;}
if(isset($_GET["bind9infos"])){echo bind9infos();exit;}
if(isset($_GET["script"])){switch_script();exit;}
if(isset($_GET["popup"])){switch_popup();exit;}
if(isset($_GET["PostfixEnabledInBind9"])){bind9_save_enable();exit;}
if(isset($_GET["bind9Options"])){bind9_form();exit;}
if(isset($_GET["PostfixBind9Delete"])){bind9_delete();exit;}
if(isset($_GET["PostfixBind9NameServer"])){bind9_add();exit;}
if(isset($_GET["ajax"])){ajax();exit;}
if(isset($_GET["ajax-popup"])){popup();exit;}


if(isset($_GET["smtp_bind_address6"])){ipv6_save();exit;}
page();	

function ajax(){
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{postfix_network}");
Пример #3
0
include_once "ressources/class.user.inc";
include_once "ressources/class.computers.inc";
if (isset($_POST["server_name"])) {
    main_save_server();
    exit;
}
if (isset($_POST["add_computer"])) {
    main_add_computer();
    exit;
}
if (isset($_POST["root_password"])) {
    main_save_root();
    exit;
}
if (isset($_GET["script"])) {
    echo switch_script();
    exit;
}
if (isset($_GET["main"])) {
    echo switch_main();
    exit;
}
$users = new usersMenus();
if ($users->AsArticaAdministrator == false) {
    die;
}
function switch_script()
{
    switch ($_GET["script"]) {
        case "domain":
            echo scripts_pdc();