帝国CMS调用最新会员头像+用户名+链接
2020-02-03 站长 站长日志
[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}] <?=$bqr[userid]?><?=$bqr[titlepic]?><?=$bqr[title]?> [/e:loop]
调用说明:
用户ID:<?=$bqr[userid]?>
用户头像:<?=$bqr[titlepic]?>
用户名称:<?=$bqr[title]?>