diff options
Diffstat (limited to 'includes/header.php')
-rw-r--r-- | includes/header.php | 81 |
1 files changed, 44 insertions, 37 deletions
diff --git a/includes/header.php b/includes/header.php index 368e1c8..c79ee8e 100644 --- a/includes/header.php +++ b/includes/header.php @@ -73,51 +73,57 @@ function htmlFooter() { //Preload the path-images and add the google-analytics script
global $footerLinks;
-
+
+ echo "<div style='clear:both'></div>";
+ echo "<div class='footerPush'></div>";
+ echo "</div> <!-- /mainContent -->";
+
+
+ echo " <div class='footerArea'>";
echo "<div class='divide'></div>";
- echo " <div class='footerArea' style='width:100%;clear: both'><ul id='triple'>";
+ echo " <div><ul id='triple'>";
foreach ($footerLinks as $key => $value) {
echo "<li><a href='$key'>$value</a></li>";
}
echo " </ul></div>";
?>
- <div class="copyAndButtons">
- <div id="copy">
- Copyright © 2011-2013 pathery.com
- </div>
- <div id="socialButtons" class='buttons'>
+ <div class="copyAndButtons">
+ <div id="copy">
+ Copyright © 2011-2013 pathery.com
+ </div>
+ <div id="socialButtons" class='buttons'>
<a href='http://www.facebook.com/Pathery' target='top' title='Facebook'><img alt='Facebook' src='images/btns/facebook.png' /></a>
<a href='http://www.reddit.com/r/Pathery' target='top' title='Reddit'><img alt='Reddit' src='images/btns/reddit.png' /></a>
<a href='https://twitter.com/Pathery' target='top' title='Twitter'><img alt='Twitter' src='images/btns/twitter.png' /></a>
<a href='https://plus.google.com/105148482605711831543' target='top' title='Google Plus'><img alt='Google Plus' src='images/btns/googleplus.png' /></a>
+ </div>
+ </div>
+
+ <! -- Image Preload -->
+ <div style='visibility:hidden;display:none'>
+ <img src='images/MedalGoldCAR.png' alt=''>
+ <img src='images/MedalSilverCAR.png' alt=''>
+ <img src='images/paths/Path1-1.png' alt=''>
+ <img src='images/paths/Path1-2.png' alt=''>
+ <img src='images/paths/Path1-3.png' alt=''>
+ <img src='images/paths/Path1-4.png' alt=''>
+ <img src='images/paths/Path2-1.png' alt=''>
+ <img src='images/paths/Path2-2.png' alt=''>
+ <img src='images/paths/Path2-3.png' alt=''>
+ <img src='images/paths/Path2-4.png' alt=''>
+ <img src='images/OverlayTileFaceted50.png' alt=''>
+ <img src='images/OverlayTileFaceted30.png' alt=''>
+ <img src='images/OverlayTileFaceted10.png' alt=''>
+ <img src='images/OverlayTileFaceted20.png' alt=''>
+
+ <img src='images/OverlayStart2.png' alt=''>
+ <img src='images/OverlayA50.png' alt=''>
+ <img src='images/OverlayB50.png' alt=''>
+ <img src='images/OverlayC50.png' alt=''>
+ <img src='images/TeleportOutW.png' alt=''>
+ <img src='images/TeleportInW.png' alt=''>
</div>
- </div>
- <br />
-
- <div style='visibility:hidden;display:none'>
- <img src='images/MedalGoldCAR.png' alt=''>
- <img src='images/MedalSilverCAR.png' alt=''>
- <img src='images/paths/Path1-1.png' alt=''>
- <img src='images/paths/Path1-2.png' alt=''>
- <img src='images/paths/Path1-3.png' alt=''>
- <img src='images/paths/Path1-4.png' alt=''>
- <img src='images/paths/Path2-1.png' alt=''>
- <img src='images/paths/Path2-2.png' alt=''>
- <img src='images/paths/Path2-3.png' alt=''>
- <img src='images/paths/Path2-4.png' alt=''>
- <img src='images/OverlayTileFaceted50.png' alt=''>
- <img src='images/OverlayTileFaceted30.png' alt=''>
- <img src='images/OverlayTileFaceted10.png' alt=''>
- <img src='images/OverlayTileFaceted20.png' alt=''>
-
- <img src='images/OverlayStart2.png' alt=''>
- <img src='images/OverlayA50.png' alt=''>
- <img src='images/OverlayB50.png' alt=''>
- <img src='images/OverlayC50.png' alt=''>
- <img src='images/TeleportOutW.png' alt=''>
- <img src='images/TeleportInW.png' alt=''>
- </div>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-371072-3']);
@@ -160,16 +166,17 @@ function htmlFooter() { </script>
+ </div><!-- /footerArea -->
</body>
</html>
<?
}
function topbar($links) {
- global $accepted, $wallColor, $wallEmblem, $wallOrientation, $request;
-
-
+ global $accepted, $wallColor, $wallEmblem, $wallOrientation, $request, $headerLinks;
+ echo "<body>";
+ echo "<div class='mainContent'>";
//Empty first-div contains sound manager stuff
echo '<div></div>';
@@ -187,7 +194,7 @@ function topbar($links) { echo '<div id="topbar"><div id="topbarContent">';
- foreach ($links as $key => $value) {
+ foreach ($headerLinks as $key => $value) {
if ($request == $key) {
$selected = " selected";
} else {
|