Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[分享] DEDE首页完美调用uch最新登陆会员头像和会员名的方法

[复制链接]
songmoxian 发表于 2010-6-13 12:26:37 | 显示全部楼层 |阅读模式
本帖最后由 songmoxian 于 2010-6-13 12:41 编辑


  1. {dede:sql sql="select * from uchome_space order by viewnum desc LIMIT 0,13;"}
  2. <li><a href="[url=http://home.beauty12.com/space.php?uid=[field:uid/]http://home.beauty12.com/space.php?uid=[field:uid/[/url]]">
  3. <img src='/home/UCenter/avatar.php?uid=[field:uid/]&size=[field:small/]' border='0'>
  4. <span class="title">[field:username/]</span></a></li>
  5. {/dede:sql}

复制代码
http://home.beauty12.com部分为UCH地址,/home/UCenter/为UCenter地址,改为自己的即可


参见

http://www.beauty12.com
积分排行右侧

免费查看地址:
http://bbs.beauty12.com/thread-28368-1-1.html
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-7 19:30 , Processed in 0.108930 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表