{
    分享网正式开通,我们为大家提供免费资源,欢迎大家踊跃投稿!

帝国CMS内容页调用当前发布会员

调用当前发布会员信息代码

<?php
$uid=$navinfor[userid];
$userr=sys_ShowMemberInfo($uid,''); 
?>
当前发布者头像:<a rel="nofollow" href="[!--news.url--]e/space/?userid=<?=$userr[userid]?>" target="_blank"><img src="<?=$userr[userpic]?$userr[userpic]:$public_r[newsurl].'e/data/images/nouserpic.gif'?>"></a>
当前发布者名称:<a rel="nofollow" href="[!--news.url--]e/space/?userid=<?=$userr[userid]?>" target="_blank"><?=$userr[username]?></a>
关注当前发布者:<a class="nr-user-bt" href="[!--news.url--]e/member/friend/add/?fcid=0?<?=$userr[username]?>" target="_blank">关注</a>

用到的会员信息调用标签,ShowMemberInfo函数调用,具体格式说明为:sys_ShowMemberInfo(用户ID,查询字段)


资源均来自第三方,谨慎下载,前往第三方网站下载


爱资源分享网 , 版权所有丨本站资源仅限于学习研究,严禁从事商业或者非法活动!丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:帝国CMS内容页调用当前发布会员
喜欢 ()分享 (0)