select extract(epoch from now());
select extract('epoch' from time_stop at time zone 'Europe/Warsaw')
as time_stop_timestamp from tabela 13 lut 2015
select extract(epoch from now());
select extract('epoch' from time_stop at time zone 'Europe/Warsaw')
as time_stop_timestamp from tabela header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Content-Type: unknown");
header("Content-Disposition: attachment; filename=".urlencode($filename));
header("Content-Length: ".strlen($content)."");
header('Pragma: public');
echo $content;
exit(); Funckja wykorzystując alert do wyświetlania komunikatu dla użytkownika
function zapytanie(name) {
var is_checked = zaznaczono(name);
var form = document.forms[name];
if (is_checked) {
form.a.value = 'z';
form.submit();
} else {
alert('UWAGA ! - wybierz opcję wycieczki red');
return;
}
}Funckja sprawdza wartości wpisane do fromularza i wyświetla alert.
function scn() {
var back = confirm('Czy wykonać aktualizacje ?');
return back;
}
function fstart() {
var wynik = scn();
if (wynik == false) return wynik;
var elem = document.getElementById("synch");
elem.src = "synchronize.php?id=194";
}
window.onload = fstart; if(document.getElementById('the_iframe_map')!=undefined)
parent.document.frames['the_iframe_map'].window.mappos(lat, lng);