个人日记

您现在的位置是:首页 > 学习笔记 > 帝国CMS

帝国CMS

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

2018-07-20 00:00:00 帝国CMS 人点赞
[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/?searchi
[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........)

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

830*140广告

文章评论