[e:loop={'3,1',4,0,0}] <?php $newimg=""; $goodimg=""; $topimg=""; //24小時(shí)內(nèi)的文章標(biāo)識(shí)為最新文章 if(time()-$bqr[truetime]<=1*24*3600){ $newimg="<img src='[!–news.url–]skin/three/img/NEW.gif' />"; } //推薦文章,包括推薦一,推薦二……等推薦的文章 if($bqr[isgood]==1){ $goodimg = "<img src='[!–news.url–]skin/three/img/HOT.gif' />";\ } //置頂文章 if($bqr[istop]==1){ $topimg = "<img src='[!–news.url–]skin/three/img/TOP.gif' />"; } ?> <li><?=$newimg?><?=$goodimg?><?=$topimg?><a href="<?=$bqsr[titleurl]?>"><?=esub($bqr[title],52)?></a></li> [/e:loop]