From 4b470911a5086ab9d2b648a134e447524b2f4747 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Mon, 26 Nov 2012 22:00:22 -0800 Subject: Added badge near username. --- pages/home.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'pages') diff --git a/pages/home.php b/pages/home.php index 4f69d67..50d3952 100644 --- a/pages/home.php +++ b/pages/home.php @@ -11,22 +11,22 @@ include_once ('./includes/mapoftheday.php'); include_once ('./includes/db.inc.php'); include_once ('./includes/datas.php'); -//Get custom wall colors; -$wallColor = ''; -$wallEmblem = ''; + $noteScript = ''; if ($accepted) { $userID = $_SESSION['userID']; - $sql = " - SELECT - userData.wallColor, - userData.wallEmblem - FROM `userData` - WHERE userID = '$userID' "; - $result = mysql_query($sql); - if ($result) - list($wallColor, $wallEmblem) = mysql_fetch_row($result); + // $sql = " + // SELECT + // userData.wallColor, + // userData.wallEmblem + // FROM `userData` + // WHERE userID = '$userID' "; + // $result = mysql_query($sql); + // if ($result) + // list($wallColor, $wallEmblem) = mysql_fetch_row($result); + //global $wallColor; + //echo ": Wallcolor: $wallColor :" ; //$note = getNotified($userID); $note = false; -- cgit v1.2.3