1. 思德心语首页
  2. 建站程序
  3. 帝国CMS

帝国cms专题调用标题、简介、文章数、时间、点击数

专题标题:

[!--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–])

原创文章,作者:Tony,如若转载,请注明出处:https://www.xxside.com/2352.html