帝国CMS内容模板 如何调用标题分类地址
免费资源网 – https://freexyz.cn/
帝国CMS内容模板 如何调用标题分类地址?
方法1:标签调用
- [!–tt.url–]
方法2:$navinfor变量+SQL语句
- <?php $_nowtype=$empire->fetch1(“select * from {$dbtbpre}enewsinfotype where typeid=’$navinfor[ttid]'”);?>
- 标题分类名称带链接:<a href=”[!–news.url–]<?=$_nowtype[tpath]?>/” title=”<?=$_nowtype[tname]?>”><?=$_nowtype[tname]?></a>
免费资源网 – https://freexyz.cn/
赞