[e:loop={"select searchid,keyboard,result_num from phome_enewssearch where iskey=0 order by onclick desc limit 10",10,24,0}]
<a href="/e/search/result/?searchid……
可以实现,调用最新300条信息中点中率最高的2条信息,而不是所有信息。[e:loop={'select * from (select a.id,a.title,a.newspath,a.newstime,b.classpath,b.classname,b.filetype,a.onclick,a.smalltext from '.$dbtbpr……
软件总下载数: <?=$empire->gettotal("select sum(totaldown) as total from phome_ecms_download")?>文章总浏览数:
<?=$empire->gettotal("select sum(onclick) as total from phome_ecms_news")?>……
帝国CMS内置的专题调用标签总是不理想,调用不方便,还是灵动标签调用来得方便实在。代码:[e:loop={'select ztid,ztname,ztimg,maxnum,intro,onclick,ztpath from [!db.pre!]enewszt where showzt=1 order by ztid limit……
用灵动标签调用调用最新DIGG顶的最多的文章:[e:loop={'select * from [!db.pre!]ecms_news where checked=1 order by diggtop desc,id desc limit 8',10,24,0}]
<li><a href="<?=$bqsr[titleurl]?>"><?=sub($bqr[titl……