summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-01-17 21:41:00 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-01-17 21:41:00 -0800
commit7e3ab267d9e74856ed0cafffcdab34fd40b48228 (patch)
treed77388f36e57f77a94023f0c11feb3eddcad692d /index.php
parentf4c16b40f54ce14de3ab30637269f74908149dd0 (diff)
downloadpathery-7e3ab267d9e74856ed0cafffcdab34fd40b48228.tar.xz
Adjusted / added footerlinks.
Diffstat (limited to 'index.php')
-rw-r--r--index.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/index.php b/index.php
index 6117d9f..34048b9 100644
--- a/index.php
+++ b/index.php
@@ -40,13 +40,26 @@ if ($accepted) {
}
// Footer Links
-$footerLinks['tutorial'] = "Tutorial";
-$footerLinks['members'] = "Member List";
+//ROW 1
+if ($accepted) {
+ $linkname = 'achievements?id='.$_SESSION['userID'];
+ $footerLinks[$linkname] = "Achievements";
+} else
+ $footerLinks['tutorial'] = "Tutorial";
$footerLinks['faq'] = "FAQ";
+$footerLinks['members'] = "Member List";
+
+//ROW 2
+$footerLinks['chat'] = "Chat";
+$footerLinks['leaderboard'] = "Scores";
$footerLinks['about'] = "About Us";
+
+//ROW 3
+$footerLinks['challengelist'] = "Challenges";
$footerLinks['feedback'] = "Contact Us";
$footerLinks['#top'] = "Back to Top";
+
// if ($accepted) {
// $footerLinks['cp'] = "Settings";
// }