From 83c2807460fb3972c64a0f8203d15645de595b87 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Mon, 26 Nov 2012 22:01:24 -0800 Subject: Prep for push to the main server. Some future proofing changes, and some changes for the sake of change. --- pages/home.php | 76 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 39 insertions(+), 37 deletions(-) diff --git a/pages/home.php b/pages/home.php index 50d3952..ad9f74e 100644 --- a/pages/home.php +++ b/pages/home.php @@ -108,9 +108,10 @@ topbar($Links);
-
Site update complete! -
If you find any problems/bugs please report them using our Feedback Page -
Thank you!! +
DATE HERE. Update complete! This update made several changes to allow for some new upcoming features. +
If you find any bugs please let us know using the Feedback Page! +
Thank you so much! +

@@ -121,7 +122,8 @@ if ($accepted) { echo "

"; } } - + +// 3 Main maps $motd = MapOfTheDay(1); $jmid[1] = $motd['id']; $mapContent = displayMaze($motd, 1); @@ -134,35 +136,39 @@ $motd = MapOfTheDay(3); $jmid[3] = $motd['id']; $mapContent .= displayMaze($motd, 3); +$mapNames[1] = 'Simple'; +$mapNames[2] = 'Normal'; +$mapNames[3] = 'Complex'; + +// Additional or special maps: + $motd = MapOfTheDay(4); $jmid[4] = $motd['id']; $mapContent .= displayMaze($motd, 4); -$special = $motd['map'][0][6]; -if ($special == '') { - $special = 'Special'; +$mapNames[4] = $motd['map'][0][6]; +if ($mapNames[4] == '') { + $mapNames[4] = 'Special'; } -$motd = MapOfTheDay(5); -$jmid[5] = $motd['id']; -$mapContent .= displayMaze($motd, 5); - -$special2 = $motd['map'][0][6]; -if ($special2 == '') { - $special2 = 'Special'; +// $motd = MapOfTheDay(5); +// $jmid[5] = $motd['id']; +// $mapContent .= displayMaze($motd, 5); +// $special2 = $motd['map'][0][6]; +// if ($special2 == '') { + // $special2 = 'Special'; +// } + +echo '
'; +foreach ($mapNames as $key => $value) { + echo " $value\n"; } +echo ' +
+
'; ?> -
- Simple - Normal - Complex - - -
-
- @@ -292,8 +298,17 @@ $timerem = strtotime("tomorrow") - strtotime("now"); - // -- cgit v1.2.3