摘要: 代码如下:[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&
代码如下:
[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_