mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-14 11:26:26 +00:00
Empty commit
This commit is contained in:
parent
e7f3af4802
commit
aac6367e5c
@ -112,7 +112,7 @@ function next_hour() {
|
|||||||
//------------- Front page stats ----------------------------------------//
|
//------------- Front page stats ----------------------------------------//
|
||||||
|
|
||||||
//Love or hate, this makes things a hell of a lot faster
|
//Love or hate, this makes things a hell of a lot faster
|
||||||
if ($Hour%2 == 0) {
|
if ($Hour%6 == 0) {
|
||||||
$DB->query("SELECT COUNT(uid) AS Snatches FROM xbt_snatched");
|
$DB->query("SELECT COUNT(uid) AS Snatches FROM xbt_snatched");
|
||||||
list($SnatchStats) = $DB->next_record();
|
list($SnatchStats) = $DB->next_record();
|
||||||
$Cache->cache_value('stats_snatches',$SnatchStats,0);
|
$Cache->cache_value('stats_snatches',$SnatchStats,0);
|
||||||
|
@ -255,7 +255,7 @@ function check_paranoia_here($Setting) {
|
|||||||
$ArtistsAdded = 0;
|
$ArtistsAdded = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
include(SERVER_ROOT.'/classes/class_user_rank.php');
|
/*include(SERVER_ROOT.'/classes/class_user_rank.php');
|
||||||
$Rank = new USER_RANK;
|
$Rank = new USER_RANK;
|
||||||
|
|
||||||
$UploadedRank = $Rank->get_rank('uploaded', $Uploaded);
|
$UploadedRank = $Rank->get_rank('uploaded', $Uploaded);
|
||||||
@ -273,7 +273,7 @@ function check_paranoia_here($Setting) {
|
|||||||
} else {
|
} else {
|
||||||
$Ratio = round($Uploaded/$Downloaded, 2);
|
$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">
|
<div class="box">
|
||||||
|
Loading…
Reference in New Issue
Block a user