如何调用帝国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>
评论前必须登录!
注册