帝国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;
?>
今日: [totaldata]'news',2,1[/totaldata] ,
昨日: [ztotal]栏目ID[/ztotal] ,
主题: =$tzcount?> ,
帖子: =$pltzcont?> ,
用户: =$members?>,
最新会员: =$newmember[username]?>