调用会员投稿榜 CMS3


{php $sql='SELECT uid,author,count(*) as tt FROM `@#'.SITE_ID.'_news` WHERE status=9 GROUP BY uid ORDER BY tt DESC LIMIT 10';}
{list action=sql sql='$sql'}
 {$t.author} 投稿:{$t.tt}篇文章 
{/list}{$error}


签名:这个人很懒,什么也没有留下!
最新回复 (0)
返回