query(" SELECT SQL_CALC_FOUND_ROWS um.ID, um.Username, uls.Uploaded, uls.Downloaded, um.PermissionID, um.Enabled, i.Donor, i.Warned, i.JoinDate, i.RatioWatchEnds, i.RatioWatchDownload, um.RequiredRatio FROM users_main AS um INNER JOIN users_leech_stats AS uls ON (uls.UserID = um.ID) INNER JOIN users_info AS i ON (i.UserID = um.ID) WHERE i.RatioWatchEnds > now() AND um.Enabled = '1' ORDER BY i.RatioWatchEnds ASC LIMIT $Limit"); $DB->query('SELECT FOUND_ROWS()'); list($Results) = $DB->next_record(); $DB->query(" SELECT COUNT(UserID) FROM users_info WHERE BanDate IS NOT NULL AND BanReason = '2'"); list($TotalDisabled) = $DB->next_record(); $DB->set_query_id($RS); ?>
There are currently =number_format($Results)?> enabled users on Ratio Watch and =number_format($TotalDisabled)?> already disabled.
| User | Uploaded | Downloaded | Ratio | Required Ratio | Deficit | Gamble | Registration Date | Ratio Watch Ended/Ends | Lifespan |
| =Users::format_username($UserID, true, true, true, true)?> | =Format::get_size($Uploaded)?> | =Format::get_size($Downloaded)?> | =Format::get_ratio_html($Uploaded, $Downloaded)?> | =number_format($RequiredRatio, 2)?> | $Uploaded) { echo Format::get_size(($Downloaded * $RequiredRatio) - $Uploaded);} ?> | =Format::get_size($Downloaded - $RatioWatchDownload)?> | =time_diff($Joined, 2)?> | =time_diff($RatioWatchEnds)?> |