diff options
-rw-r--r-- | css/maps.css | 15 | ||||
-rw-r--r-- | css/page.css | 32 | ||||
-rw-r--r-- | images/OverlayStart2.png | bin | 3580 -> 3465 bytes | |||
-rw-r--r-- | images/OverlayTiles.xcf | bin | 63460 -> 63856 bytes | |||
-rw-r--r-- | images/Path2xRock.png | bin | 3168 -> 3224 bytes | |||
-rw-r--r-- | images/paths/Path1-1.png | bin | 1309 -> 1230 bytes | |||
-rw-r--r-- | images/paths/Path1-2.png | bin | 1384 -> 1285 bytes | |||
-rw-r--r-- | images/paths/Path1-3.png | bin | 1267 -> 1185 bytes | |||
-rw-r--r-- | images/paths/Path1-4.png | bin | 1446 -> 1313 bytes | |||
-rw-r--r-- | images/paths/Path2-1.png | bin | 1230 -> 1038 bytes | |||
-rw-r--r-- | images/paths/Path2-2.png | bin | 1285 -> 1129 bytes | |||
-rw-r--r-- | images/paths/Path2-3.png | bin | 1185 -> 1014 bytes | |||
-rw-r--r-- | images/paths/Path2-4.png | bin | 1313 -> 1125 bytes | |||
-rw-r--r-- | includes/header.php | 25 | ||||
-rw-r--r-- | pages/home.php | 93 |
15 files changed, 128 insertions, 37 deletions
diff --git a/css/maps.css b/css/maps.css index 62c11b4..7bad117 100644 --- a/css/maps.css +++ b/css/maps.css @@ -162,24 +162,21 @@ background-color: #fbfefb;
}
.grid_td_startB {
- background: url(../images/OverlayStartB.png);
+ background: url(../images/OverlayStartB.png?v=1);
background-color: #fbfefb;
}
.grid_td_finish {
background: url(../images/OverlayFinish50c.png);
- background-color: #666666;
- color: #fff;
+ background-color: #666;
}
.grid_td_rockxpath1 {
- background: url(../images/Path1XRock.png);
- background-color: #555;
- color: #fff;
+ background: url(../images/Path1xRock.png?v=7);
+ background-color: #fff;
}
.grid_td_rockxpath2 {
- background: url(../images/Path2XRock.png);
- background-color: #777;
- color: #fff;
+ background: url(../images/Path2xRock.png?v=7);
+ background-color: #fff;
}
diff --git a/css/page.css b/css/page.css index cb88d34..fa4f24b 100644 --- a/css/page.css +++ b/css/page.css @@ -100,6 +100,38 @@ position:absolute;color:#333;left:25px;bottom:20px; +.adOuter {
+ margin: 4px;
+ width: 55%;
+ margin: 0px auto;
+ height: 90px;
+}
+.adBar {
+ border: 1px solid #446;
+ border-width: 1px 1px 0px 1px;
+ border-color:#446;
+ border-radius: 5px 5px 0px 0px;
+ width:500px;
+ height:20px;
+ background-color:#334;
+ padding:2px;
+}
+.adContainer {
+ border:1px solid #446;
+ border-width: 0px 1px 1px 1px;
+ border-radius: 0px 0px 5px 5px;
+ width:500px;
+ height:60px;
+ padding:2px;
+ text-align:center;
+}
+.adHidden {
+ position:fixed;
+ left:-100%;
+ display:none;
+}
+
+
@keyframes signinAnimate
{
diff --git a/images/OverlayStart2.png b/images/OverlayStart2.png Binary files differindex ca82929..5ea4ce0 100644 --- a/images/OverlayStart2.png +++ b/images/OverlayStart2.png diff --git a/images/OverlayTiles.xcf b/images/OverlayTiles.xcf Binary files differindex 6aaf0cb..76bfa09 100644 --- a/images/OverlayTiles.xcf +++ b/images/OverlayTiles.xcf diff --git a/images/Path2xRock.png b/images/Path2xRock.png Binary files differindex 3abf42a..0c6d8e0 100644 --- a/images/Path2xRock.png +++ b/images/Path2xRock.png diff --git a/images/paths/Path1-1.png b/images/paths/Path1-1.png Binary files differindex 93f204d..c1e47bc 100644 --- a/images/paths/Path1-1.png +++ b/images/paths/Path1-1.png diff --git a/images/paths/Path1-2.png b/images/paths/Path1-2.png Binary files differindex fce34ad..51cc0e7 100644 --- a/images/paths/Path1-2.png +++ b/images/paths/Path1-2.png diff --git a/images/paths/Path1-3.png b/images/paths/Path1-3.png Binary files differindex 6cca507..6c83526 100644 --- a/images/paths/Path1-3.png +++ b/images/paths/Path1-3.png diff --git a/images/paths/Path1-4.png b/images/paths/Path1-4.png Binary files differindex 00f75d4..f856209 100644 --- a/images/paths/Path1-4.png +++ b/images/paths/Path1-4.png diff --git a/images/paths/Path2-1.png b/images/paths/Path2-1.png Binary files differindex c1e47bc..6044790 100644 --- a/images/paths/Path2-1.png +++ b/images/paths/Path2-1.png diff --git a/images/paths/Path2-2.png b/images/paths/Path2-2.png Binary files differindex 51cc0e7..9980f20 100644 --- a/images/paths/Path2-2.png +++ b/images/paths/Path2-2.png diff --git a/images/paths/Path2-3.png b/images/paths/Path2-3.png Binary files differindex 6c83526..7eb8f34 100644 --- a/images/paths/Path2-3.png +++ b/images/paths/Path2-3.png diff --git a/images/paths/Path2-4.png b/images/paths/Path2-4.png Binary files differindex f856209..6c27110 100644 --- a/images/paths/Path2-4.png +++ b/images/paths/Path2-4.png diff --git a/includes/header.php b/includes/header.php index c415e75..cb5ae65 100644 --- a/includes/header.php +++ b/includes/header.php @@ -59,16 +59,33 @@ function hideSignin() { function htmlFooter() {
//Preload the path-images and add the google-analytics script
?>
+ <div id="copy" style='width:100%;clear: both'>
+ Copyright © 2011-2012 pathery.com
+ </div>
+ <br />
+
<div style='visibility:hidden;display:none'>
<img src='images/MedalGoldCAR.png' alt=''>
<img src='images/MedalSilverCAR.png' alt=''>
- <img src='images/Path1.png' alt=''>
- <img src='images/Path2.png' alt=''>
- <img src='images/Path3.png' alt=''>
- <img src='images/Path4.png' alt=''>
+ <img src='images/path/Path1-1.png' alt=''>
+ <img src='images/path/Path1-2.png' alt=''>
+ <img src='images/path/Path1-3.png' alt=''>
+ <img src='images/path/Path1-4.png' alt=''>
+ <img src='images/path/Path2-1.png' alt=''>
+ <img src='images/path/Path2-2.png' alt=''>
+ <img src='images/path/Path2-3.png' alt=''>
+ <img src='images/path/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 || [];
diff --git a/pages/home.php b/pages/home.php index dbc1a01..a9c6b36 100644 --- a/pages/home.php +++ b/pages/home.php @@ -86,21 +86,75 @@ playerWallColor = '<?PHP echo isset($wallColor) ? $wallColor : ''; ?>'; playerWallEmblem = '<?PHP echo isset($wallEmblem) ? $wallEmblem : ''; ?>';
</script>
+<!-- Advertisement -->
+<script type="text/javascript">
+// use PHP VAR
+
+var showAd;
+if (getCookie("pref_showAd") != "yes") {
+ showAd = "no";
+} else {
+ showAd = "yes";
+}
+
+function adToggle() {
+ var adContainer = document.getElementById("adContainer");
+ var adBtn = document.getElementById("adBtn");
+
+ if (showAd == "yes") {
+ adContainer.setAttribute("class", "adHidden");
+ adBtn.innerHTML = "<a href='javascript:adToggle()'>Show</a>";
+ showAd = "no";
+ } else {
+ adContainer.setAttribute("class", "adContainer");
+ adBtn.innerHTML = "<a href='javascript:adToggle()'>Hide</a>";
+ showAd = "yes";
+ }
+ savePref("showAd", showAd);
+}
+</script>
+
+
<?php
topbar($Links);
+$showAd = ($_COOKIE['pref_showAd'] == "yes");
+$adClass = 'adHidden';
+$adShow = 'Hide';
+if ($showAd) {
+ $adClass = 'adContainer';
+ $adShow = 'Show';
+}
+
+$adContent = "
+ <div class='adOuter'>
+ <div class='adBar'>
+ <div class='float' style='width:89%; '>Ad:</div>
+ <div class='float' id='adBtn' style='width:10%; text-align:right;'>
+ <a href='javascript:adToggle()'>$adShow</a>
+ </div>
+ </div><div class='$adClass' id='adContainer'>
+
+ <script type='text/javascript' language='javascript' src='http://www.dpbolvw.net/placeholder-6466820?target=_blank&mouseover=N'></script>
+ </div>
+ </div>
+ <div style='clear: both'></div>";
?>
<div class="wrapper">
-<center>DATE HERE. Update complete! This update made several changes to allow for some new upcoming features.
-<br />If you find any bugs please let us know using the <a href='feedback'>Feedback Page</a>!
-<br />Thank you so much!
-<br /><br />
+<center>12/12/12 - We're introducing a new map & mechanic!
+I'd like to hear what you think about it!
+<br />Send me a line at the <a href="feedback">Feedback Page</a>.
+<br />Wir führen eine neue Map und einen neün Mechanismus ein!
+Ich wüsste gern, was du davon hältst!
+Schick mir einfach eine Zeile auf der <a href="feedback">Feedback-Seite</a>.
</center>
+<br />
+
<?
if ($accepted) {
if (!hasCompletedTutorial($userID)) {
@@ -113,18 +167,22 @@ if ($accepted) { $motd = MapOfTheDay(1);
$jmid[1] = $motd['id'];
$mapContent = displayMaze($motd, 1);
+$mapNames[1] = 'Simple';
$motd = MapOfTheDay(2);
$jmid[2] = $motd['id'];
$mapContent .= displayMaze($motd, 2);
+$mapNames[2] = 'Normal';
+
+// Complex Map
$motd = MapOfTheDay(3);
$jmid[3] = $motd['id'];
$mapContent .= displayMaze($motd, 3);
-
-$mapNames[1] = 'Simple';
-$mapNames[2] = 'Normal';
-$mapNames[3] = 'Complex';
+$mapNames[3] = $motd['map'][0][6];
+if ($mapNames[3] == '') {
+ $mapNames[3] = 'Complex';
+}
// Additional or special maps:
@@ -137,6 +195,8 @@ if ($mapNames[4] == '') { $mapNames[4] = 'Special';
}
+
+
// $motd = MapOfTheDay(5);
// $jmid[5] = $motd['id'];
// $mapContent .= displayMaze($motd, 5);
@@ -201,7 +261,7 @@ function displayMaze($motd, $mapType) { $r .= " <a href='javascript:requestSol(\"$mapID\");'><strong>Load your best solution</strong></a><br />";
$r .= DisplayMap($map, $mapID);
$r .= " </div></div>";
-
+
$r .= " <div style='padding-top: 20px;'>";
$r .= $topscorediv;
$r .= ' </div>';
@@ -275,14 +335,6 @@ $timerem = strtotime("tomorrow") - strtotime("now"); </script>
</div>
-
-
-<div id="copy" style='width:100%;clear: both'>
- Copyright © 2011-2012 pathery.com
-</div>
-
-
-
<script>
var jmid=new Array();
@@ -311,13 +363,6 @@ function showStats(type) { showStats(1);
</script>
-<?
-//<script src="sounds/script/soundmanager.js"></script>
-//<script type="text/javascript">soundManagerInit();</script>
-
-// NEW BELOW
-?>
-
<?PHP echo $noteScript; ?>
|