帝国CMS 列表模版显示新闻正文

页面模板内容(*):

        <!----新闻内容 ---------->
        <div class="content ">
         [!--empirenews.listtemp--]
                <!--list.var1-->

        [!--empirenews.listtemp--]  
              <!----新闻内容 ---------->

列表内容模板(list.var) (*):

$fr=$empire->fetch1("select newstext from ".$dbtbpre."ecms_news_data_{$r[stb]} where id='$r[id]'"); 
$listtemp='<div class="ico_title">[!--title--]</div><BR/>  [!--smalltext--]  <br/> '.$fr[newstext];
详见:帝国CMS 6.0功能解密之模板list.var支持程序代码
原文地址:https://www.cnblogs.com/jifeng/p/2185987.html