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


avatar
pcwnas 2023-05-09 245
专题标题:
[!–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–])