首页 > CMS > 织梦DEDE > 正文

DedeCMS V5.5 网站信息统计代码大全

2024-07-12 08:39:23
字体:
来源:转载
供稿:网友
目前为止,最全的dedecms V5.5网站信息统计代码,有图为证:       代码如下:   {dede:sql sql="select count(mid) as c from dede_member "}共有会员:[field:c /] 名{/dede:sql}  {dede:sql sql="select count(id) as c from dede_archives where from_unixtime(pubdate,'%m') = month(curdate( ))"}本月更新:[field:c /] 篇{/dede:sql}  {dede:sql sql="select count(*) as c from dede_archives where channel=1"}共有设计作品:[field:c /] 篇{/dede:sql}  {dede:sql sql="select count(*) as c from dede_archives where channel=3"}共有设计素材:[field:c /] 款{/dede:sql}  {dede:sql sql="select count(id) as c from dede_archives where pubdate > unix_timestamp(curdate())"}今日更新:[field:c /] 篇{/dede:sql}  {dede:sql sql="select count(id) as c from dede_feedback"}共产生了:[field:c /] 条评论{/dede:sql}  {dede:sql sql="select sum(click) as c from dede_archives"}您好!您是本站第:[field:c /] 客人!{/dede:sql}
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表