Empty commit

This commit is contained in:
Git 2011-11-11 08:00:13 +00:00
parent 33a4db21d6
commit 7d61173d76
2 changed files with 4 additions and 4 deletions

View File

@ -129,14 +129,14 @@ function header_link($SortKey,$DefaultWay="DESC") {
if(!check_paranoia('seeding', $User['Paranoia'], $UserClass, $UserID)) { error(403); }
$Time = '(unix_timestamp(now()) - xfu.timespent)';
$UserField = 'xfu.uid';
$ExtraWhere = 'AND xfu.Remaining=0';
$ExtraWhere = 'AND xfu.active=1 AND xfu.Remaining=0';
$From = "xbt_files_users AS xfu JOIN torrents AS t ON t.ID=xfu.fid";
break;
case 'leeching':
if(!check_paranoia('leeching', $User['Paranoia'], $UserClass, $UserID)) { error(403); }
$Time = '(unix_timestamp(now()) - xfu.timespent)';
$UserField = 'xfu.uid';
$ExtraWhere = 'AND xfu.Remaining>0';
$ExtraWhere = 'AND xfu.active=1 AND xfu.Remaining>0';
$From = "xbt_files_users AS xfu JOIN torrents AS t ON t.ID=xfu.fid";
break;
case 'uploaded':

View File

@ -255,7 +255,7 @@ function check_paranoia_here($Setting) {
$ArtistsAdded = 0;
}
/*include(SERVER_ROOT.'/classes/class_user_rank.php');
include(SERVER_ROOT.'/classes/class_user_rank.php');
$Rank = new USER_RANK;
$UploadedRank = $Rank->get_rank('uploaded', $Uploaded);
@ -273,7 +273,7 @@ function check_paranoia_here($Setting) {
} else {
$Ratio = round($Uploaded/$Downloaded, 2);
}
$OverallRank = $Rank->overall_score($UploadedRank, $DownloadedRank, $UploadsRank, $RequestRank, $PostRank, $BountyRank, $ArtistsRank, $Ratio);*/
$OverallRank = $Rank->overall_score($UploadedRank, $DownloadedRank, $UploadsRank, $RequestRank, $PostRank, $BountyRank, $ArtistsRank, $Ratio);
?>
<div class="box">