Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: įdėjimas

Parašė iSound· 2010 Kov. 19 20:03:40
#5

 echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
   echo "<td>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
 echo "<td background='".THEME."images/img_02.png' height='191' >";
 ?>
<td background='<?php print(THEME) ?>images/img_02.png' height='191' >
<SCRIPT TYPE="TEXT/JAVASCRIPT">
today = new Date();
BigDay = new Date("June 01, 2010")
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( " "+daysLeft+"</b> dienų, <b>"+hrsLeft+"</b> valandų ir <b>"+minsLeft+"</b> min.");
</SCRIPT>
</td>
<?php
 echo "</td>\n";
   echo "</tr>\n</table>\n";
   echo "</td>\n</tr>\n</table>\n";



Redagavo iSound· 2010 Kov. 19 20:03:52