[e:loop={“select classimg from phome_enewsclass where classid=’$GLOBALS[navclassid]'”,1,24,0}]<img src=”<?=$bqr[classimg]?>” alt=”[!—class.name–]” width=”950″ height=”300″ >[/e:loop]

 

帝国CMS7.0灵动标签调用当前栏目相关图

 

[e:loop={“select titlepic from phome_ecms_photo where classid=’$GLOBALS[navclassid]'”,4,24,0}]
<li>
<a href=”<?=$bqsr[titleurl]?>” target=”_blank”><img src=”<?=$bqr[titlepic]?>” alt=”[!–class.name–]” width=”255″ height=”140″ ></a>
</li>

[/e:loop]