首页 > CMS建站 > 帝国Empire > 正文

帝国CMS统计今日文章数,昨日文章数,昨日文章数,会员数,最新会员

2020-07-03 12:59:15
字体:
来源:转载
供稿:网友
这篇文章主要为大家详细介绍了帝国CMS统计今日文章数,昨日文章数,昨日文章数,会员数,最新会员,具有一定的参考价值,感兴趣的小伙伴们可以参考一下,有需要的朋友可以收藏方便以后借鉴。

帝国CMS统计今日文章数,昨日文章数,总文章数,会员数,最新会员,话不多说直接上代码。

<?php $members=$empire->gettotal("select count(*) as total from phome_enewsmember");$newmember=$empire->fetch1("select userid,username from phome_enewsmember order by userid desc limit 1");$tzcount=$empire->gettotal("select count(*) as total from phome_ecms_news");$plnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewspl");$pltzcont=$tzcount+$plnum;?><div class="forumstatus">今日: <em class="numeric">[totaldata]'news',2,1[/totaldata]</em> ,昨日: <em class="numeric">[ztotal]栏目ID[/ztotal]</em> ,主题: <em class="numeric"> <?=$tzcount?> </em> ,帖子: <em class="numeric"> <?=$pltzcont?> </em> ,用户: <em class="numeric"> <?=$members?> </em>,最新会员: <em class="numeric"> <?=$newmember[username]?> </ em></div>


以上就是帝国CMS统计今日文章数,昨日文章数,昨日文章数,会员数,最新会员的全部内容,希望对大家的学习和解决疑问有所帮助,也希望大家多多支持错新网。
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表