具体代码如下:(直接模板里用PHP输出即可)
会员数量:
<?=$empire->gettotal("select count(*) as total from phome_enewsmember");?>
留言数量:
<?=$empire->gettotal("select count(*) as total from phome_enewsgbook");?>
评论数量:
<?=$empire->gettotal("select count(*) as total from phome_enewspl_1");?>表前缀修改成自己程序的表前缀。