summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-05-28 15:39:43 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-05-28 15:39:43 -0700
commit7e9c0025ca4511d269274662902d638318f64027 (patch)
tree686f81622d2ce184f7085d5b7ed2bcc44e7b88cf /index.php
parent86a9c5724f14aed4ff73772a1515da97efe7b7bd (diff)
downloadpathery-7e9c0025ca4511d269274662902d638318f64027.tar.xz
Sticky Footer! moved <body> tag, renamed $Links $headerLinks.
Diffstat (limited to 'index.php')
-rw-r--r--index.php22
1 files changed, 9 insertions, 13 deletions
diff --git a/index.php b/index.php
index de4421b..08091c3 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,5 @@
<?PHP
ob_start("ob_gzhandler");
-
//Start session
if (!session_id()) session_start();
//session_regenerate_id();
@@ -75,26 +74,23 @@ $footerLinks['#top'] = "Back to Top";
//
//Links appear in order.
-$Links['home'] = "Home";
-//TODO: Delete
- //$Links['oldleaderboard'] = "Old ScorePage...";
-$Links['scores'] = "Scores";
-//$Links['challengelist'] = "Challenges <i>BETA!</i>";
-//$Links['tutorial'] = "Tutorial";
+$headerLinks['home'] = "Home";
+$headerLinks['scores'] = "Scores";
+//$headerLinks['challengelist'] = "Challenges <i>BETA!</i>";
if ($accepted) {
$linkname = 'achievements?id='.$_SESSION['userID'];
- $Links[$linkname] = "Achievements";
- $Links['chat'] = "Chat";
+ $headerLinks[$linkname] = "Achievements";
+ $headerLinks['chat'] = "Chat";
} else {
- $Links['tutorial'] = "Tutorial";
+ $headerLinks['tutorial'] = "Tutorial";
}
-// $Links['members'] = "Member List";
+// $headerLinks['members'] = "Member List";
-//$Links['faq'] = "FAQ";
-//$Links['about'] = "About Us";
+//$headerLinks['faq'] = "FAQ";
+//$headerLinks['about'] = "About Us";
$request = isset($_GET['page']) ? strtolower($_GET['page']) : '';
if ($request == '' && !$accepted)