<!--评估倒计时-->
<?php
$date = date("Y-m-d h:i:s");
$time1 = mktime(0,0,0,date("m"),date("d"),date("Y"));
$time2 = mktime(00,00,00,10,27,2007);
$diff = (int)(($time2-$time1)/(24*3600));
$a=(int)($diff/100);
$b=(int)(($diff-$a*100)/10);
$c=(int)($diff-$a*100-$b*10);
?>
<table width="299" height="280" border="0" align="center">
<tr>
<td height="280" background="tupian/picshow1.jpg">
<div id="Layer2" style="position:relative; width:34px; height:43px; z-index:2; left: 110px; top: 58px;"><img src="tupian/no_<?php echo $b ?>.gif" width="34" height="43" /></div>
<div id="Layer3" style="position:relative; width:34px; height:43px; z-index:2; left: 150px; top: 15px;"><img src="tupian/no_<?php echo $c ?>.gif" width="34" height="43" /></div>
\ </td>
</tr>
</table>
这是一段关于倒计时牌的代码!比古说今天(7.27日),显示出来的图片为:93天,实际上为92天,说来也奇怪服务器的时间没有什么问题,要到后台去更新一下首页时间才不会有问题