易仿帝国yfdiguo.com

您当前的位置:首页 > 问题库

帝国CMS调用最新300条中点击率最高的2条的方法

zcmcss发表于2017-12-11问题库
帝国CMS调用最新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 '.$dbtbpre.'ecms_article as a,'.$dbtbpre.'enewsclass b where a.classid=b.classid and a.checked=1 order by a.newstime desc limit 200) as new300 order by  new300.onclick desc limit 2',1,24,0}]
<li>
<a href="[!---news.url--]<?=$bqr[classpath].'/'.$bqr[newspath].'/'.$bqr[id].$bqr[filetype ]?>" target="_blank" title="<?=$bqr[title]?>"><h3><?=sub($bqr[title],0,30,false)?></h3></a>
<spn><?=sub($bqr[smalltext],0,150,false)?>……</span>
</li>
[/e:loop]

热门问题

©2017 易仿帝国yfdiguo.com


友情链接: 阿里云优惠网| 阿里云推荐码| 阿里云教程| 莫愁博客|
♥ www.yfdiguo.com
联系作者QQ: