예제 #1
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;
    }
}
예제 #2
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;
    }
}
예제 #3
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;
    }
}
예제 #4
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;
    }
}