可以实现,调用最新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]未经允许不得转载:Just My Socks中文教程网 » 帝国CMS实现调用最新300条信息中点中率最高的2条信息而不是所有信息的效果
Just My Socks中文教程网
【教程】帝国cms生成文章报错502 Bad Gateway解决办法
帝国CMS使用教程:百度收录/e/extend/infocomment/commentajax.php?classid=xxxx&id=xxx


