请选择 进入手机版 | 继续访问电脑版
 找回密码
 注册
查看: 8121|回复: 1
收起左侧

[分享] 帖子页列表显示作者头像的小修改

  [复制链接]

5311

主题

8316

帖子

1万

积分

管理员

出售国内外虚拟空间

Rank: 10Rank: 10Rank: 10

积分
14658
帖子
8316
精华
67
体力
14658 点
蓝豆
2391 点
注册时间
2007-6-8

终身成就奖LY官方团队会员身份ID卡

发表于 2010-1-22 14:56:14 | 显示全部楼层 |阅读模式
templates/default/forumdisplay.htm 找到:
<cite> <!--{if $thread['authorid'] && $thread['author']}--> <a href="space.php?uid=$thread[authorid]">$thread[author]</a> <!--{else}--> <!--{if $forum['ismoderator']}--> <a href="space.php?uid=$thread[authorid]">{lang anonymous}</a> <!--{else}--> {lang anonymous} <!--{/if}--> <!--{/if}--> </cite> <em>$thread[dateline]</em> <!--{/if}-->
替换为:
<style>td.author { width: 150px; text-align: left; }</style><div style="float:left;width:28px;padding-top:4px;"> <img src="http://www.lanyudongli.com/uc/avatar.php?uid=$thread[authorid]&size=small" class="ava_border" width="25px" height="25px" style="border:1px solid #ccc; padding:2px; margin:0px; background-color:#fff;" /> </div> <div style="float:left;padding:2px 0px 0px 6px;"> <cite> <!--{if $thread['authorid'] && $thread['author']}--> <a href="space.php?uid=$thread[authorid]">$thread[author]</a> <!--{else}--> <!--{if $forum['ismoderator']}--> <a href="space.php?uid=$thread[authorid]">{lang anonymous}</a> <!--{else}--> {lang anonymous} <!--{/if}--> <!--{/if}--> </cite> <em>$thread[dateline]</em> </div>
游客,如果您要查看本帖隐藏内容请回复
出售国内或美国高性能虚拟空间,高速VPS以及服务器! 同时承接各种类型的网站制作,网站维护,支付宝交易安全放心!    联系QQ:6102031
hudiednf 该用户已被删除
发表于 2012-8-17 16:27:18 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
懒得打字嘛,点击右侧快捷回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

网站公告上一条 /2 下一条

GMT+8, 2024-3-28 20:30 , Processed in 0.109375 second(s), 30 queries , Gzip On.

© 2006-2022 Powered by Discuz! X3.4

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