帝国cms 灵动标签调用栏目缩略图


avatar
pcwnas 2023-05-09 149
帝国cms 灵动标签调用栏目缩略图 
[e:loop={'3',24,0,0}] <li><a href="<?=$bqsr[classurl]?>">
<img width="70" height="40" src="<?=$bqr[classimg]?>" /></a></li> [/e:loop]
或者指定ID
[e:loop={"select classid,classname,classimg,intro from phome_enewsclass where classid=3",1,24,0}]
<li><a href="<?=$bqsr[classurl]?>" target="_blank"><span><img src="<?=$bqr[classimg]?>" alt="<?=$bqr[classname]?>"></span>
<?=$bqr[classname]?></a>
</li>
[/e:loop]