这个也不知道默认有没有。
有找的时间都查完了。
是在帖子列表页用的。
<!--{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}--> 复制代码 |