dedecms在首页调用会员信息(会员头像和名字等)
可以通过以下sql语句实现(需要调用其他字段可随意扩展):
<span style="font-size:14px;"><span style="font-family:tahoma,geneva,sans-serif;">
{dede:sql sql='select uname,userid,face,spacesta from dede_member left join dede_member_space on dede_member.mid=dede_member_space.mid where length(face)>0 order by dede_member.mid desc limit 0,39'}
<img src="[field:face/]">[field:uname/]
{/dede:sql}</span></span>