11.16 应用举例 专题
来源:网络作者:站长
灵动标签调用专题
1 2 3 | [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] |
专题统计:
1 | <?= $empire ->gettotal( "select count(*) as total from {$dbtbpre}enewsztinfo where ztid={$bqr['ztid']} " )?> |
你觉得文章内容怎么样