diff options
Diffstat (limited to 'pages/home.php')
-rw-r--r-- | pages/home.php | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/pages/home.php b/pages/home.php index ad9f74e..dbc1a01 100644 --- a/pages/home.php +++ b/pages/home.php @@ -1,33 +1,19 @@ <?php
ob_start("ob_gzhandler");
-htmlHeader(
- array('stats'), 'Pathery',
- 'Compete to create the longest maze possible. 4 New maps every day at 9 PM Pacific',
- array('scores', 'dateformat')
-);
include_once ('./includes/maps.php');
include_once ('./includes/mapoftheday.php');
include_once ('./includes/db.inc.php');
include_once ('./includes/datas.php');
+htmlHeader(
+ array('stats'), 'Pathery',
+ 'Compete to create the longest path possible. New maps every day!',
+ array('scores', 'dateformat')
+);
$noteScript = '';
if ($accepted) {
- $userID = $_SESSION['userID'];
-
- // $sql = "
- // SELECT
- // userData.wallColor,
- // userData.wallEmblem
- // FROM `userData`
- // WHERE userID = '$userID' ";
- // $result = mysql_query($sql);
- // if ($result)
- // list($wallColor, $wallEmblem) = mysql_fetch_row($result);
- //global $wallColor;
- //echo ": Wallcolor: $wallColor :" ;
-
//$note = getNotified($userID);
$note = false;
if ($note !== false) {
@@ -268,7 +254,7 @@ $timerem = strtotime("tomorrow") - strtotime("now"); var stamp = hours + ":" + minutes;
//if (hours < 1 && minutes < 5)
stamp = stamp + ":" + seconds
- stamp = 'New maps ' + formatedTomorrow + '<br />' + stamp + ' Remain';
+ stamp = 'New maps ' + formatedTomorrow + '<br />Time remaining: ' + stamp;
document.getElementById("countdown").innerHTML = stamp;
if (totalSeconds <= 1 && userConfirm == true) {
|