示例#1
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;
    }
}
示例#2
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;
    }
}