From a802a419b5a3ce7a70ece8465dad777daefcbfa5 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Wed, 26 Dec 2012 12:44:09 -0800 Subject: SoundManager1/2 moved to a function in Globe. --- globe.php | 45 +++++++++++++++++++++++++++++++++++++++------ pages/home.php | 40 +++++----------------------------------- 2 files changed, 44 insertions(+), 41 deletions(-) diff --git a/globe.php b/globe.php index 9e13d99..32285fc 100644 --- a/globe.php +++ b/globe.php @@ -13,6 +13,45 @@ $mydomain = "http://www.pathery.com/"; //include_once("./includes/header.php"); + +function soundManager1() { +return ' +
+ + +
+ '; +} + +function soundManager2() { +return " + + +"; +} + + + + function sql_clean($string) { if (get_magic_quotes_gpc()) { $string = stripslashes($string); @@ -66,11 +105,6 @@ function CookieLogin() { header("Location: $mydomain"); } - - - - - Function DoLogin($Username, $Password, $RememberMe = False, $EN = False) { If ($EN == False) { @@ -113,7 +147,6 @@ Function DoLogin($Username, $Password, $RememberMe = False, $EN = False) { } } - Function CheckAuth($page) { //TODO: if ($_SESSION['Accepted'] == 1) { diff --git a/pages/home.php b/pages/home.php index ac2518f..7a197aa 100644 --- a/pages/home.php +++ b/pages/home.php @@ -44,39 +44,9 @@ if (getCookie('pref_mute') != 'true') { ?> - - - - '; -$soundManager2 = " - - -"; - -//echo $soundManager1; -echo $soundManager2; +//echo soundManager1(); +echo soundManager2(); ?> @@ -281,8 +251,8 @@ function displayMaze($motd, $mapType) { $timerem = strtotime("tomorrow") - strtotime("now"); ?> -
- New maps +
+ Loading...