专题标题:!pagetitle]专题简介:!clas.intro]专题缩略图地址:!clas.clasimg]专题下文章数:=$empiregettotal(select count(*) as total from {$dbtbpre}enewsztinfo where ztid=$GLOBALS[navclasid])专题创建时间:[
[e:loop={"select * from phome_enewszt where clasid='$GLOBALS[navclasid]'",10,24,0}]a href="/=$bqr[ztpath]" target="_blank"=$bqr[ztname]/a[/e:loop]调用本栏目所属专题
内容页模板加入以下代码[e:loop={'select ztid from phome_enewsztinfo where clasid='.$navinfor[clasid].' and id='.$navinfor[id],10,24,0}] 所属专题: a href="/=$clas_zr[$bqr[ztid]][ztpath]"=$clas_zr[$bqr[zt
代码如下:[e:loop={select * from phome_enewszt where clasid=3 order by ztid desc,10,24,0}]li clas=nopicspan=format_datetime($bqr[addtime],md)/spana href==$bqr[ztpath] title==$bqr[ztname]=$bqr[ztname]/a/
后台 其他管理 增加自定义列表按照要求填,到 查询SQL语句 部分统计记录: select count(*) as total from phome_enewszt 查询记录: select ztname as title,ztpath as newspath,ztimg as titlepic,intro as smallte