From efb3150053c7cb62dec98fc7c4ea1531d3c0acfc Mon Sep 17 00:00:00 2001 From: raylu Date: Wed, 14 Sep 2011 23:20:48 -0700 Subject: fix some validation issues; get rid of div around like button --- pages/home.php | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) (limited to 'pages/home.php') diff --git a/pages/home.php b/pages/home.php index 27605dd..3d3a371 100644 --- a/pages/home.php +++ b/pages/home.php @@ -82,7 +82,6 @@ $motd = MapOfTheDay($maptype); topbar($Links); - $mapID = $motd['id']; $map = $motd['map']; $userID = $_SESSION['userID']; @@ -92,32 +91,26 @@ $topscores = topScores($motd['id'], 30); $topscorediv = "
\n$topscores\n
"; $mergesolution = $map; -//Like button - //
I made a like button! I'm not sure what happens if you press it. - // - ?> -
-
- -
+
+

-

News:
+ News:
We've moved to pathery.com (look up, you're already there)! You'll need to re-login with Google.
Don't worry – we've saved all your solutions and history (soon you'll even be able to see them! hehe).

Maps for : -
-
-
-
+
+
+
+

New maps are generated daily at 9:00 PM Pacific Time. -
+

@@ -173,8 +166,6 @@ echo $solutiondiv; // // // -//
-// ?> -- cgit v1.2.3 From 3d11ea75aaa71cc3e83f1c9121f2ba59369204ef Mon Sep 17 00:00:00 2001 From: raylu Date: Wed, 14 Sep 2011 23:54:16 -0700 Subject: hide login link, change case on 'About Us' --- index.php | 9 ++------- pages/home.php | 2 -- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'pages/home.php') 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); -- cgit v1.2.3