帝国CMS教程
2021-08-20
帝国CMS调用最新会员头像、用户名及连接,可以用以下代码实现:[e:loop={'select userid as userid,truename as title,userpic as titlepic from [!db.pre!]enewsmemberadd
帝国CMS调用最新会员头像、用户名及连接,可以用以下代码实现:
[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]?>
显示全部内容...