[e:loop={"ref="https://xwenw.com/tag/select" target="_blank">select searchid,keyboard,result_num,searchtime from [!db.pre!]enewssearch where FROM_UNIXTIME(searchtime)>SUBDATE(NOW(),INTERVAL 26 DAY) order by onclick desc limit 10",10,24,0}]
<a href=" <?=$bqrs[newsurl]?>e/search/result/?searchid=<?=$bqr[searchid]?>" target="_blank"><?=$bqr[keyboard]?></a>(有<?=$bqr[result_num]?>条,<?=date('Y-m-d',$bqr[searchtime])?>)<br>
[/e:loop]
order by onclick desc 就是按搜索次数算的

数据表enewssearch  中的 onclick 为搜索次数

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。