灵动标签调用所有顶级栏目[e:loop={select * from phome_enewsclas where bclasid=0 order by clasid DESC limit 6,6,24,0}] $clasurl=sys_ReturnBqClasname($bqr,9) lia href==$clasurl=$bqr[clasname]/a/li[/e:loo
在需要调用的页面模板里加入以下代码:[e:loop={1,10,0,0}]标题分类:a href="=sys_ReturnBqInfoTypeUrl($bqr[ttid])"=$clas_tr[$bqr[ttid]][tname]/a a href="=$bqsr['titleurl']" target="_blank"=$bqr['title']/a
后台 其他管理 增加自定义列表按照要求填,到 查询SQL语句 部分统计记录: select count(*) as total from phome_enewszt 查询记录: select ztname as title,ztpath as newspath,ztimg as titlepic,intro as smallte
[e:loop={select clasid,clasname,claspath from [!db.pre!]enewsclas where bclasid=335 and claspath like redianhuti/1/a% order by clasid,0,24,0}]lia href==$public_r[newsurl]=$bqr[claspath] =$bqr[clas
帝国cms首页调用留言内容并加上留言分类名称[e:loop={select a.bid,a.lytime,a.lytext,b.bid,b.bname from phome_enewsgbook as a LEFT JOIN phome_enewsgbookclas as b ON a.bid=b.bid order by a.lytime desc