灵动标签调用专题
[e:loop={'select * from [!db.pre!]enewszt where zcid=1 order by ztid limit 10',10,24,0}] <li><a href="<?=$bqr[ztpath]?>" target="_blank"><i><img src="<?=$bqr[ztimg]?>" ></i><span><b><?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid={$bqr['ztid']} ")?></b><?=$bqr[ztname]?></span> </a> </li> [/e:loop]
专题统计:
<?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid={$bqr['ztid']} ")?>
当前仅支持登录后发布评论