代码如下:
1 [e:loop={'select * from phome_enewszt where classid=3 order by ztid desc',10,24,0}]
2 <li class="nopic"><span><?=format_datetime($bqr[addtime],'m-d')?></span><a href="<?=$bqr['ztpath']?>" title="<?=$bqr['ztname']?>"><?=$bqr['ztname']?></a></li>
3 [/e:loop]
注:
默认phome_enewszt
使用时别忘记修改表的前缀phome_
中国足彩网信息请查看IT技术专栏