然猫网的标签如下:
[e:loop={'select userid, username,count(username) as num from [!db.pre!]ecms_news where newstime > UNIX_TIMESTAMP()-86400*30 group by username order by num desc limit 0,10',0,24,0}]
<li><em class="arry"></em><a target="_blank" href="/e/space/?userid=<?=$bqr[userid]?>"><?=$bqr[username]?></a>(<?=$bqr[num]?>)</li>
[/e:loop]
备注:30 日内,用户名(带链接)-投稿数量,显示10条
效果如下:
演示地址:www.ranmao.com
至于显示样式,可自定义扩展就行了。
还没有评论,来说两句吧...