本版活跃用户排行(按发帖数)

时间:2018-12-25 09:17作者:网友投稿
这个也不知道默认有没有。 有找的时间都查完了。   是在帖子列表页用的。
<!--{eval $hotuser = DB::fetch_all("select a.authorid,a.author,count(a.authorid) as num,b.fid from ".DB::table("forum_post")." a left join ".DB::table("forum_forum")." b on b.fid=a.fid where b.`fid`='$_G[fid]' group by a.`authorid` order by `num` desc limit 0,5");}-->
<!--{loop $hotuser $value}-->
此处省略一堆……
<!--{/loop}-->
复制代码
按发帖数排行,不单是主题,也含回复,回复也算活跃的一种,不是吗。

免责声明:本站所有文章和图片均来自用户分享和网络收集,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。