技术湾

您现在的位置是:首页 > 学习笔记 > 帝国CMS

帝国CMS

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

2016-05-12 00:00:00 帝国CMS 人点赞
帝国CMS 用灵动标签调用最新会员[头像+用户名+链接]:
<ul>
[e:loop={'select userid as userid,truename as title,userpic as titlepic from [!db.pre!]enewsmemberadd ord

帝国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]?>

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

830*140广告

文章评论