$val) {
if (strpos($val, 'data:') !== false) {
$fval=urlencode($val); //str_replace(" ", "%20", str_replace("'", urlencode("'"), str_replace('"', urlencode('"'), str_replace('=', urlencode('='), str_replace('>', urlencode('>'), str_replace('<', urlencode('<'), str_replace('?', urlencode('?'), str_replace('&', urlencode('&'), $val))))))));
} else {
$fval=str_replace('+','%20',urlencode(str_replace(' ',' + ',str_replace('+',' ',$val)))); //str_replace(" ", "%20", str_replace("'", urlencode("'"), str_replace('"', urlencode('"'), str_replace('=', urlencode('='), str_replace('>', urlencode('>'), str_replace('<', urlencode('<'), str_replace('?', urlencode('?'), str_replace('&', urlencode('&'), $val))))))));
}
if ($shto == "") {
$shto="#" . $name . "=" . $fval; //str_replace(" ", "%20", str_replace("'", urlencode("'"), str_replace('"', urlencode('"'), str_replace('=', urlencode('='), str_replace('>', urlencode('>'), str_replace('<', urlencode('<'), str_replace('?', urlencode('?'), str_replace('&', urlencode('&'), $val))))))));
} else {
$shto.="&" . $name . "=" . $fval; //str_replace(" ", "%20", str_replace("'", urlencode("'"), str_replace('"', urlencode('"'), str_replace('=', urlencode('='), str_replace('>', urlencode('>'), str_replace('<', urlencode('<'), str_replace('?', urlencode('?'), str_replace('&', urlencode('&'), $val))))))));
}
}
}
if (isset($_GET['data'])) {
foreach ($_GET as $name => $val) {
if (strpos($val, 'data:') !== false) {
$fval=urlencode($val); //str_replace(" ", "%20", str_replace("'", urlencode("'"), str_replace('"', urlencode('"'), str_replace('=', urlencode('='), str_replace('>', urlencode('>'), str_replace('<', urlencode('<'), str_replace('?', urlencode('?'), str_replace('&', urlencode('&'), $val))))))));
} else {
//$fval=str_replace('+','%20',urlencode($val)); //str_replace(" ", "%20", str_replace("'", urlencode("'"), str_replace('"', urlencode('"'), str_replace('=', urlencode('='), str_replace('>', urlencode('>'), str_replace('<', urlencode('<'), str_replace('?', urlencode('?'), str_replace('&', urlencode('&'), $val))))))));
$fval=str_replace('+','%20',urlencode(str_replace(' ',' + ',str_replace('+',' ',$val)))); //str_replace(" ", "%20", str_replace("'", urlencode("'"), str_replace('"', urlencode('"'), str_replace('=', urlencode('='), str_replace('>', urlencode('>'), str_replace('<', urlencode('<'), str_replace('?', urlencode('?'), str_replace('&', urlencode('&'), $val))))))));
}
if ($shto == "") {
$gshto="#" . $name . "=" . $fval; //str_replace(" ", "%20", str_replace("'", urlencode("'"), str_replace('"', urlencode('"'), str_replace('=', urlencode('='), str_replace('>', urlencode('>'), str_replace('<', urlencode('<'), str_replace('?', urlencode('?'), str_replace('&', urlencode('&'), $val))))))));
} else {
$gshto.="&" . $name . "=" . $fval; //str_replace(" ", "%20", str_replace("'", urlencode("'"), str_replace('"', urlencode('"'), str_replace('=', urlencode('='), str_replace('>', urlencode('>'), str_replace('<', urlencode('<'), str_replace('?', urlencode('?'), str_replace('&', urlencode('&'), $val))))))));
}
}
if ($gshto != '' && strlen($_GET['data']) < 10) {
$gtw="\n
//alert(decodeURIComponent(decodeURIComponent(('' + location.hash))));
if (document.URL.split('#')[0].indexOf('?') != -1 && decodeURIComponent(decodeURIComponent(('' + location.hash + 'x'))).indexOf('[') == 1) {
var jformoh='
';
var iiareflds=0, areflds=(document.URL.split('#')[0] + decodeURIComponent(decodeURIComponent((',' + location.hash.substring(1))))).replace('#','&').replace('?','&').split('=');
for (var iiareflds=1; iiareflds','');
}
//alert(jformoh);
setTimeout(function() {
document.body.innerHTML+=jformoh;
document.getElementById('gjformsubis').click(); }, 7000);
}
";
}
}
$xiso='iso';
$xxiso='';
if (isset($_POST['title'])) {
foreach ($_POST as $name => $val) {
if ($name != "iso" && substr(($name . ' '),0,3) == 'iso') {
$xiso=$name;
$xxiso=$name;
} else if ($name == 'iso' && $xxiso == '') {
$xxiso=$name;
}
}
}
if (isset($_GET['title'])) {
foreach ($_GET as $name => $val) {
if ($name != "iso" && substr(($name . ' '),0,3) == 'iso') {
$xiso=$name;
$xxiso=$name;
} else if ($name == 'iso' && $xxiso == '') {
$xxiso=$name;
}
}
}
$agy="y";
if (isset($_GET['aregeographicals'])) {
$agy=str_replace('+',' ',urldecode($_GET['aregeographicals']));
}
$ctzsfa='';
$bstyle="background:url(placesmap.jpg);background-repeat:no-repeat;";
if (strpos($_SERVER['QUERY_STRING'],'data=') !==false) { $bstyle=""; }
$amwv=false;
if ((strpos($_SERVER['HTTP_USER_AGENT'], 'Mobile/') !== false) && (strpos($_SERVER['HTTP_USER_AGENT'], 'Safari/') == false)) {
$amwv=true;
}
$redir="";
$justnumber="";
$https = "http://";
$portbit = ":" . $_SERVER['SERVER_PORT'];
if(isset($_SERVER['HTTPS'])) {
if ($_SERVER['HTTPS'] == "on") {
$https = "https://";
$portbit = "";
}
} else if ($portbit == ":80") {
$portbit = "";
}
$burl="";
$bdivstart="";
$bdivend="";
$cdivc="background-color: yellow;";
$nondefs="";
$php_map_db=[""];
$dllwbits="";
if (isset($_POST['dllwbits'])) $dllwbits=str_replace("+"," ",urldecode($_POST['dllwbits']));
$dlltbits="";
if (isset($_POST['dlltbits'])) $dlltbits=str_replace("+"," ",urldecode($_POST['dlltbits']));
function miniaturize($tzps, $gdis) {
global $ctzsfa;
$tzsfa=explode("#",$ctzsfa);
$itzsfa=0;
// Europe/Tirane/2018-07-10_01:25:15 (GMT2) Map
$outtzps=$tzps;
$tza=explode(' (',$tzps);
$cit='';
for ($itza=0; $itza<(-1 + sizeof($tza)); $itza++) {
$cit=str_replace("
","",explode(' ',str_replace(","," ",$tza[$itza]))[-1 + sizeof(explode(' ',str_replace(","," ",$tza[$itza])))]) . ' (' . explode(')',$tza[1 + $itza])[0] . ')';
if (strpos($cit,'/') !== false) {
if (sizeof($tzsfa) > $itzsfa) {
$nitzsfa=$itzsfa;
$czx=explode("/",$cit);
if (sizeof($czx) > 1) {
for ($it=0; $it" . $cit . "",$outtzps);
$itzsfa++;
}
}
}
return $outtzps;
}
function pm_server_remote_addr() {
$rma = $_SERVER['REMOTE_ADDR'];
$ua = strtolower($_SERVER['HTTP_USER_AGENT']);
// you can add different browsers with the same way ..
if(preg_match('/(chromium)[ \/]([\w.]+)/', $ua))
$rma = '000000'.$rma;
elseif(preg_match('/(chrome)[ \/]([\w.]+)/', $ua))
$rma = '00000'.$rma;
elseif(preg_match('/(safari)[ \/]([\w.]+)/', $ua))
$rma = '0000'.$rma;
elseif(preg_match('/(opera)[ \/]([\w.]+)/', $ua))
$rma = '000'.$rma;
elseif(preg_match('/(msie)[ \/]([\w.]+)/', $ua))
$rma = '00'.$rma;
elseif(strpos($ua, ' applewebkit') !== false)
$rma = '0'.$rma;
elseif(preg_match('/(mozilla)[ \/]([\w.]+)/', $ua)) {
$rma = '0000000'.$rma;
}
return str_replace("/","_",$rma);
}
function nocomm($inwcr) {
$outwcr=$inwcr;
$outa=explode("/" . "/ ", $inwcr);
if (sizeof($outa) > 1) {
$newa=$outa[0];
for ($ij=1; $ij";
if (1 == 1) {
for ($ik=0; $ik<((sizeof($nearname) * 1) / 1 - 2); $ik++) {
if (substr($nearlatitude[$ik],0,1) != " ") {
$origin_dtz = new DateTimeZone("UTC"); //Europe/London"); // Thanks to //php.net/manual/en/function.timezone-offset-get.php
$remote_dtz = new DateTimeZone($nearname[$ik]);
$origin_dt = new DateTime("now", $origin_dtz);
$remote_dt = new DateTime("now", $remote_dtz);
if (1 == 1) { // better idea is ...
$bnow = new DateTime(null, $remote_dtz);
$offset = $bnow->getOffset() / 3600.0;
} else {
$offset = ($remote_dtz->getOffset($remote_dt) - $origin_dtz->getOffset($origin_dt)) / 3600.0;
}
array_push($nearoffset, $offset);
array_push($neartnow, $remote_dt->format('Y/m/d/H:i'));
$aseltz=explode("/",$nearname[$ik]);
//array_push($neartnow, $remote_dt->format('H:i'));
//$aseltz=explode("/",$nearname[$ik]);
$seltz=str_replace("", "" . "",$seltz);
}
}
}
if (file_exists("csv.php")) {
include "csv.php";
} else if (file_exists("../csv.php")) {
include "../csv.php";
}
function retval($inv) {
if (strpos($inv, "E-") !== false) return "0";
return $inv;
}
function dlltf($gettzname, $getgmtoff, $getrightnow, $dllmode, $dllbitsmode, $tzais, $lastpar) {
global $dllt, $dlltbits, $nearname, $nearoffset, $neartnow, $dllw, $dllwbits;
$getweather=$lastpar;
if ($dllmode >= 0 && $dllbitsmode >= 0) {
//echo "\ngWeaTHER=" . $lastpar;
$dllarr=explode("|", $dllt);
$dllbitsarr=explode("|", $dlltbits);
if (sizeof($dllarr) > $dllmode && sizeof($dllbitsarr) > $dllbitsmode) {
return $dllarr[$dllmode] . "|" . $dllbitsarr[$dllbitsmode];
} else if (sizeof($dllarr) > $dllmode) {
return $dllarr[$dllarr] . "|";
} else if (sizeof($dllbitsarr) > $dllbitsmode) {
return "|" . $dllbitsarr[$dllbitsarr];
} else {
return "|";
}
} else if ($dllmode >= 0) {
//echo "\ngWeaThER=" . $lastpar;
$dllarr=explode("|", $dllt);
if (sizeof($dllarr) > $dllmode) {
return $dllarr[$dllmode];
} else {
return "";
}
} else if ($dllbitsmode >= 0) {
//echo "\ngWeAThER=" . $lastpar;
$dllbitsarr=explode("|", $dlltbits);
if (sizeof($dllbitsarr) > $dllbitsmode) {
return $dllbitsarr[$dllbitsmode];
} else {
return "";
}
} else {
//echo "\ngWeAThER= =" . $lastpar;
//echo "\n1: ... " . $zdllarr[0] . " ... " . $zdllarr[1] . " ... " . $zdllarr[2] . " ... " . $zdllarr[3] . " ... " . " getgmtoff,gettzname,getrightnow=" . $getgmtoff . ' ... ' . $gettzname . ' ... ' . $getrightnow;
if (str_replace("?","",$getgmtoff) == "") {
if (array_search($gettzname, $nearname) !== false) {
$getgmtoff=$nearoffset[array_search($gettzname, $nearname)];
if (str_replace("?","",$getrightnow) == "") {
$getrightnow=$neartnow[array_search($gettzname, $nearname)];
}
}
}
if (str_replace("?","",$getrightnow) == "") {
if (array_search($gettzname, $nearname) !== false) {
$getrightnow=$neartnow[array_search($gettzname, $nearname)];
}
}
//echo "\n2: getgmtoff,gettzname,getrightnow=" . $getgmtoff . ' ... ' . $gettzname . ' ... ' . $getrightnow;
if ($getgmtoff != "" && $gettzname != "") {
//echo "\ngWeAThER= = =" . $lastpar . " ... " . $dllt;
$arrdll=explode("|", $dllt);
if ($dllt != "") $dllt.="|";
if ($dlltbits != "") {
$dlltbits.=" else if (ir == " . $tzais . ") { ";
} else {
$dlltbits=" if (ir == " . $tzais . ") { ";
}
if ($getrightnow != "") {
$huhw=explode("http", $getrightnow);
if (sizeof($huhw) > 1) {
$getnonw=$huhw[0];
if ($getweather == "") $getweather=str_replace($getnonw . "http", "http", $getrightnow);
$getrightnow=$getnonw;
}
if (strpos($gettzname,"/") === false && strpos($getgmtoff, ":") !== false) {
$spareg=$gettzname;
$gettzname=$getrightnow;
$getrightnow=$getgmtoff;
$getgmtoff=$spareg;
}
$dlltm="TimeZone " . $gettzname . " (GMT " . str_replace("+-","-",("+" . $getgmtoff)) . ") (where it is " . $getrightnow . ") Information=T";
$dllt.=$dlltm; //"TimeZone " . $gettzname . " (GMT " . str_replace("+-","-",("+" . $getgmtoff)) . ") (where it is " . $getrightnow . ") Information=T";
//echo "\ngWeAThER= = =- =" . $lastpar . " ... " . $dllt . "\n getweather=" . $getweather;
} else {
$dlltm="TimeZone " . $gettzname . " (GMT " . str_replace("+-","-",("+" . $getgmtoff)) . ") Information=T";
$dllt.=$dlltm; //"TimeZone " . $gettzname . " (GMT " . str_replace("+-","-",("+" . $getgmtoff)) . ") Information=T";
//echo "\ngWeAThER= = = =" . $lastpar . " ... " . $dllt . "\n getweather=" . $getweather;
}
if (strstr($_SERVER['HTTP_USER_AGENT'], 'iPad') || strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone')) {
$dlltbitsm="top.location.href='HTTP://www.rjmprogramming.com.au/PHP/Map/andthenon.php?andthen=' + encodeURIComponent('HTTP://timezoneconverter.com/cgi-bin/zoneinfo?tz=" . urldecode($gettzname) . "');";
} else {
$dlltbitsm="window.open('HTTP://timezoneconverter.com/cgi-bin/zoneinfo?tz=" . urldecode($gettzname) . "','_blank');";
}
$dlltbits.=$dlltbitsm; //"window.open('HTTP://timezoneconverter.com/cgi-bin/zoneinfo?tz=" . urldecode($gettzname) . "','_blank');";
echo "\n" . ' if (' . $tzais . ' >= 0) { while (tzarr.length < ' . $tzais . ') { tzbrr.push(""); tzbrrbits.push(""); tzarr.push(""); tzarrbits.push(""); } } ' . "\n" . ' tzarr.push("' . $dlltm . '"); ' . "\n";
echo "\n" . ' tzarrbits.push("' . $dlltbitsm . '"); ' . "\n";
if (strpos($dllwbits, "'',") !== false) $dllwbits="";
if ($dllw != "") {
$dllw.="|";
}
if ($getweather != "") {
$dllw.="Weather=W";
//if (isset($_GET['nojwin']) != -1 || isset($_GET['nojwinyes']) != -1 || strstr($_SERVER['HTTP_USER_AGENT'], 'iPad') || strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone')) {
//$zdlltbitsm="location.href='" . $getweather . "';";
//} else {
if (strstr($_SERVER['HTTP_USER_AGENT'], 'iPad') || strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone')) {
$zdlltbitsm="top.location.href='https://www.rjmprogramming.com.au/PHP/Map/andthenon.php?andthen=' + encodeURIComponent('" . $getweather . "');";
} else {
$zdlltbitsm="window.open('" . $getweather . "','_blank');";
}
//}
if ($dllwbits != "") {
$dllwbits.=" else if (ir == " . $tzais . ") { ";
} else {
$dllwbits=" if (ir == " . $tzais . ") { ";
}
$dllwbits.=$zdlltbitsm;
echo "\n" . ' tzbrrbits.push("' . $zdlltbitsm . '"); tzbrr.push("Weather=W"); ' . "\n";
} else {
echo "\n" . ' tzbrrbits.push(""); tzbrr.push(""); ' . "\n";
}
$dlltbits.=" } ";
if (strpos($dllwbits, "if (ir") !== false) $dllwbits.=" } ";
// }
} else {
echo "\nGWeaTHER=" . $lastpar;
$arrdll=explode("|", $dllt);
$dllt.="|";
if ($dlltbits != "") {
$dlltbits.=" else if (ir == " . $tzais . ") { ir=ir; } ";
} else {
$dlltbits=" if (ir == " . $tzais . ") { ir=ir } ";
}
}
}
return "";
}
function whereinwparts($wpa, $sf) {
global $wparts;
$rq=-1;
for ($irq=0; $irq= 0 && strcmp(substr($stz[$jkh],0,1),'Z') <= 0) {
$tzsofar.="/" . $stz[$jkh];
$lpv=str_replace(" ","%20",$stz[$jkh]);
$jkh++;
}
//if (isset($_GET['x'])) file_put_contents("xx.html", "1:" . $tzsofar . "
" . $inwithtz . "
" . $GETtitle . "
");
$dtz=new DateTimeZone($tzsofar);
//if (isset($_GET['x'])) file_put_contents("xx.html", "2:" . $tzsofar . "
" . $inwithtz . "
" . $GETtitle . "
");
$cloc=$dtz->getLocation();
// ,[51.5072,-0.1275,~London~]
//$ctzsfa.=$cm . "//www.rjmprogramming.com.au/PHP/Map/map.php?title=TimeZone%20Place&onclick=y&label=['Lat',&value='Lon','Name']&data=" . ", [" . $cloc['latitude'] . "," . $cloc['longitude'] . ",~" . $lpv . "~]";
//$itzsfa++;
//$cm="#";
//$bl="//www.rjmprogramming.com.au/PHP/Map/map.php?title=TimeZone%20Place&onclick=y&label=['Lat',&value='Lon','Name']&data=";
//if (isset($_GET['x'])) file_put_contents("xx.html", "3:" . $tzsofar . "
" . $inwithtz . "
" . $GETtitle . "
");
$okcc=$cloc['country_code'];
//if (isset($_GET['x'])) file_put_contents("x.html", "" . $fcs . "
" . $inwithtz . "
" . $GETtitle . "
");
} catch (Exception $eqwd) { }
}
}
$ootz = new DateTimeZone("UTC");
$jj=0;
$dorigin_dt = new DateTime("now", $ootz);
for ($best1=0; $best1getLocation();
if (strcmp($okcc,$cloc['country_code']) == 0) {
$yokcc=true;
// ,[51.5072,-0.1275,~London~]
//$ctzsfa.=$cm . "//www.rjmprogramming.com.au/PHP/Map/map.php?title=TimeZone%20Place&onclick=y&label=['Lat',&value='Lon','Name']&data=" . ", [" . $cloc['latitude'] . "," . $cloc['longitude'] . ",~" . str_replace("_","%20",explode("/",$nearname[$best1])[-1 + sizeof(explode("/",$nearname[$best1]))]) . "~]";
//$itzsfa++;
//$cm="#";
//$bl="//www.rjmprogramming.com.au/PHP/Map/map.php?title=TimeZone%20Place&onclick=y&label=['Lat',&value='Lon','Name']&data=";
}
} catch (Exception $epou) {
//if (isset($_GET['x']) && strpos($epou->getMessage(), "Unknown or bad timezone") === false) file_put_contents("xxxxxx.html", $epou->getMessage());
}
}
if ($yokcc || strpos(str_replace("+("," (",str_replace(","," ",$GETtitle)), (" " . $nearname[$best1] . "/")) !== false) {
if ($inwithtz == "") {
$inwithtz=",[";
$sdp="~]";
$pdp="";
$lastb="";
} else if (strpos($inwithtz,"~") === false) {
$inwithtz=",[";
$sdp="~]";
$pdp="";
$lastb="";
} else {
$lastb="[";
}
try {
//if (isset($_GET['x'])) echo "here
";
//if (isset($_GET['x'])) exit;
if (!$yokcc) $dtz = new DateTimeZone($nearname[$best1]);
$dremote_dt = new DateTime("now", $dtz);
$ooffset = ($dtz->getOffset($dremote_dt) - $ootz->getOffset($dorigin_dt)) / 3600;
// ,[-33.869999,151.210007,~Sydney, Australia|11https://www.wunderground.com/q/zmw:00000.16.94768|13:10|Australia/Sydney~],[33.869999,-28.78999300000001,~Other side of the world to ... Sydney, Australia| | | ~]
$xw="";
//$arContext['http']['timeout'] = 3;
//$context = stream_context_create($arContext);
$ddb=@file_get_contents("HTTP://autocomplete.wunderground.com/aq?query=" . str_replace(" ","%20",str_replace("-"," ",str_replace("_"," ",explode("/",$nearname[$best1])[-1 + sizeof(explode("/",$nearname[$best1]))] . "," . (substr($fcs,1)))))); //,0,$context);
//if (isset($_GET['x'])) file_put_contents("xx.html", "" . "HTTP://autocomplete.wunderground.com/aq?query=" . str_replace(" ","%20",str_replace("-"," ",str_replace("_"," ",explode("/",$nearlatitude[$best1])[-1 + sizeof(explode("/",$nearlatitude[$best1]))] . "," . (substr($fcs,1))))) . "");
if (sizeof(explode('"l": "', $ddb)) == 2) {
$restdd=explode('"',explode('"l": "', $ddb)[1])[0];
$xw="https://www.wunderground.com" . $restdd;
}
//if (strlen($fcs) > 1) $fcs=""; //"%20" . substr($fcs,1);
if ($yokcc) {
$inhereto.=$pdp . $nearlatitude[$best1] . "," . $nearlongitude[$best1] . ",~" . str_replace(" |","|",explode("/", $nearname[$best1])[-1 + sizeof(explode("/", $nearname[$best1]))] . $fcs . "|" . $ooffset . $xw . "|" . $dremote_dt->format('Y-m-d_H:i:s') . "|" . $nearname[$best1]) . $sdp;
$ctzsfa.=$cm . "//www.rjmprogramming.com.au/PHP/Map/map.php?title=TimeZone%20Place&onclick=y&label=['Lat',&value='Lon','Name']&data=" . ", [" . $nearlatitude[$best1] . "," . $nearlongitude[$best1] . ",~" . $nearname[$best1] . "~]";
$itzsfa++;
$cm="#";
$bl="//www.rjmprogramming.com.au/PHP/Map/map.php?title=TimeZone%20Place&onclick=y&label=['Lat',&value='Lon','Name']&data=";
} else {
$xbitsare=explode((" " . $nearname[$best1] . "/"), str_replace("+("," (",str_replace(","," ",$GETtitle)));
$inhereto.=$pdp . $nearlatitude[$best1] . "," . $nearlongitude[$best1] . ",~" . str_replace(" |","|",explode("/", $nearname[$best1])[-1 + sizeof(explode("/", $nearname[$best1]))] . $fcs . "|" . $ooffset . $xw . "|" . explode(" ", $xbitsare[1])[0] . "|" . $nearname[$best1]) . $sdp;
$ctzsfa.=$cm . "//www.rjmprogramming.com.au/PHP/Map/map.php?title=TimeZone%20Place&onclick=y&label=['Lat',&value='Lon','Name']&data=" . ", [" . $nearlatitude[$best1] . "," . $nearlongitude[$best1] . ",~" . $nearname[$best1] . "~]";
$itzsfa++;
$cm="#";
$bl="//www.rjmprogramming.com.au/PHP/Map/map.php?title=TimeZone%20Place&onclick=y&label=['Lat',&value='Lon','Name']&data=";
}
if ($sdp == "~]") {
$pdp=",[";
} else {
$pdp="[";
}
} catch (Exception $excc) { }
}
}
}
//if (isset($_GET['x'])) file_put_contents("xxx.html", "" . $inhereto . "
" . $inwithtz . "
" . $GETtitle . "
");
$inwithtz=str_replace($inherefrom, $inhereto . $lastb, $inwithtz);
if ($inhereto != ",['") {
echo "\n paramdata=paramdata.replace(',' + '[','" . str_replace(',[',",' + '[",$inhereto . $lastb) . "'); \n pardata=encodeURIComponent(paramdata); \n";
if (strlen($fcs) > 1 && $tzsofar != "") {
$flagfor=@file_get_contents("HTTP://emojiterra.com/flag-for-" . str_replace(" ","-",strtolower(substr($fcs,1))));
if (strpos($flagfor, ">HTML decHTML dec | ", $fbitsare[1])[1])[0])))));
$ehd=str_replace("&","&",explode("<",explode(">", $fbitsare[1])[1])[0]);
$GETtitle=str_replace($tzsofar, " " . $ehd . " " . $tzsofar, $GETtitle);
if (strpos($GETtitle, "TimeZone Offset ") !== false) { $agy="Y"; }
}
}
}
//if (isset($_GET['x'])) file_put_contents("xxxx.html", "" . $inhereto . "
" . $inwithtz . "
" . $GETtitle . " ");
if (strpos($inwithtz, "]") === false) {
//$inwithtz=urldecode($inwithtz);
$inwithtz=urldecode(urldecode($inwithtz));
}
$outwithouttz=$inwithtz;
$wparts=explode("]", $inwithtz);
if (strpos($inwithtz, "|") !== false) {
if ($dllt == "") {
$withinbar=explode("|", $inwithtz);
$stuff="";
$gweather="";
for ($iiz=0; $iiz" . $stuff . " |