From 7d2ce170b02d3fa0f7006084c92f6ec56dfbf9f1 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Tue, 15 May 2012 11:20:40 -0700 Subject: Pronoun adjustment, and other minor fixes. --- includes/datas.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'includes/datas.php') diff --git a/includes/datas.php b/includes/datas.php index 86fbb54..3ac6984 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -5,7 +5,7 @@ include_once('db.inc.php'); //Select Stats/Scores. -function topScores($mapid, $top = 5) { +function topScores($mapid, $top = 5, $bottom = 0) { $sql = " SELECT timediff(solutions.dateModified, TIMESTAMP(CURDATE())) as diff, @@ -24,7 +24,7 @@ function topScores($mapid, $top = 5) { ON users.ID = userData.userID WHERE solutions.mapID = '$mapid' ORDER BY solutions.moves DESC, solutions.dateModified ASC - LIMIT $top + LIMIT $bottom, $top "; $result = mysql_query($sql); $utime = date("g:i A (T)"); @@ -492,6 +492,7 @@ function getMazeMasteryArray() { $r[6] = array(75, 2, 'CrossXL_B.png', 'Dark Large Present', 0); $r[7] = array(100, 2, 'CircleLargeDonut_W.png', 'Light Annulated Circle', 0); $r[8] = array(150, 2, 'CrossXL_W_I.png', 'Inverted Bright Large Present', 0); + $r[9] = array(225, 2, 'CircleLarge_W_I.png', 'Inverted Bright Large Circle', 0); return $r; } -- cgit v1.2.3