mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
Empty commit
This commit is contained in:
parent
33a4db21d6
commit
7d61173d76
@ -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':
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user