Parašė anonymou5· 2011 Sau. 14 13:01:36
#2
openside(Sventes.pavadinimas);
?>
<SCRIPT LANGUAGE="JAVASCRIPT">
today = new Date();
BigDay = new Date("August 16, 2007")
msPerDay = 24 * 60 * 60 * 1000 ;
timeLeft = (BigDay.getTime() - today.getTime());
e_daysLeft = timeLeft / msPerDay;
daysLeft = Math.floor(e_daysLeft);
e_hrsLeft = (e_daysLeft - daysLeft)*24;
hrsLeft = Math.floor(e_hrsLeft);
minsLeft = Math.floor((e_hrsLeft - hrsLeft)*60);
document.write( "(Liko iki svetes:) "+daysLeft+"</b> dienų, <b>"+hrsLeft+"</b> valandų ir <b>"+minsLeft+"</b> min.");
</SCRIPT>
<?
closeside();
?>
Redagavo anonymou5· 2011 Sau. 14 13:01:22