帝国cms专题调用标题-简介-文章数-创建时间-浏览数
专题标题:&#091;!--pagetitle--]专题简介:&#091;!--class.intro--]专题缩略图地址:&#091;!--class.classimg--]专题下文章数:<?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where z……
专题标题:
[!--pagetitle--]
专题简介:
[!--class.intro--]
专题缩略图地址:
[!--class.classimg--]
专题下文章数:
<?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='$GLOBALS[navclassid]'")?>
专题创建时间:
[e:loop={"select addtime from [!db.pre!]enewszt where ztid='$GLOBALS[navclassid]'",0,24,0}]<?=date('Y-m-d',$bqr[addtime])?>[/e:loop]
专题浏览数:
[e:loop={"select onclick from [!db.pre!]enewszt where ztid='$GLOBALS[navclassid]'",0,24,0}]<?=$bqr[onclick]?>[/e:loop] (统计标签:[!--page.stats--])
- 上一篇
帝国cms灵动标签同时调用头条(1级、2级)、推荐(1级、2级)
方法1、同时调用头条(1级、2级)、推荐(1级、2级)[e:loop={0,10,3,0,'isgood=1 or firsttitle=1 orisgood=2 or firsttitle=2'}]<a href="<?=$bqsr['titleurl']?>" target="_blank&
- 下一篇
帝国cms后台模型newstext字段设置编辑器高度
系统-管理数据表-管理字段-新闻正文(修改)-输入表单替换html代码-<?=ECMS_ShowEditorVar("newstext",$ecmsfirstpost==1?"":stripSlashes($r[newstext]),"Default","","300","100%")?>中的300为高度