summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php9
-rw-r--r--pages/home.php2
2 files changed, 2 insertions, 9 deletions
diff --git a/index.php b/index.php
index 7ae7bd8..6005fe1 100644
--- a/index.php
+++ b/index.php
@@ -12,16 +12,11 @@ $Links['home'] = "Home";
$Links['leaderboard'] = "Scoreboard";
$Links['howtoplay'] = "How to Play";
//$Links['gallery'] = "Gallery";
-if ($_SESSION['accepted'] <> 1) {
- $Links['login'] = "Log In";
-} else {
- //$Links['logout'] = "Logout";
-}
if ($_SESSION['isAdmin'] == true) {
$Links['admin'] = 'Admin';
}
$Links['faq'] = "FAQ";
-$Links['about'] = "About us";
+$Links['about'] = "About Us";
switch (strtolower($_GET[page])) {
@@ -95,4 +90,4 @@ switch (strtolower($_GET[page])) {
require("pages/home.php");
}
-?> \ No newline at end of file
+?>
diff --git a/pages/home.php b/pages/home.php
index 3d3a371..8bd7d11 100644
--- a/pages/home.php
+++ b/pages/home.php
@@ -11,8 +11,6 @@ include('./includes/mapoftheday.php');
include('./includes/datas.php');
-
-
//Get the current day as int.
$numday = date('w');
$numday = intval($numday);