帝国cmsPHP语句统计全站tags关键词数量/统计全站栏目数量

统计全站TAGS数量写法:

<?php
$ttt=$empire->gettotal("select count(*) as total from zhan_enewstags");
?>
<?=$ttt?>

同样可以举一反三,统计全站栏目总数量:

 

<?php
$ccc=$empire->gettotal("select count(*) as total from zhan_enewsclass");
?>
<?=$ccc?>