帝国CMS调用最新会员的方法(头像+用户名+链接)
2022-06-27
帝国CMS调用最新会员的方法!(头像+用户名+链接)的方法,一起来看看吧:
【调用代码】:
<ul>
[e:loop={'select userid as userid,truename as title,userpic as titlepic from [!db.pre!]enewsmemberadd order by userid desc limit 8',10,24,0}]
<li><a href="/e/space/?userid=<?=$bqr[userid]?>" target="_blank"><img src="<?=$bqr[titlepic]?>" alt="<?=$bqr[title]?>" width="52" height="52" /><?=$bqr[title]?></a></li>
[/e:loop]
</ul>
【调用说明】:
用户ID:<?=$bqr[userid]?>
用户头像:<?=$bqr[titlepic]?>
用户名称:<?=$bqr[title]?>
声明:模库网 (www.mokuw.com) 内容来自分享和网络收集,仅供学习与参考测试请备份。 转载请注明本文地址,如有侵权请联系我们!
本文地址:/study/453.html


