header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past function server_time() { list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec); } $time_this_server = server_time(); $time_this_server_javascript = ($time_this_server * 1000); $w = NULL; $w = $_GET['tzone_choice']; $x = 1; ?>
/* switch ($w) { case 'central_europe' : $x = 1; break; case 'eastern_europe' : $x = 1; break; case 'western_europe' : $x = 1; break; case 'eastern_usa' : $x = 1; break; case 'central_usa' : $x = 1; break; case 'pacific_usa' : $x = 1; break; case 'mountain_usa' : $x = 1; break; case 'usa_alaska' : $x = 1; break; case 'usa_hawaii' : $x = 1; break; case 'usa_indiana' : $x = 1; break; case 'india' : $x = 1; break; case 'china' : $x = 1; break; case 'japan' : $x = 1; break; default : $x = 0; break; } */ if ($x == 1) { echo ''; } ?> require('http://script7.greenwichmeantime.com/time/scripts/clock-7/a.php?tzone_choice='.$w); ?>