模板查询会员副表:
<?php $addr=$empire->fetch1("select userpic from phome_enewsmemberadd where userid='$r[userid]'"); ?> 会员头像:<img src="<?=$addr[userpic]?$addr[userpic]:"/e/data/images/notimg.gif"?>" width=100 height=100> |
转载请注明:有客帮 » 帝国CMS评论调用标签调用评论时显示评论用户头像的方法