Exemplo n.º 1
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "yes":
            main_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "syncevents":
            main_sync();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "apacheconf":
            echo main_httpdconf();
            exit;
            break;
        default:
            break;
    }
}
function main_switch()
{
    switch ($_GET["main"]) {
        case "yes":
            greylist_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "acl":
            main_acl();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "dnsrbl":
            echo main_dnsrbl();
            exit;
        default:
            break;
    }
}
Exemplo n.º 3
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "status":
            main_status();
            exit;
            break;
        case "settings":
            main_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "trusted_networks":
            main_trusted_networks();
            exit;
            break;
        case "trusted_networks_list":
            echo main_trusted_networks_list();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "plugins":
            echo main_plugins();
            exit;
        default:
            break;
    }
}
Exemplo n.º 4
0
function main_switch()
{
    cookies_main();
    switch ($_GET["main"]) {
        case "yes":
            postfix_plugins_main();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "connections":
            postfix_plugins_main_connection();
            exit;
            break;
        case "antispam":
            postfix_plugins_main_antispam();
            exit;
            break;
        case "antivirus":
            postfix_plugins_main_antivirus();
            exit;
            break;
        case "mailbox":
            postfix_plugins_main_mailbox();
            exit;
            break;
        default:
            break;
    }
}
Exemplo n.º 5
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "index":
            index();
            exit;
            break;
        case "yes":
            ntpd_main_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "syncevents":
            main_sync();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "ntpdconf":
            echo main_ntpdconf();
            exit;
            break;
        case "server_list":
            echo main_server_list();
            exit;
            break;
        default:
            break;
    }
}
Exemplo n.º 6
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "yes":
            main_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "fqdn":
            main_wl_fqdn();
            exit;
            break;
        case "ipwl":
            main_wl_ip();
            exit;
            break;
        case "ipwl_list":
            echo main_wl_ip_list();
            exit;
            break;
        case "fqdn_list":
            echo main_wl_fqdn_list();
            exit;
        default:
            break;
    }
}
Exemplo n.º 7
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "yes":
            main_smb_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "shared_folders":
            shared_folders();
            exit;
            break;
        case "trusted_networks_list":
            echo main_trusted_networks_list();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "index-back":
            echo "<script>Loadjs('fileshares.index.php?js=yes');</script>";
            break;
        case "plugins":
            echo main_plugins();
            exit;
        case "kav4samba":
            echo main_kav4samba();
            exit;
        default:
            main_smb_config();
            break;
    }
}
Exemplo n.º 8
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "yes":
            main_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "bad_exts":
            main_bad_exts();
            exit;
            break;
        case "disclaimer":
            echo main_disclaimer();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "plugins":
            echo main_plugins();
            exit;
            break;
        case "discladdress":
            echo main_disclaimer_ips();
            exit;
            break;
        case "mysql":
            echo main_statistics();
            exit;
            break;
        default:
            break;
    }
}
Exemplo n.º 9
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "yes":
            main_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "syncevents":
            main_sync();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "iptablesconf":
            echo main_iptablesconf();
            exit;
            break;
        case "enablesec":
            echo main_enable();
            exit;
            break;
        case "rulestable":
            echo main_rules_list();
            exit;
            break;
        case "iptablescurrules":
            echo main_iptables_current_rules();
            exit;
        case "nic":
            echo main_rules_list();
            exit;
            break;
        default:
            break;
    }
}
Exemplo n.º 10
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "yes":
            main_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "disk_retranslation":
            main_disk_retranslation();
            exit;
            break;
        case "refresh_disk_list":
            echo main_disks_discover();
            exit;
            break;
        case "selected_disk_list":
            echo selected_disk_list();
            exit;
            break;
        case "nic":
            echo main_rules_list();
            exit;
            break;
        case "select-disk":
            echo main_select_disk();
            exit;
            break;
        case "dar_status":
            echo dar_status();
            exit;
            break;
        case "dar_query":
            echo dar_search_files();
            exit;
            break;
        case "BrowseDareContener":
            echo dar_conteners();
            exit;
            break;
        case "dar_file_info":
            echo dar_file_info();
            exit;
            break;
        case "persopath":
            echo main_disk_persopath_list();
            exit;
            break;
        case "share_list":
            echo main_share_retranslation_list();
            exit;
            break;
        case "share_retranslation":
            echo main_share_retranslation();
            exit;
            break;
        case "networks_shares":
            echo main_share_retranslation_list_shares();
            break;
        default:
            break;
    }
}
Exemplo n.º 11
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "popup-status":
            popup_status();
            exit;
            break;
        case "options":
            popup_options();
            exit;
            break;
        case "options2":
            popup_options2();
            exit;
            break;
        case "yes":
            main_config();
            exit;
            break;
        case "tools":
            echo main_tools();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "cyrquota":
            echo main_cyrquota();
            exit;
            break;
        case "cyrusconf":
            echo main_cyrusconf();
            exit;
            break;
        case "mailboxes":
            echo main_mailboxes();
            exit;
            break;
        case "js_rebuild":
            echo js_rebuild();
            exit;
            break;
        case "cyrreconstruct":
            echo popup_cyrreconstruct();
            exit;
            break;
        case "cyrreconstruct_status":
            echo cyrreconstruct_status();
            exit;
            break;
        default:
            main_cyrusconf();
            break;
    }
}
Exemplo n.º 12
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "yes":
            main_smb_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "shared_folders":
            shared_folders();
            exit;
            break;
        case "trusted_networks_list":
            echo main_trusted_networks_list();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "plugins":
            echo main_plugins();
            exit;
        case "kav4samba":
            echo main_kav4samba();
            exit;
        default:
            main_smb_config();
            break;
    }
}
Exemplo n.º 13
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "rules":
            main_config();
            exit;
            break;
        case "ruleslist":
            echo main_rules_list();
            exit;
            break;
        case "yes":
            main_config();
            exit;
            break;
        case "logs":
            main_logs();
            exit;
            break;
        case "conf":
            echo main_conf();
            exit;
            break;
        case "cyrquota":
            echo main_cyrquota();
            exit;
            break;
        case "cyrusconf":
            echo main_cyrusconf();
            exit;
            break;
        default:
            main_config();
            break;
    }
}