帝国CMS搜索关键字统计(和tag一样)灵动方法!
2018-07-20 站长 站长日志
[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]?>条)
[/e:loop]
指定一个栏目where iskey=0 and classid=1
指定多个栏目where iskey=0 and classid in(1,2,3........)
<a href="/e/search/result/?searchid=<?=$bqr[searchid]?>" target="_blank"><?=$bqr[keyboard]?></a>(记录数:<?=$bqr[result_num]?>条)
[/e:loop]
指定一个栏目where iskey=0 and classid=1
指定多个栏目where iskey=0 and classid in(1,2,3........)