内容页模板加入以下代码[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
帝国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
介绍下帝国cms实现网站首页用灵动标签调用文章内容的方法以下是灵动标签的调用方法[e:loop={'58,59,60,61',1,13,0}]$fr=$empirefetch1("select newstext from {$dbtbpre}ecms_news_data_{$bqr[stb]} where id='$bqr[
用php和sql语句调用,把下面代码加到会员空间模板里面。用sql调用 select * from phome_ecms_表 where userid='$navinfor[userid]' and ismember=1 and checked=1 order by newstime desc limit 10