来源:自学PHP网 时间:2014-11-30 17:03 作者: 阅读:次
[导读] {dede:sql sql= "select count(*) as c from @__archives where channel=1 "}共有文章:[field:c ]篇{ dede:sql} {dede:sql sql= "select count(*) as c from @__archives where channel=2 "}共有图集:[field:c ]个{ dede:sql}{dede:sql sql= "se...
Dedecms中常用数据汇总sql语句(文章/软件/评论/会员){dede:sql sql="select count(*) as c from detest_archives where channel=1"}共有文章:[field:c /]篇{/dede:sql} {dede:sql sql="select count(*) as c from detest_archives where channel=2"}共有图集:[field:c /]个{/dede:sql} {dede:sql sql="select count(*) as c from detest_archives where channel=3"}共有软件:[field:c /]个{/dede:sql} {dede:sql sql="select count(*) as c from detest_feedback"}共有评论:[field:c /]条{/dede:sql} {dede:sql sql="select count(mid) as c from detest_member"}共有会员:[field:c /]名{/dede:sql} {dede:sql sql="SELECT count( * ) AS c FROM detest_archives WHERE pubdate > UNIX_TIMESTAMP( CURDATE( ) ) "}今日更新:[field:c /]篇{/dede:sql} 总共留言:{dede:sql sql="select count(*) as cc From detest_guestbook"}[field:cc/]{/dede:sql}条 {dede:sql sql="select sum(click) as c from detest_archives"}文章阅读:[field:c /]人次{/dede:sql} |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com