phome_enewsad 数据表字段解释(广告表)
广告ID
adid
文字内容或图片地址
picurl
链接地址
url
广告注释
adsay
广告分类ID1下面的3张图片
[e:loop={"select picurl,url,target from {$dbtbpre}enewsad where classid=1 order by adid desc limit 3",0,24,0}] <a href="<?=$bqr[url]?>" target="_blank"><img src="<?=$bqr[picurl]?>"></a> [/e:loop]
指定广告ID调用图片
[e:loop={"select * from {$dbtbpre}enewsad where adid=3 ",0,24,0}] <img src="<?=$bqr[picurl]?>"> [/e:loop]
指定广告ID带链接图片
[e:loop={"select * from {$dbtbpre}enewsad where adid=3 ",0,24,0}] <a href="<?=$bqr[url]?>" target="_blank"><img src="<?=$bqr[picurl]?>"></a> [/e:loop]
当前仅支持登录后发布评论