帝国CMS内容模板 如何调用标题分类名称

免费资源网,https://freexyz.cn/

帝国CMS内容模板 如何调用标题分类名称?

方法1:标签调用

  1. [!–tt.name–]

方法2:$navinfor变量+SQL语句

  1. <?php $_nowtype=$empire->fetch1(“select * from {$dbtbpre}enewsinfotype where typeid=’$navinfor[ttid]'”);?>
  2. <?=$_nowtype[tname]?>
免费资源网,https://freexyz.cn/