";
$mone=2;
$mstart=3;
if ((strpos(urldecode($_POST[$name]), "undefined") !== false && isset($_POST['aregeographicals']))) {
$bps=explode('undefined|~', urldecode($_POST[$name]));
$mone=1;
$mstart=2;
$bps[1]=explode('~', $bps[1])[0];
} else {
$bps=explode('~', urldecode($_POST[$name]));
}
$bandp=explode('~', $bps[1])[0];
//
$isregional=false;
if (isset($_POST['regional'])) { $isregional=true; }
$theframeoh='';
if (strpos($bps[$ibps], '-') !== false) {
if (strlen(explode('-', $bps[$ibps])[0]) == 2) {
if (strpos($ourtzlist, ',' . strtoupper(explode('-', $bps[$ibps])[0]) . ',') !== false) {
$thiscntis=explode('/', explode('>', explode(',' . strtoupper(explode('-', $bps[$ibps])[0]) . ',', $ourtzlist)[1])[1])[0];
if (strpos($continfo, ';' . $thiscntis . ';') !== false) {
if ($crange == $wrange || $crange == ':fixed=' . explode(':', explode(':', explode(';' . $thiscntis . ';', $continfo)[1])[1])[0]) {
$crange=':fixed=' . explode(':', explode(':', explode(';' . $thiscntis . ';', $continfo)[1])[1])[0];
} else {
$crange=$wrange;
}
}
}
$isregional=true;
$_POST['data']=str_replace($bps[$ibps], explode('-', $bps[$ibps])[0],$_POST['data']);
}
} else if (strpos($bps[$ibps], urlencode('-')) !== false) {
if (strlen(explode(urlencode('-'), $bps[$ibps])[0]) == 2) {
$thiscntis=explode('/', explode('>', explode(',' . strtoupper(explode(urlencode('-'), $bps[$ibps])[0]) . ',', $ourtzlist)[1])[1])[0];
if (strpos($continfo, ';' . $thiscntis . ';') !== false) {
if ($crange == $wrange || $crange == ':fixed=' . explode(':', explode(':', explode(';' . $thiscntis . ';', $continfo)[1])[1])[0]) {
$crange=':fixed=' . explode(':', explode(':', explode(';' . $thiscntis . ';', $continfo)[1])[1])[0];
} else {
$crange=$wrange;
}
}
$isregional=true;
$_POST['data']=str_replace($bps[$ibps], explode(urlencode('-'), $bps[$ibps])[0],$_POST['data']);
}
}
for ($ibps=$mstart; $ibps', explode(',' . strtoupper(explode('-', $bps[$ibps])[0]) . ',', $ourtzlist)[1])[1])[0];
if (strpos($continfo, ';' . $thiscntis . ';') !== false) {
if ($crange == $wrange || $crange == ':fixed=' . explode(':', explode(':', explode(';' . $thiscntis . ';', $continfo)[1])[1])[0]) {
$crange=':fixed=' . explode(':', explode(':', explode(';' . $thiscntis . ';', $continfo)[1])[1])[0];
} else {
$crange=$wrange;
}
}
}
$isregional=true;
$_POST['data']=str_replace($bps[$ibps], explode('-', $bps[$ibps])[0],$_POST['data']);
} else if (strpos($bps[$ibps], urlencode('-')) !== false) {
$thiscntis=explode('/', explode('>', explode(',' . strtoupper(explode(urlencode('-'), $bps[$ibps])[0]) . ',', $ourtzlist)[1])[1])[0];
if (strpos($continfo, ';' . $thiscntis . ';') !== false) {
if ($crange == $wrange || $crange == ':fixed=' . explode(':', explode(':', explode(';' . $thiscntis . ';', $continfo)[1])[1])[0]) {
$crange=':fixed=' . explode(':', explode(':', explode(';' . $thiscntis . ';', $continfo)[1])[1])[0];
} else {
$crange=$wrange;
}
}
$isregional=true;
$_POST['data']=str_replace($bps[$ibps], explode(urlencode('-'), $bps[$ibps])[0],$_POST['data']);
}
}
if (!isset($_POST['onclick'])) { $_POST['onclick']='y'; }
if ((6 == 6 || strpos(str_replace('+',' ',urldecode($_POST['title'])), ';') !== false) && strpos(str_replace('+',' ',urldecode($_POST['data'])), '|undefined') !== false) {
$isregional=true; // recent
//file_put_contents('zz.zz', $_POST['data']);
$dm='%20';
if (strpos($_POST['data'], '+') !== false) {
$dm='+';
} else if (strpos($_POST['data'], ' ') !== false) {
$dm=' ';
}
$dataparts=explode('' . $dm . ',' . $dm . '', $_POST['data']);
for ($kdata=0; $kdata';
//
$theframeoh="";
$prechartdiv="" . $theframeoh . " | ";
$postchartdiv=" | ";
} else {
$theframeoh=" |