Пример #1
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;
    }
}
Пример #2
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;
    }
}
Пример #3
0
function switch_main()
{
    switch ($_GET["main"]) {
        case "main":
            break;
        default:
            main_config();
            exit;
            break;
    }
}
Пример #4
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "index":
            main_index();
            exit;
            break;
        case "yes":
            main_config();
            exit;
            break;
        case "http_engine":
            main_config();
            exit;
            break;
        case "components":
            main_components();
            exit;
            break;
        case "Update_sites_info":
            main_Update_sites_info();
            exit;
            break;
        case "events":
            main_events();
            exit;
            break;
        default:
            break;
    }
}
Пример #5
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "index":
            index();
            exit;
            break;
        case "artica_process":
            main_config();
            exit;
            break;
        default:
            break;
    }
}
Пример #6
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;
    }
}
Пример #7
0
function main_switch(){
	
	if(isset($_GET["ajaxmenu"])){echo "<div id='squid_main_config'>";}
	
	switch ($_GET["main"]) {
		case "index":echo main_index();break;
		case "yes":echo main_config();break;
		case "filters":echo main_filter();break;
		case "cache":echo main_cache();break;
		case "events":echo main_events_tabs();break;
		case "icons-events":echo main_events();break;
		
		default:echo main_config();break;
	}
	
	if(isset($_GET["ajaxmenu"])){echo "</div>";}
	
}
Пример #8
0
    exit;
}
if (isset($_GET["main"])) {
    main_panel();
    exit;
}
if (isset($_POST["step1"])) {
    SaveSettings();
    exit;
}
if (isset($_GET["import"])) {
    main_import();
    exit;
}
if (isset($_GET["ad-settings"])) {
    main_config();
    exit;
}
if (isset($_GET["FindBranch"])) {
    FindBranch();
    exit;
}
if (isset($_GET["ad-filter"])) {
    main_filters();
    exit;
}
if (isset($_GET["AccountLess3Carac"])) {
    main_filters_save();
    exit;
}
if (isset($_GET["ad-schedule"])) {
Пример #9
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;
    }
}
Пример #10
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;
    }
}
Пример #11
0
function main_switch()
{
    if (!isset($_GET["tab"])) {
        $_GET["tab"] = "status";
    }
    if ($_GET["hostname"] == null) {
        $users = new usersMenus();
        $_GET["hostname"] = $users->hostname;
    }
    switch ($_GET["tab"]) {
        case "forwarders-list":
            echo Forwarders_list();
            exit;
            break;
        case "config":
            echo main_config();
            exit;
            break;
        case "dns-zones":
            echo main_zones();
            exit;
            break;
        case "zone-edit":
            echo main_zone_edit();
            exit;
            break;
        case "zone-explain":
            echo main_zone_explain();
            exit;
            break;
        case "stats":
            echo main_statistics();
            exit;
            break;
        default:
            main();
            exit;
            break;
    }
}
Пример #12
0
function main_switch()
{
    switch ($_GET["main"]) {
        case "yes":
            main_config();
            exit;
            break;
        default:
            break;
    }
}
Пример #13
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;
    }
}
Пример #14
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;
    }
}
Пример #15
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;
    }
}