帝国CMS自带的内容页上下页模板变量上一篇:!info.pre]下一篇:!info.next]缺点:!info.pre] 和 !info.next] 中封装的 a标签的内容无法定制灵动标签+SQL语句[e:loop={select * from [!db.pre!]ecms_news where id$nav
第一种:在最终栏目调用=$clas_r[$GLOBALS[navclasid]][bname]第二种:万能的,哪里都行,应为是直接查询数据库输出的! $cr=$empirefetch1("select bname from phome_enewsclas where clasid='".$GLOBALS[navclasid]."'
本文是介绍的帝国cms内容页SQl方式调用当前TAG标签的方式 具体调用代码如下:$fr=$empirefetch1(select infotags from {$dbtbpre}ecms_news_data_{$navinfor[stb]} where id=$navinfor[id]);$infotags=$fr[infot