diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2013-03-19 03:26:48 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2013-03-19 03:26:48 -0500 |
commit | b6680dd405fdf6cd2784facfe799742cfaf805ab (patch) | |
tree | e9cd81aebfc67c76053792583efb0a1fe942ff6c /index.php | |
parent | a600bd24aa5272dfd3b9f178ef9e2c81ec0525b9 (diff) | |
parent | bc57b007dfa5e6e723946143671a9db68a82f348 (diff) | |
download | pathery-b6680dd405fdf6cd2784facfe799742cfaf805ab.tar.xz |
Merge branch 'master' of git.raylu.net:pathery
Conflicts:
globe.php
pages/login.php
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -31,12 +31,12 @@ if ($accepted) { $sql = "
SELECT
users.wallColor,
- users.wallEmblem
+ users.wallEmblem,
+ users.wallOrientation
FROM `users`
WHERE ID = '$userID' ";
$result = mysql_query($sql);
- if ($result)
- list($wallColor, $wallEmblem) = mysql_fetch_row($result);
+ if ($result) list($wallColor, $wallEmblem, $wallOrientation) = mysql_fetch_row($result);
}
// Footer Links
@@ -230,6 +230,14 @@ switch ($request) { require 'pages/about.php';
}
break;
+
+ case "process":
+ if ($_SESSION['isAdmin'] == true) {
+ require 'pages/process.php';
+ } else {
+ require 'pages/about.php';
+ }
+ break;
case "massemail":
if ($_SESSION['isAdmin'] == true) {
|