<?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;
?>
今日: [totaldata]’news’,2,1[/totaldata] ,
昨日: [ztotal]欄目ID[/ztotal] ,
主題: <?=$tzcount?> ,
帖子: <?=$pltzcont?> ,
用戶: <?=$members?>,
最新會員: <?=$newmember[username]?>