diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2012-11-26 22:00:22 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2012-11-26 22:00:22 -0800 |
commit | 4b470911a5086ab9d2b648a134e447524b2f4747 (patch) | |
tree | 9eb16b552ed5ffd83df3cc6cea721b02ff861af2 /pages/home.php | |
parent | 4158e556d247830832b631fd4ef869e7c8e541e5 (diff) | |
download | pathery-4b470911a5086ab9d2b648a134e447524b2f4747.tar.xz |
Added badge near username.
Diffstat (limited to 'pages/home.php')
-rw-r--r-- | pages/home.php | 24 |
1 files changed, 12 insertions, 12 deletions
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;
|