aaa
帝国CMS灵动标签调用栏目缩放图的方法。我们一起来看看吧:
调用标签如下:(自行套用模板就行)
[e:loop={"select classid, classname,classimg,classpath from `[!db.pre!]enewsclass` where bclassid='$bclassid' order by `classid` desc ",7,24,0}] <DIV class=ibuscont2> <DIV class=ibuscont> <H1><A href="<?=$public_r[newsurl]?><?=$bqr[classpath]?>"><IMG height=95 src="<?=$bqr[classimg]?$bqr[classimg]:'/e/data/images/notimg.gif'?>" width=182 ></A> </H1> <H2><A href="<?=$public_r[newsurl]?><?=$bqr[classpath]?>"><?=$bqr[classname]?></A></H2> [/e:loop]