帝国CMS统计今日文章数,昨日文章数,总文章数,会员数,最新会员
$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>
插件下载说明
未提供下载提取码的插件,都是站长辛苦开发!需要的请联系本站客服或者站长!
织梦二次开发QQ群
本站客服QQ号:862782808(点击左边QQ号交流),群号(383578617) 如果您有任何织梦问题,请把问题发到群里,阁主将为您写解决教程!
转载请注明: 织梦模板 » 帝国CMS统计今日文章数,昨日文章数,总文章数,会员数,最新会员