织梦调用管理员发帖发文章排行代码如下:
{dede:sql sql="select u.id, u.uname, u.userid, u.usertype, (select count(*) from `dede_archives` where mid = u.id) as cfrom `dede_admin` u where u.usertype < 10 group by u.userid order by c desc,u.userid asc;"}<li><em class="n1">[field:global name=autoindex/]</em><span class="c1">[field:dd/]</span><a href="">[field:uname/]</a></li>{/dede:sql}
新闻热点
疑难解答