From df71da70062b9f70d9906fa7df7350d47be79acc Mon Sep 17 00:00:00 2001 From: raylu Date: Wed, 25 Apr 2012 23:19:52 -0700 Subject: add tutorial and map difficulty tracking --- pages/home.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pages/home.php') diff --git a/pages/home.php b/pages/home.php index 71bcd33..45911c5 100644 --- a/pages/home.php +++ b/pages/home.php @@ -152,7 +152,7 @@ function displayMaze($motd, $mapType) { //data for the topscores $topscores = topScores($motd['id'], 30); - $topscorediv = "
Update
\n$topscores\n
"; + $topscorediv = "
\n$topscores\n
"; $userID = $_SESSION['userID']; if ($_SESSION['accepted'] == 1) { @@ -266,10 +266,10 @@ function showStats(type) { elem.className += 'selected'; var x = 0; - for(var mapid in jsonmapdata) { + for(var mapid in jsonmapdata) { x++; if (x == type) - updateScoresReq(mapid); + updateScoresReq(mapid, type); } } showStats(1); @@ -281,4 +281,4 @@ showStats(1); \ No newline at end of file +?> -- cgit v1.2.3