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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[美化] 半夜三更的,发一个身份美化,有朋友提出要的,呵呵

[复制链接]
晶莹雪花 发表于 2005-12-18 01:15:27 | 显示全部楼层 |阅读模式
效果

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| 晶莹雪花 发表于 2005-12-18 01:22:48 | 显示全部楼层
css.htm

  1. --></style>
复制代码

的上面添加
  1. /*身份表格美化*/
  2. .b-bk                        {background:url(images/left/photo_bg2.gif);width:155px;text-align:center}
  3. .b-bk ul                {text-align:left;margin:0px auto;list-style-image:url(images/left/qianmian.gif)}
  4. .b-bk li                {border-bottom:1px dashed #aaa;margin:4px 8px 2px 4px}
  5. .b-top                        {background:url(images/left/photo_bg1.gif);width:155px;height:42px;}
  6. .b-topt                        {padding-right:4px;padding-top:14px;text-align:center}
  7. .b-center                {background:url(images/left/photo_bg4.gif);width:155px;height:40px;}
  8. .b-bottom                {background:url(images/left/photo_bg3.gif);width:155px;height:18px;margin-top:-2px}
  9. /*美化结束*/
复制代码


viewthread.htm

查找
  1. <td width="21%" valign="top" style="word-break: break-all">
复制代码

在它下面添加
  1. <!---美化开始---->
复制代码


查找
  1. <br><br><br><br><br><br><br><br><br><br>
  2.         <!--{/if}-->
复制代码


在下面添加
  1. <!--美化结束-->
复制代码


将<!---美化开始---->和<!--美化结束-->之间的内容用下面内容替换
  1.                 <div class="b-top">
  2.                         <div class="b-topt">       
  3.                                 <!--{if $forum['ismoderator']}-->
  4.                                 <!--{if $allowviewip}--><a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]"><img src="{IMGDIR}/ip.gif" border="0" align="right" alt="{lang admin_getip}" style="margin-right:4px"></a><!--{/if}-->
  5.                                 <!--{/if}-->
  6.                                 <!--{if $post['authorid'] && $post['username']}-->
  7.                                 <a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold">$post[author]</a>
  8.                         </div>
  9.                 </div>
  10.                 <div class="b-bk">
  11.                         <!--{if $avatarshowpos == 3 && $post['avatarshow']}-->
  12.                                 $post[avatarshow]<br>
  13.                         <!--{elseif $post['avatar']}-->
  14.                                 $post[avatar]<br>
  15.                         <!--{else}-->
  16.                                 <br><br>
  17.                         <!--{/if}-->
  18.                         <!--{if $post['nickname']}-->
  19.                                 <span class="smalltxt">($post[nickname])</span>
  20.                         <!--{/if}-->
  21.                                 <br />
  22.                                 <span class="smalltxt">$post[authortitle]<br>
  23.                                 {eval showstars($post['stars']);}<br>
  24.                         <!--{if $post['customstatus']}-->
  25.                                 $post[customstatus]<br>
  26.                         <!--{/if}-->
  27.                 </div>
  28.                 <div class="b-center"></div>
  29.                 <div class="b-bk">
  30.                         <ul>
  31.                         <li style="margin-top:0px">{lang uid} $post[uid]</li>
  32.                         <li>{lang digest_posts} <!--{if $post['digestposts']}--><a href="digest.php?authorid=$post[authorid]">$post[digestposts]</a><!--{else}-->$post[digestposts]<!--{/if}--></li>
  33.                         <li>{lang credits} $post[credits]</li>
  34.                         <li>{lang posts} $post[posts]</li>
  35.                        
  36.                         <!--{loop $extcredits_thread $key $credit}-->
  37.                                 <li>$credit[title] $post[$key] $credit[unit]</li>
  38.                         <!--{/loop}-->
  39.                         <li>{lang readperm} $post[readaccess]</li>
  40.                         <li>{lang regtime} $post[regdate]</li>
  41.                        
  42.                         <!--{loop $_DCACHE['fields_thread'] $field}-->
  43.                                         <li>$field[title]
  44.                                 <!--{if $field['selective']}-->
  45.                                         $field['choices'][$post['field_'.$field['fieldid']]]</li>
  46.                                 <!--{else}-->
  47.                                         $post['field_'.$field['fieldid']]
  48.                                 <!--{/if}--></li>
  49.                         <!--{/loop}-->
  50.                        
  51.                         <!--{if $post['location']}--><li>{lang location} $post[location]</li><!--{/if}-->
  52.                         <!--{if $vtonlinestatus && $post['authorid']}-->
  53.                         <li>
  54.                                 <!--{if $timestamp - $post['lastactivity'] <= 10800 && !$post['invisible']}-->
  55.                                         {lang online_status} <b>{lang online}</b>
  56.                                 <!--{else}-->
  57.                                         {lang online_status} {lang offline}
  58.                                 <!--{/if}-->
  59.                         </li>
  60.                         <!--{/if}-->
  61.                         </ul>
  62.                         <!--{if $post['medals']}-->       
  63.                         <br />
  64.                         <!--{loop $post['medals'] $medal}-->
  65.                                 <img src="images/common/$medal[image]" border="0" alt="$medal[name]">
  66.                         <!--{/loop}-->
  67.                
  68.                         <!--{/if}-->
  69.                
  70.                         <!--{if $avatarshowpos == 2}--><br><br><center>$post[avatarshow]</center><!--{/if}-->
  71.                        
  72.                         <!--{if $post['alipay']}--><br><a href="https://www.alipay.com/payto:$post[alipay]?partner=20880020258585430156" target="_blank"><img src="{IMGDIR}/payto.gif" border="0" alt="{lang payto_author}"></a><!--{/if}-->
  73.                         <!--{else}-->
  74.                         <!--{if !$post['authorid']}-->
  75.                                 <span class="bold">{lang guest}</span> <span class="smalltxt">$post[useip]</span><br><span class="smalltxt">{lang unregistered}
  76.                         <!--{else}-->
  77.                                 <span class="bold">$post[author]</span><br>
  78.                                 {lang member_deleted}
  79.                         <!--{/if}-->
  80.                         <br><br><br><br><br><br><br><br><br><br>
  81.                         <!--{/if}-->
  82.                         </div>
  83.                 <div class="b-bottom"></div>
复制代码


将附件中的图片文件放到images/left目录下,完成

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

评分

1

查看全部评分

回复

使用道具 举报

 楼主| 晶莹雪花 发表于 2005-12-18 01:23:40 | 显示全部楼层
半夜网速不错
回复

使用道具 举报

windgodman 发表于 2005-12-18 01:24:10 | 显示全部楼层
谢谢楼主mm。很不错。呵呵。
回复

使用道具 举报

lgy 发表于 2005-12-18 01:24:33 | 显示全部楼层
顶呀~~~~~不错不错!!
回复

使用道具 举报

zuimei 发表于 2005-12-18 01:28:22 | 显示全部楼层
好东西啊
回复

使用道具 举报

lifeindl 发表于 2005-12-18 01:44:36 | 显示全部楼层
好东西。。收藏。。。
回复

使用道具 举报

sques 发表于 2005-12-18 01:45:52 | 显示全部楼层
谢谢楼主mm。。收藏。。。
回复

使用道具 举报

泡哥 发表于 2005-12-18 02:05:51 | 显示全部楼层
很漂亮!
回复

使用道具 举报

lcfy 发表于 2005-12-18 02:58:23 | 显示全部楼层
是不是BUG,全部显示离线???
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-5-6 12:16 , Processed in 0.135833 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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