3.6 应用举例 调用父栏目
调用父栏目 自定义字段
[e:loop={"select * from [!db.pre!]enewsclass where bclassid = '".$class_r[$GLOBALS[navclassid]][bclassid]."' order by classid desc limit 1",1,24,0}]<a href="<?=ReturnClassAddField($bqr[bclassid],mblink)?>" target="_blank">[/e:loop][!--bclass.name--]</a>
调用上级父栏目简介
[e:loop={"select * from [!db.pre!]enewsclass where classid='".$class_r[$GLOBALS[navclassid]][bclassid]."'",1,24,0}]<div class="node-logo"><img src="<?=$bqr[classimg]?>"></div><div class="node-desc"><div class="node-head">[!--bclass.name--]</div><div class="node-body"><?=$bqr[intro]?></div></div>[/e:loop]
- 上一篇
- 下一篇