百度 | 神马 | 搜狗 | 技术文档 | 学习资料分享 - 记录帝国CMS及运维技术的点点滴滴
你的位置:首页 > 帝国cms技术 » 正文

帝国CMS调用最新成员[头像+用户名+链接]

发布时间:2020-11-07

作品分类:帝国CMS  调用  最新  会员  头像  用户名  链接

帝国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}]
> href="/e/space/?userid=<?=$bqr[userid]?>" target="_blank"> src="<?=$bqr[titlepic]?>" alt="<?=$bqr[title]?>" width="52" height="52" /><?=$bqr[title]?>>>
[/e:loop]
>

调用说明:

用户ID:<?=$bqr[userid]?>
用户头像:<?=$bqr[titlepic]?>
用户名称:<?=$bqr[title]?>

Top