From 748a984d7e914d2211175d95e564c6f56e566f6e Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sat, 18 Aug 2012 00:24:27 -0700 Subject: Bugs, timezone. This server should remain using the New_York timezone. Maps start at 9, not 12! Fixed a bug where default displaycolor was not being used. Fixed a bug where the user would not be logged in instantly. --- globe.php | 4 +++- index.php | 4 ++++ pages/home.php | 31 ------------------------------- pages/memberlist.php | 7 +++---- 4 files changed, 10 insertions(+), 36 deletions(-) diff --git a/globe.php b/globe.php index 22e455f..2764b4f 100644 --- a/globe.php +++ b/globe.php @@ -1,5 +1,5 @@ diff --git a/pages/memberlist.php b/pages/memberlist.php index 191bfa5..a250cb6 100644 --- a/pages/memberlist.php +++ b/pages/memberlist.php @@ -54,7 +54,6 @@ if (isset($_GET['o'])) { $sql = "SELECT users.ID, users.displayName, - userData.displayColor, (SELECT SUM(moves) FROM solutions WHERE solutions.userID = users.ID) AS totalMoves, (SELECT SUM(moves) FROM solutions WHERE solutions.userID = users.ID AND @@ -127,7 +126,7 @@ foreach ($cat as $name => $item) { //Echo Table Data $i = 0; -while (list($userID, $display, $displayColor, $moveCount, $moveCountWeek, $mazeCount, $winCount, $tieCount, $wallColor, $nameColor, $wallEmblem, $joined, $lastLogon) = mysql_fetch_row($result)) { +while (list($userID, $display, $moveCount, $moveCountWeek, $mazeCount, $winCount, $tieCount, $wallColor, $nameColor, $wallEmblem, $joined, $lastLogon) = mysql_fetch_row($result)) { //Prepare data $i++; @@ -150,7 +149,7 @@ while (list($userID, $display, $displayColor, $moveCount, $moveCountWeek, $mazeC $background = '#343c57'; echo " - + $i
@@ -158,7 +157,7 @@ while (list($userID, $display, $displayColor, $moveCount, $moveCountWeek, $mazeC
- $display + $display $mazeCount $moveCount -- cgit v1.2.3