From 1399d45c68e7d14fc1f3e8f2b5451669cce4ffa4 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Thu, 29 Nov 2012 15:00:11 -0800 Subject: Lots of fixes and changes. nofollow on login links. tutorial fix changed how $accepted works changed how $wallColor/Emblem works fixed a bug when multiple players scored at the same momment. --- includes/datas.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/datas.php') diff --git a/includes/datas.php b/includes/datas.php index fa8bfb0..f1f4377 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -5,7 +5,7 @@ include_once('db.inc.php'); //FirePHP stuff - TODO: Delete -require_once('includes/FirePHPCore/FirePHP.class.php'); +//require_once('includes/FirePHPCore/FirePHP.class.php'); //FirePHP stuff - TODO: Delete //Select Stats/Scores. @@ -719,7 +719,7 @@ function trackMOTDstats($mapType) { DATE_FORMAT(maps.dateCreated,'%Y-%m-%d') AND `mapType` = '$mapType' GROUP BY solutions.userID - ORDER BY Moves DESC, MAX(dateModified) ASC + ORDER BY Moves DESC, MAX(dateModified) ASC, solutions.ID DESC "; $mainResult = mysql_query($sql); @@ -804,7 +804,7 @@ function getScores($mapid, $pageNumber = 1, $pageDivide = 10) { LEFT JOIN `userData` ON users.ID = userData.userID WHERE solutions.mapID = '$mapid' - ORDER BY solutions.moves DESC, solutions.dateModified ASC + ORDER BY solutions.moves DESC, solutions.dateModified ASC, solutions.ID DESC "; $result = mysql_query($sql); //$utime = date("g:i A (T)"); -- cgit v1.2.3