帝国CMS统计总文章数,会员数,最新会员今日文章数,昨日文章数
<?php
$members=$empire->gettotal("select count(*) as total from phome_enewsmember");
$newmember=$empire->fetch1("select userid,username from phome_enewsmember order by userid des...
帝国cms灵动标签调用任意栏目名称和链接的方法
示例:
[e:loop={"select * from phome_enewsclass where classid in (82,83,86,87,88,89,90,91,93) order by myorder asc",0,24,0}]
<?=$bqr[classname]?>
[/e:loop]
备注:排列方式是按照后台栏...
[e:loop={"select * from phome_ecms_news where classid='$GLOBALS[navclassid]' limit 1",1,24,0}]
<?php
$fr=$empire->fetch1("select newstext from phome_ecms_news_data_{$bqr[stb]} where id='$bqr[id]'");
?>
...