帝国CMS搜索关键字统计(和tag一样)灵动方法!

[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=<?=$bqr[searchid]?>" target="_blank"><?=$bqr[keyboard]?></a>(记录数:<?=$bqr[result_num]?>条)&nbsp;&nbsp;
[/e:loop]

指定一个栏目where iskey=0 and classid=1
指定多个栏目where iskey=0 and classid in(1,2,3……..)