您的位置:宽带测速网 > 帝国cms > 帝国CMS封面页调用指定栏目缩略图代码方法

帝国CMS封面页调用指定栏目缩略图代码方法

2025-08-20 10:26来源:互联网 [ ]

帝国CMS封面页调用指定栏目缩略图代码方法:

[e:loop={"select classid,classname,classimg,intro from phome_enewsclass where classid=11",1,24,0}]<img src="<?=$bqr[classimg]?>" border="0" width="140" height="100" alt="<?=$bqr[classname]?>">[/e:loop]classimg字段为调用栏目缩略图,classname为栏目名。实际使用过程中在使用的地方放上如上代码就可实现对应的功能。