$stats_menu[$GLOBALS['language']['transfers']['write_logs']] = $_SERVER['PHP_SELF'] . '?section=write_logs'; $stats_menu[$GLOBALS['language']['transfers']['delete_logs']] = $_SERVER['PHP_SELF'] . '?section=delete_logs'; doMenu($stats_menu); echo '<br><br>'; if (isset($_GET["section"]) and $_GET["section"] == "statistics") { make_traffic_time($GLOBALS['language']['transfers']['traffic_stats'], "total"); } 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&'); } 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);
} $user_menu["<spacer>"] = ''; $user_menu[$GLOBALS['language']['userv']['deleteuser']] = $_SERVER['PHP_SELF'] . '?viewID=' . $_GET["viewID"] . '&section=delete'; doMenu($user_menu); unset($user_menu); echo '<br><br>'; if (isset($_GET["section"]) and $_GET["section"] == "alter") { 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"] . '&section=transferlog&', $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") {