diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2012-11-29 15:00:11 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2012-11-29 15:00:11 -0800 |
commit | 1399d45c68e7d14fc1f3e8f2b5451669cce4ffa4 (patch) | |
tree | ab28080501f9dc8e4ffdc29742f45e2acf3fdcbf /includes/datas.php | |
parent | 23b7ddabd4c2c6286a9b3ef0791befbc6f4ef89f (diff) | |
download | pathery-1399d45c68e7d14fc1f3e8f2b5451669cce4ffa4.tar.xz |
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.
Diffstat (limited to 'includes/datas.php')
-rw-r--r-- | includes/datas.php | 6 |
1 files changed, 3 insertions, 3 deletions
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)"); |