From e4584227ecbc6840fdbc09f7e3e0540d8da3fb24 Mon Sep 17 00:00:00 2001 From: Squigs44 <96dwilliams@gmail.com> Date: Wed, 17 Apr 2019 23:18:17 -0600 Subject: [PATCH] Added Rankings for Active --- halloffame.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/halloffame.php b/halloffame.php index 98a14d37d..b053ebb07 100755 --- a/halloffame.php +++ b/halloffame.php @@ -94,16 +94,22 @@ print ''; print ''; -print ''; +print ''; print'
'.l_t('You are ranked %s out of all players with over 100%s who have been active in the last six months.','#'.$position.'',libHTML::points()). + l_t('. For more stats on your ranking visit your profile.').'
'; +} $i=1; -$sixMonths = time() - 15552000; -$crashed = $DB->sql_tabl("SELECT id, username, points FROM wD_Users where timeLastSessionEnded > ".$sixMonths." order BY points DESC LIMIT 100 "); +$crashed = $DB->sql_tabl("SELECT id, username, points FROM wD_Users WHERE timeLastSessionEnded > ".$sixMonths." order BY points DESC LIMIT 100 "); print "