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

来自:互联网
时间:2021-11-07
阅读:

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

方法1:标签调用

  1. [!--tt.name--]

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

  1. <?php $_nowtype=$empire->fetch1("select * from {$dbtbpre}enewsinfotype where typeid='$navinfor[ttid]'");?>
  2. <?=$_nowtype[tname]?>
返回顶部
顶部