小李SEO博客

网站优化服务

帝国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如果信息为当天就加New标志 下一篇:帝国CMS利用PHP判断当前页面是否为首页
相关帝国cms文章阅读
SEO公司排名
 
QQ在线咨询
SEM竞价推广
137-1296-7640
SEO优化外包
137-1296-7640