用灵动标签调用外部数据: 例一:调用Discuz的最新贴子 table width=100% border=0 cellspacing=1 cellpadding=3 [e:loop={ select tid,subject,dateline from discuzdb.cdb_threads order by tid desc limit 10 ,10,24,0}] trtd a hre
帝国CMS内置的专题调用标签总是不理想,调用不方便,还是灵动标签调用来得方便实在。 代码: [e:loop={select ztid,ztname,ztimg,maxnum,intro,onclick,ztpath from [!db.pre!]enewszt where showzt=1 order by zti
帝国CMS用灵动标签调用最新会员[头像+用户名+链接]: ul[e:loop={select userid as userid,truename as title,userpic as titlepic from [!db.pre!]enewsmemberadd order by userid desc limit 8,10,24,0}] lia href=/e/space/?userid=?