Parašė nuken· 2009 Spa. 21 17:10:10
#10
Meginau neįšėjo panele yra, bet nėra turinio ;DD Tuščia penele. Parašiau
openside ("Laikas");
echo "<center>".$locale['WWOLD_004']." <span id=\"digitalclock\"></span></center>";
echo "<script type='text/javascript'>
function calctime()
{
var currenttime = new Date();
var hours = currenttime.getHours();
var minutes = currenttime.getMinutes();
var seconds = currenttime.getSeconds();
if (hours == 0)
{ hours = 12; }
if (hours < 10)
{ hours = \"0\" + hours; }
if (minutes < 10)
{ minutes = \"0\" + minutes; }
if (seconds < 10)
{ seconds = \"0\" + seconds; }
var clocklocation = document.getElementById('digitalclock'merkia akį;
clocklocation.innerHTML = hours + \":\" + minutes + \":\" + seconds;
setTimeout(\"calctime()\", 1000);
}
calctime();
</script>";
closeside();