";
} else {
$pageContent = file_get_contents('http://gomashup.com/json.php?fds=geo/timezone/locations&jsoncallback=?',0,null,null);
$json = substr(str_replace(']}',']', str_replace('{x[','[', str_replace('"result":','', str_replace(")", "", str_replace("?(","",$pageContent))))),1);
$json_output = json_decode($json); //,true);
$selplaceval = "List of places below ... ";
$selgmtval = "List of region places below ... ";
for ($i=0; $iTimeZoneId, 0, strpos($json_output[$i]->TimeZoneId, '-') - 0) . "'>" . ($json_output[$i]->GMT + ((1.0 + $i) / 1000.0)) . "";
$selplaceval .= "\n" . $json_output[$i]->TimeZoneId . " ";
}
$selgmtval .= "\n ";
$selplaceval .= "\n ";
echo "
Time Zones via http://gomashup.com/cms/world_clock_timezone ... thanks. ";
}
if (isset($_GET['from'])) {
echo "\n";
} else {
echo "\n";
}
?>
";
if (isset($_GET['from'])) {
if (isset($_GET['to'])) {
echo "