帝国cms二次开发如何调用会员名及投稿数量排名
2020-04-10 站长 站长日志
帝国cms如何调用会员名及投稿数量排名
<table
>
[e:loop={'SELECT userid, username, COUNT( userid ) AS total FROM phome_ecms_news GROUP BY userid',10,24,0,'','total DESC'}]
<
tr
>
<
td
><?=$bqno?></
td
>
<
td
><?=$bqr[username]?></
td
>
<
td
><?=$bqr[total]?></
td
>
</
tr
>
[/e:loop]
</
table
>