<?
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$time_start=getmicrotime();
require("class/connect.php");
include("class/db_sql.php");
$link=db_connect();
$it86=new mysqlquery();
?>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<?
$scource=$it86->query("select newsid,newstitle,newsdate from news where news.newspage=1 and isallow=1 and isdelete=0 order by newsid desc limit 20");
while ($rs=$it86->fetch($scource)){
?>
<tr>
<td width="6%" class="underline"><img src="image/soft-3.gif" width="15" height="9"></td>
<td width="10%" nowrap class="underline"><a href="news/newssubcate.php?smallcateid=<?=$rs['smallcateid']?>" target="_blank">[<?=$rs['smallcatename']?>]</a></td>
<td width="65%" class="underline"><a href="news/readnews.php?newsid=<?=$rs['newsid']?>" title="<?=$rs['newstitle']?>" target="_blank"><?=$rs['newstitle']?></a></td>
<td width="19%" nowrap class="underline"><?=$rs['newsdate']?></td>
</tr>
<?
}
?>
<tr>
<td colspan="4"><div align="right"><a href="news/newssubcate.php?bigcateid=<?=$bigcateid?>"><img src="image/more.jpg" width="58" height="15" border="0"></a></div></td>
</tr>
</table>
<?
$time_end=getmicrotime();
$c_time=$time_end-$time_start;
echo("TIME:".$c_time);
db_close();
$it86=NULL;
?>
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$time_start=getmicrotime();
require("class/connect.php");
include("class/db_sql.php");
$link=db_connect();
$it86=new mysqlquery();
?>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<?
$scource=$it86->query("select newsid,newstitle,newsdate from news where news.newspage=1 and isallow=1 and isdelete=0 order by newsid desc limit 20");
while ($rs=$it86->fetch($scource)){
?>
<tr>
<td width="6%" class="underline"><img src="image/soft-3.gif" width="15" height="9"></td>
<td width="10%" nowrap class="underline"><a href="news/newssubcate.php?smallcateid=<?=$rs['smallcateid']?>" target="_blank">[<?=$rs['smallcatename']?>]</a></td>
<td width="65%" class="underline"><a href="news/readnews.php?newsid=<?=$rs['newsid']?>" title="<?=$rs['newstitle']?>" target="_blank"><?=$rs['newstitle']?></a></td>
<td width="19%" nowrap class="underline"><?=$rs['newsdate']?></td>
</tr>
<?
}
?>
<tr>
<td colspan="4"><div align="right"><a href="news/newssubcate.php?bigcateid=<?=$bigcateid?>"><img src="image/more.jpg" width="58" height="15" border="0"></a></div></td>
</tr>
</table>
<?
$time_end=getmicrotime();
$c_time=$time_end-$time_start;
echo("TIME:".$c_time);
db_close();
$it86=NULL;
?>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货