function myifer() { parent.document.getElementById('myif').src=document.URL.split('#')[0].split('?')[0] + '?rand=' + Math.floor(Math.random() * 1987564) + '&tz=' + (location.search.split('tz=')[1] ? location.search.split('tz=')[1].split('&')[0] : ''); } function onl() { if (window.parent && document.URL.indexOf('&') != -1) { if (parent.document.getElementById('ds')) { var huh=parent.document.getElementById('ds').innerHTML; parent.document.getElementById('ds').innerHTML='
'; // + huh; setTimeout(myifer, 2000); } } else if (!document.getElementById('myif')) { document.body.innerHTML+=''; } else if (1 == 2) { document.getElementById('myif').src=document.URL.split('#')[0].split('?')[0] + '?rand=' + Math.floor(Math.random() * 1987564) + '&tz=' + (location.search.split('tz=')[1] ? location.search.split('tz=')[1].split('&')[0] : ''); setTimeout(onl, 2000); } } "; if (isset($_GET['tz'])) { //while (1) { //sleep(1); echo "" . $scr . "

" . passthru("TZ=" . urldecode($_GET['tz']) . " date") . "

"; //} //exit; } else { echo "" . $scr . "
"; } } else { if (file_exists("stop_x1.x1")) { unlink("stop_x1.x1"); } $line = readline("Optionally specify timezone that is not your local one eg. Europe/Berlin (else return): "); if (strpos(trim($line), "/") !== false) { file_put_contents("stop_x1.x1", ""); sleep(2); exec("TZ=" . $line . " ./x1 " . $line); exit(1); } else { exit(0); } } ?>