内容摘要
代码如下:[e:loop={&#39;select * from phome_enewszt where classid=3 order by ztid desc&#39;,10,24,0}]<li class="nopic"><span><?=format_datetime($bqr[addtime],&#39 文章正文

代码如下:

[e:loop={'select * from phome_enewszt where classid=3 order by ztid desc',10,24,0}]<li class="nopic"><span><?=format_datetime($bqr[addtime],'m-d')?></span><a href="<?=$bqr['ztpath']?>" title="<?=$bqr['ztname']?>"><?=$bqr['ztname']?></a></li>[/e:loop]

注:

默认phome_enewszt

使用时别忘记修改表的前缀phome_

代码注释