11.16 应用举例 专题


avatar
pcwnas 2022-10-04 238

灵动标签调用专题

[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']} ")?>

暂无评论

当前仅支持登录后发布评论