帝国cms灵动标签实现循环子栏目数据
[e:loop={"select classid, classname, classpath from `[!db.pre!]enewsclass` where bclassid='$bclassid' order by `classid` desc ",7,24,0}]
-
fetch1("select title,titlepic,smalltext,titleurl,keyboard,groupid,classid,newspath,filename,id from {$dbtbpre}ecms_news where classid = ".$bqr[classid]." and titlepic!='' order by newstime desc limit 1");
$commbookurl=sys_ReturnBqTitleLink($commbook);
?>
-
">=$bqr[classname]?>
">更多 -
- " target="_blank">">" target="_blank">=esub($commbook[title],28)?>
=esub($commbook[smalltext],64)?>...
query("select title,titlepic,smalltext,titleurl,keyboard,newstime,groupid,classid,newspath,filename,id from {$dbtbpre}ecms_news where classid =".$bqr[classid]." order by newstime desc limit 5");
while($r=$empire->fetch($newbook)) {
?>
- " title="=$r[title]?>">=$r[title]?>=date('Y-m-d',$r[newstime])?>
- " target="_blank">">" target="_blank">=esub($commbook[title],28)?>