Parašė Boxster· 2011 Spa. 18 17:10:11
#2
openside("<center>Laukiam kažko...</center>");
?>
<center>
<TABLE BORDER="5" CELLSPACING=""
CELLPADDING="" WIDTH="" HEIGHT=""
ALIGN="" VALING="" BGCOLOR=""
BORDERCOLOR="" BACKGROUND="">
<font color='blue'>
<SCRIPT LANGUAGE="JAVASCRIPT">
today = new Date();
BigDay = new Date("January 1, 2012")
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( "<strong>Iki kažko liko </strong><b>"+daysLeft+"</b></b><strong> dienos,</strong> <b>"+hrsLeft+"</b> <strong>valandų ir </strong><b>"+minsLeft+"</b> <strong>min.</strong>");
</SCRIPT>
</font>
</td>
</tr>
</table></center>
<?
closeside();
Va taip ant greičio sumečiau pasiredaguosi kaip tau reikia.