Пример #1
0
if (isset($_GET["section"]) and $_GET["section"] == "toplist") {
    make_toplist_bycommand($GLOBALS['language']['transfers']['downloaders'], "RETR");
    echo '<br><br>';
    make_toplist_bycommand($GLOBALS['language']['transfers']['uploaders'], "STOR");
}
if (isset($_GET["section"]) and $_GET["section"] == "section") {
    make_traffic_section($GLOBALS['language']['transfers']['down_sections'], "total", "RETR");
    echo '<br><br>';
    make_traffic_section($GLOBALS['language']['transfers']['up_sections'], "total", "STOR");
}
if (isset($_GET["section"]) and $_GET["section"] == "logs") {
    $logskip = 0;
    if (isset($_GET["logskip"]) && $_GET["logskip"] != 0) {
        $logskip = $_GET["logskip"];
    }
    make_logviewer($logskip, $_SERVER['PHP_SELF'] . '?section=logs&amp;');
}
if (isset($_GET["section"]) and $_GET["section"] == "on_file") {
    if (isset($_GET['category']) && isset($_GET['file']) && verify($_GET['category'], $_GET['file'])) {
        $full_log = false;
        if (isset($_GET["full_log"]) && $_GET["full_log"] == 1) {
            $full_log = true;
        }
        viewLog('logs/' . $_GET['category'] . '/' . $_GET['file'], $full_log);
    } else {
        include 'transfers_on_file.php';
    }
}
if (isset($_GET["section"]) and $_GET["section"] == "write_logs") {
    include 'transfers_to_file.php';
}
Пример #2
0
    include 'user_view_alter.php';
}
if (isset($_GET["section"]) and $_GET["section"] == "traffic") {
    make_traffic_time($GLOBALS['language']['userv']['generated_traffic'], $res_data["userid"]);
}
if (isset($_GET["section"]) and $_GET["section"] == "section") {
    make_traffic_section($GLOBALS['language']['userv']['down_sections'], $res_data["userid"], "RETR");
    echo '<br><br>';
    make_traffic_section($GLOBALS['language']['userv']['up_sections'], $res_data["userid"], "STOR");
}
if (isset($_GET["section"]) and $_GET["section"] == "transferlog") {
    $logskip = 0;
    if (isset($_GET["logskip"]) && $_GET["logskip"] != 0) {
        $logskip = $_GET["logskip"];
    }
    make_logviewer($logskip, $_SERVER['PHP_SELF'] . '?viewID=' . $_GET["viewID"] . '&amp;section=transferlog&amp;', $res_data["userid"]);
}
if (isset($_GET["section"]) and $_GET["section"] == "password") {
    include 'user_view_password.php';
}
if (isset($_GET["section"]) and $_GET["section"] == "groups") {
    include 'user_view_groups.php';
}
if (isset($_GET["section"]) and $_GET["section"] == "expiration") {
    include 'user_view_expiration.php';
}
if (isset($_GET["section"]) and $_GET["section"] == "delete") {
    include 'user_view_delete.php';
}
if (isset($_GET["section"]) and $_GET["section"] == "quota") {
    include 'user_view_quota.php';