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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] DZ2.0个人信息横排美化详细教程

[复制链接]
kkqzone 发表于 2011-5-26 23:58:45 | 显示全部楼层 |阅读模式
本帖最后由 kkqzone 于 2011-6-20 21:21 编辑

先看个演示:横排效果:

目前的话大部分人用的横排都是从1.5上面照搬的,1.5的viewthread_node.htm和2.0的不一样,如果照搬的话也可以实现这个效果。但是会有一些小小的不如意,本人经常努力测试。测试出完美的方法。现在发布出来供大家使用.DZ风格交流群106711358 欢迎你的加入
很抱歉上次发布的缺少了个CSS现在补上:

  1. /** 横排美化 **/
  2. .cxuserinfo { width:960px; height:190px; overflow:hidden; background:url({IMGDIR}/info/comiis_yhbg.jpg) 0 0 ; margin:0px auto; font-size:12px;}
  3. .info_l1 { float:left; height:190px; width:39px; }
  4. .info_l1 div { width:16px;  margin-left:12px; margin-top:112px; }
  5. .info_l1 div img { margin-top:5px;}
  6. .info_l2 { float:left; height:186px; width:130px;}
  7. .info_l2 span { display:block; width:112px; height:112px; margin:22px 0 0 10px; overflow:hidden; }
  8. .info_l2 span img{width:112px;}
  9. .info_l2 p { margin-top:17px!important;margin-top:17px; line-height:30px; color:#222; text-align:center; overflow:hidden;}
  10. .info_r { float:right; height:186px; width:768px;}
  11. .info_r_t { height:30px; width:765px; margin-top:15px; overflow:hidden;}
  12. .info_r_t .dengji { padding-left:20px; background:url({IMGDIR}/info/icon_6.gif) 0 11px no-repeat;}
  13. .dengji font { padding-top:8px;}
  14. .dengji img { margin-top:0px; height:17px;}
  15. .info_r_t .gl { margin-left:25px;}
  16. .info_r_t div { height:27px; width:auto; float:left;padding-top:8px;margin-right:5px; }
  17. .info_r_t span { float:right; margin-right:10px;}
  18. .info_r_t div em { color:#d80000;}
  19. .infor_r_l {float:left; height:137px; width:408px;}
  20. .infor_r_l1 { height:35px; width:408px; }
  21. .infor_r_l1 .userimg { display:block; width:139px; height:32px; float:left; margin-right:5px; overflow:hidden;}
  22. .infor_r_l1 .userimg1 { float:left; margin-right:5px; margin-top:7px;}
  23. .infor_r_l1 p { float:left; line-height:30px;}
  24. .infor_r_l2 { height:25px; width:408px; }
  25. .infor_r_l2 p { float:left; margin-right:5px; margin-top:0px;}
  26. .infor_r_l3 { height:73px; width:408px; margin-top:1px !important; margin-top:-1px; }
  27. .infor_r_l3 ul { float:left;  margin:0; padding:0;}       
  28. .infor_r_l3 ul li { padding-left:18px; height:18px!important; height:19px; overflow:hidden; list-style:none;}
  29. .info_ul_l { width:92px;}
  30. .info_ul_c { width:194px;}
  31. .info_ul_c li { width:77px; float:left; }
  32. .info_ul_r { width:122px;}
  33. .info_ul_r li { width:102px;  float:left; overflow:hidden; height:19px;}
  34. .info_r_b_r { float:left; width:310px; height:110px; overflow:hidden; margin-left:35px; margin-top:17px; line-height:110px; text-align:center; }
  35. .info_r_b_r img { float:left; margin:3px 2px;}
  36. /** end **/
复制代码
把上面的CSS代码加在风格目录common/moudle.css里面的最后。。
然后打开template/你目前正在使用的风格目录/forum/viewthread_node.htm:查找:
  1. <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
  2. <tr>
  3. <td class="pls" rowspan="2">
  4. $post[newpostanchor] $post[lastpostanchor]
  5. <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  6. <!--{if $_G['setting']['authoronleft']}-->
  7. <div class="pi">
  8. <div class="authi"><a href="home.php?mod=space&uid=$post['authorid']" target="_blank" class="xw1">$post[author]</a>$authorverifys</div>
  9. </div>
  10. <!--{/if}-->
  11. <div class="p_pop blk bui" id="userinfo$post[pid]" style="display: none; {if $_G['setting']['authoronleft']}margin-top: -11px;{/if}">
  12. <div class="m z">
  13. <div id="userinfo$post[pid]_ma"></div>
  14. <!--{hook/viewthread_profileside $postcount}-->
  15. </div>
  16. <div class="i y">
  17. <div>
  18. <strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a></strong>
  19. <!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
  20. <!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['authorinvisible'])}-->
  21. <em>{lang online}</em>
  22. <!--{else}-->
  23. <em>{lang offline}</em>
  24. <!--{/if}-->
  25. <!--{/if}-->
  26. </div>
  27. <dl class="cl">{$post[custominfo][menu]}</dl>
  28. <div class="imicn">
  29. <!--{if $post['qq'] && !$post['privacy']['profile']['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$_G['setting']['bbname']&Menu=yes" target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
  30. <!--{if $post['icq'] && !$post['privacy']['profile']['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
  31. <!--{if $post['yahoo'] && !$post['privacy']['profile']['yahoo']}--><a href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!" /></a><!--{/if}-->
  32. <!--{if $post['taobao'] && !$post['privacy']['profile']['taobao']}--><a href="javascript:;" onclick="window.open('http://amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&site=cntaobao&s=2&charset=utf-8')" title="{lang taobao}"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}-->
  33. <!--{if $post['site'] && !$post['privacy']['profile']['site']}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}" /></a><!--{/if}-->
  34. <a href="home.php?mod=space&uid=$post[authorid]&do=profile" target="_blank" title="{lang member_viewpro}"><img src="{IMGDIR}/userinfo.gif" alt="{lang member_viewpro}" /></a>
  35. <!--{hook/viewthread_imicons $postcount}-->
  36. <!--{if $_G['setting']['magicstatus']}-->
  37. <!--{if !empty($_G['setting']['magics']['showip'])}-->
  38. <a href="home.php?mod=magic&mid=showip&idtype=user&id={echo rawurlencode($post[author])}" id="a_showip_li_{$post[pid]}" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/showip.small.gif" alt="" /> $_G['setting']['magics']['showip']</a>
  39. <!--{/if}-->
  40. <!--{if !empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']}-->
  41. <a href="home.php?mod=magic&mid=checkonline&idtype=user&id={echo rawurlencode($post[author])}" id="a_repent_$post[pid]" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/checkonline.small.gif" alt="" /> $_G['setting']['magics']['checkonline']</a>
  42. <!--{/if}-->
  43. <!--{hook/viewthread_magic_user $postcount}-->
  44. <!--{/if}-->
  45. </div>
  46. <div id="avatarfeed"><span id="threadsortswait"></span></div>
  47. </div>
  48. </div>
  49. <!--{/if}-->
  50. <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  51. <div>
  52. <!--{if $_G['setting']['bannedmessages'] & 2 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->
  53. <div class="avatar">{lang member_avatar_banned}</div>
  54. <!--{elseif $post['avatar'] && $showavatars}-->
  55. <div class="avatar" onmouseover="showauthor(this, 'userinfo$post[pid]')"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[avatar]</a></div>
  56. <!--{/if}-->
  57. <!--{hook/viewthread_avatar $postcount}-->
  58. <!--{if $post[groupicon]}--><p>$post[groupicon]</p><!--{/if}-->
  59. <p><em><a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]" target="_blank">{$post[authortitle]}</a></em></p>
  60. <!--{if $post['customstatus'] && $_G['group']['allowcstatus']}--><p class="xg1">$post[customstatus]</p><!--{/if}-->
  61. </div>
  62. <p{if $post['upgradecredit'] !== false} id="g_up$post[pid]" onmouseover="showMenu({'ctrlid':this.id, 'pos':'12!'});"{/if}><!--{eval showstars($post['stars']);}--></p>
  63. <!--{if $post['upgradecredit'] !== false}-->
  64. <div id="g_up$post[pid]_menu" class="tip tip_4" style="display: none;">
  65. <div class="tip_horn"></div>
  66. <div class="tip_c">$post['authortitle'], {lang credits} $post['credits'], {lang thread_groupupgrade} $post['upgradecredit'] {lang credits}</div>
  67. </div>
  68. <!--{/if}-->
  69. <!--{hook/viewthread_sidetop $postcount}-->
  70. <!--{if $post[custominfo][left]}--><dl class="pil cl">{$post[custominfo][left]}</dl><!--{/if}-->
  71. <!--{if $post['medals']}-->
  72. <p class="md_ctrl">
  73. <a href="home.php?mod=medal">
  74. <!--{loop $post['medals'] $medal}-->
  75. <img id="md_{$post[pid]}_{$medal[medalid]}" src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title="" onmouseover="showMenu({'ctrlid':this.id, 'menuid':'md_$medal[medalid]_menu', 'pos':'12!'});" />
  76. <!--{/loop}-->
  77. </a>
  78. </p>
  79. <!--{/if}-->
  80. <!--{if $post[authorid] != $_G[uid]}-->
  81. <ul class="xl xl2 o cl">
  82. <li class="callon"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" title="{lang viewthread_left_tospace}" class="xi2">{lang viewthread_left_tospace}</a></li>
  83. <li class="buddy"><a href="home.php?mod=spacecp&ac=friend&op=add&uid=$post[authorid]&handlekey=addfriendhk_{$post[authorid]}" id="a_friend_li_{$post[pid]}" onclick="showWindow(this.id, this.href, 'get', 1, {'ctrlid':this.id,'pos':'00'});" title="{lang viewthread_left_addfriend}" class="xi2">{lang viewthread_left_addfriend}</a></li>
  84. <li class="poke2"><a href="home.php?mod=spacecp&ac=poke&op=send&uid=$post[authorid]" id="a_poke_li_{$post[pid]}" onclick="showWindow(this.id, this.href, 'get', 0);" title="{lang viewthread_left_poke}" class="xi2">{lang viewthread_left_poke}</a></li>
  85. <li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]&tid=$post[tid]" onclick="showWindow('sendpm', this.href);" title="{lang viewthread_left_sendpm}" class="xi2">{lang viewthread_left_sendpm}</a></li>
  86. </ul>
  87. <!--{/if}-->
  88. <!--{hook/viewthread_sidebottom $postcount}-->
  89. <!--{else}-->
  90. <div class="pi">
  91. <!--{if !$post['authorid']}-->
  92. <a href="javascript:;">$_G[setting][anonymoustext] <em>$post[useip]</em></a>
  93. <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
  94. <!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$_G[setting][anonymoustext]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}-->
  95. <!--{else}-->
  96. $post[author] <em>{lang member_deleted}</em>
  97. <!--{/if}-->
  98. </div>
  99. <!--{/if}-->
  100. <!--{if $_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'])}-->
  101. <p>
  102. <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip']}-->
  103. <a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_G['forum_auditstatuson']}&modthreadkey=$_G[gp_modthreadkey]{/if}" onclick="ajaxmenu(this, 0, 0, 2);doane(event)">IP</a>
  104. <!--{/if}-->
  105. <!--{if $_G['group']['allowedituser']}-->
  106. <a href="{if $_G['adminid'] == 1}admin.php?frames=yes&action=members&operation=search&uid=$post[authorid]&submit=yes{else}forum.php?mod=modcp&action=member&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit}</a>
  107. <!--{/if}-->
  108. <!--{if $_G['group']['allowbanuser']}-->
  109. <!--{if $_G['adminid'] == 1}-->
  110. <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
  111. <!--{else}-->
  112. <a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
  113. <!--{/if}-->
  114. <!--{/if}-->
  115. <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
  116. </p>
  117. <!--{/if}-->
  118. </td>
复制代码
替换为:
  1. <table id="pid$post[pid]" {if $post['first']}class="fo"{/if} summary="pid$post[pid]" cellspacing="0" cellpadding="0" style="margin-bottom: 8px; padding: 1px; border: 1px solid #282828;<!--{if $post['first']}--> border-top: 0px solid {WRAPBORDERCOLOR};<!--{/if}-->">
  2. <tr><td>
  3. $post[newpostanchor] $post[lastpostanchor]
  4. <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  5. <div class="cxuserinfo">
  6. <div class="info_l1">
  7. <div><!--{if $post['qq']}--><a href="http://$post[qq].qzone.qq.com/" target="_blank" title="QQ空间"><img src="{IMGDIR}/info/qzone.gif" alt="欢迎光临$post[username]的QQ空间" /></a><a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$_G['setting']['bbname']&Menu=yes" target="_blank"><img src="{IMGDIR}/info/qq.gif" alt="QQ" /></a><!--{/if}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank"><img src="{IMGDIR}/info/userinfo.gif" alt="{lang member_viewpro}" /></a></div>
  8. </div>
  9. <div class="info_l2">
  10. <span>
  11. <a href="home.php?mod=space&uid=$post[authorid]" class="posterlink" target="_blank"><img src="{$_G[setting][ucenterurl]}/avatar.php?uid=$post[authorid]&size=common" /></a>
  12. </span>
  13. <p><!--{if $post['customstatus']}--><font color="#0063a7">昵称:<em>$post[customstatus]</em></font><!--{else}--><a href="home.php?mod=spacecp&ac=profile&op=bbs" target=_blank>您还没设置昵称</a><!--{/if}--></p>
  14. </div>
  15. <div class="info_r">
  16. <div class="info_r_t">
  17. <div>
  18. <a href="home.php?mod=space&uid=$post[authorid]" target="_blank"><img src="{IMGDIR}/info/kongjian.jpg" alt="个人空间" /></a>
  19. <a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]" onclick="hideMenu('userinfo$post[pid]');showWindow('sendpm', this.href)" title="{lang send_pm}"><img src="{IMGDIR}/info/xinxi.jpg" alt="{lang send_pm}" /></a>
  20. <!--{if $post[authorid] != $_G[uid]}-->
  21. <!--{if !in_array($post[authorid], $friends)}-->
  22. <a href="home.php?mod=spacecp&ac=friend&op=add&uid=$post[authorid]&handlekey=addfriendhk_{$post[authorid]}" id="a_friend_li_{$post[pid]}" onclick="showWindow(this.id, this.href, 'get', 1, {'ctrlid':this.id,'pos':'00'});"><img src="{IMGDIR}/info/haoyou.jpg" alt="{lang add_to_buddylist}" /></a>
  23. <!--{else}-->
  24. <a href="home.php?mod=spacecp&ac=friend&op=ignore&uid=$post[authorid]&handlekey=addfriendhk_{$post[authorid]}" id="a_friend_li_{$post[pid]}" onclick="showWindow(this.id, this.href, 'get', 1, {'ctrlid':this.id,'pos':'00'});"><img src="{IMGDIR}/info/haoyou.jpg" alt="{lang add_to_buddylist}" /></a>
  25. <!--{/if}-->
  26. <!--{/if}-->
  27. <!--{if $post['authorid'] && !$post['anonymous']}-->
  28. <!--{if !$_G['gp_authorid'] && !$_G['forum_thread']['archiveid']}-->
  29. <a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow"><img src="{IMGDIR}/info/zhikan.jpg" alt="{lang thread_show_author}"/></a>
  30. <!--{elseif !$_G['forum_thread']['archiveid']}-->
  31. <a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow"><img src="{IMGDIR}/info/zhikan1.jpg" alt="{lang thread_show_all}"/></a>
  32. <!--{/if}-->
  33. <!--{/if}-->
  34. </div>
  35. <div>
  36. <!--{if $post['authorid'] && !$post['anonymous']}-->
  37. <a href="home.php?mod=space&uid=$post['authorid']" class="posterlink" target="_blank">$post[author]</a>
  38. <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
  39. {lang anonymous} <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  40. <!--{elseif !$post['authorid'] && !$post['username']}-->
  41. {lang guest} <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  42. <!--{/if}-->
  43. <!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
  44. <!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
  45. <em>{lang online}
  46. <!--{else}-->
  47. <em><font color="#666666">{lang offline}</font>
  48. <!--{/if}-->
  49. </em>
  50. <!--{/if}-->
  51. </div>
  52. <div class="dengji">
  53. <!--{if $post[posts]<50}--> 经验:<font color="green"> 01级</font>
  54. <img src="{IMGDIR}/info/1.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯加油加油">
  55. <!--{elseif $post[posts]<100}-->
  56. 经验:<font color="green"> 02级</font>
  57. <img src="{IMGDIR}/info/2.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯哎哟哎哟">
  58. <!--{elseif $post[posts]<200}-->
  59. 经验:<font color="green"> 03级</font>
  60. <img src="{IMGDIR}/info/3.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快4级咯">
  61. <!--{elseif $post[posts]<300}-->
  62. 经验:<font color="green"> 04级</font>
  63. <img src="{IMGDIR}/info/4.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快5级咯">
  64. <!--{elseif $post[posts]<400}-->
  65. 经验:<font color="green"> 05级</font>
  66. <img src="{IMGDIR}/info/5.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快6级咯">
  67. <!--{elseif $post[posts]<500}-->
  68. 经验:<font color="green"> 06级</font>
  69. <img src="{IMGDIR}/info/6.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快7级咯">
  70. <!--{elseif $post[posts]<600}-->
  71. 经验:<font color="green"> 07级</font>
  72. <img src="{IMGDIR}/info/7.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快8级咯">
  73. <!--{elseif $post[posts]<700}-->
  74. 经验:<font color="green"> 08级</font>
  75. <img src="{IMGDIR}/info/8.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快9级咯">
  76. <!--{elseif $post[posts]<800}-->
  77. 经验:<font color="green"> 09级</font>
  78. <img src="{IMGDIR}/info/9.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯马上就要文坛巨匠咯">
  79. <!--{elseif $post[posts]<900}-->
  80. 经验:<font color="green"> 10级</font>
  81. <img src="{IMGDIR}/info/10.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯文坛巨匠了不起哦">
  82. <!--{elseif $post[posts]<1000}-->
  83. 经验:<font color="green"> 11级</font>
  84. <img src="{IMGDIR}/info/11.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快12级咯">
  85. <!--{elseif $post[posts]<1500}-->
  86. 经验:<font color="green"> 12级</font>
  87. <img src="{IMGDIR}/info/12.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快13级咯">
  88. <!--{elseif $post[posts]<2000}-->
  89. 经验:<font color="green"> 13级</font>
  90. <img src="{IMGDIR}/info/13.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快14级咯">
  91. <!--{elseif $post[posts]<2500}-->
  92. 经验:<font color="green"> 14级</font>
  93. <img src="{IMGDIR}/info/14.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快15级咯">
  94. <!--{elseif $post[posts]<3000}-->
  95. 经验:<font color="green"> 15级</font>
  96. <img src="{IMGDIR}/info/15.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快16级咯">
  97. <!--{elseif $post[posts]<4000}-->
  98. 经验:<font color="green"> 16级</font>
  99. <img src="{IMGDIR}/info/16.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快17级咯">
  100. <!--{elseif $post[posts]<5000}-->
  101. 经验:<font color="green"> 17级</font>
  102. <img src="{IMGDIR}/info/17.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快18级咯">
  103. <!--{elseif $post[posts]<6000}-->
  104. 经验:<font color="green"> 18级</font>
  105. <img src="{IMGDIR}/info/18.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快19级咯">
  106. <!--{elseif $post[posts]<7000}-->
  107. 经验:<font color="green"> 19级</font>
  108. <img src="{IMGDIR}/info/19.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯马上就要做水神了啊">
  109. <!--{elseif $post[posts]<8000}-->
  110. 经验:<font color="green"> 20级</font>
  111. <img src="{IMGDIR}/info/20.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯水神啊!">
  112. <!--{elseif $post[posts]<9000}-->
  113. 经验:<font color="green"> 21级</font>
  114. <img src="{IMGDIR}/info/21.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快22级咯">
  115. <!--{elseif $post[posts]<10000}-->
  116. 经验:<font color="green"> 22级</font>
  117. <img src="{IMGDIR}/info/22.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快23级咯">
  118. <!--{elseif $post[posts]<13000}-->
  119. 经验:<font color="green"> 23级</font>
  120. <img src="{IMGDIR}/info/23.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快24级咯">
  121. <!--{elseif $post[posts]<15000}-->
  122. 经验:<font color="green"> 24级</font>
  123. <img src="{IMGDIR}/info/24.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快25级咯">
  124. <!--{elseif $post[posts]<20000}-->
  125. 经验:<font color="green"> 25级</font>
  126. <img src="{IMGDIR}/info/25.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快26级咯">
  127. <!--{elseif $post[posts]<25000}-->
  128. 经验:<font color="green"> 26级</font>
  129. <img src="{IMGDIR}/info/26.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快27级咯">
  130. <!--{elseif $post[posts]<30000}-->
  131. 经验:<font color="green"> 27级</font>
  132. <img src="{IMGDIR}/info/27.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快28级咯">
  133. <!--{elseif $post[posts]<35000}-->
  134. 经验:<font color="green"> 28级</font>
  135. <img src="{IMGDIR}/info/28.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快29级咯">
  136. <!--{elseif $post[posts]<40000}-->
  137. 经验:<font color="green"> 29级</font>
  138. <img src="{IMGDIR}/info/29.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯马上就可以当水龙王了啊">
  139. <!--{elseif $post[posts]<50000}-->
  140. 经验:<font color="green"> 30级</font>
  141. <img src="{IMGDIR}/info/30.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯水龙王非你莫属">
  142. <!--{/if}--></div>
  143. <div class="gl">
  144. <!--{if $_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'] && ($_G['forum_thread']['digest'] >= 0 || !$post['first']))}-->
  145. <p>
  146. <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip'] && ($_G['forum_thread']['digest'] >= 0 || !$post['first'])}-->
  147. <a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]" onclick="ajaxmenu(this, 0, 1, 2);doane(event)" title="{lang admin_getip}">IP</a>  
  148. <!--{/if}-->
  149. <!--{if $_G['group']['allowedituser']}-->
  150. <a href="{if $_G['adminid'] == 1}admin.php?frames=yes&action=members&operation=search&uid=$post[authorid]&submit=yes{else}forum.php?mod=modcp&action=members&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit}</a>  
  151. <!--{/if}-->
  152. <!--{if $_G['group']['allowbanuser']}-->
  153. <!--{if $_G['adminid'] == 1}-->
  154. <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
  155. <!--{else}-->
  156. <a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
  157. <!--{/if}-->
  158. <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
  159. <!--{/if}-->
  160. </p>
  161. <p id="ajax_getip_$post[count]" style="position:absolute;background-color:#333;width:120px;height:65px;border:#aaa 1px solid;padding:8px;display:none;"></p>
  162. <!--{/if}-->
  163. </div>
  164. <span style="margin-top:8px;">
  165. <a title="{lang share_url_copy}" id="postnum$post[pid]" href="javascript:;" onclick="setCopy('{$_G[siteurl]}{if $post[first]}forum.php?mod=viewthread&tid=$_G[tid]$fromuid{else}forum.php?mod=redirect&goto=findpost&ptid=$_G[tid]&pid=$post[pid]$fromuid{/if}', '{lang post_copied}')"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em><font style="font-size:16px;color:#b80000;"><b>{$post[number]}</b></font></em> {$postno[0]}<!--{/if}--></a>
  166. </span>
  167. </div>
  168. <div class="infor_r_l">
  169. <div class="infor_r_l1"><span class="userimg"><!--{if $post[groupicon]}--><p>$post[groupicon]</p><!--{/if}--></span><span class="userimg1"><!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
  170. <img class="authicn" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
  171. <!--{else}-->
  172. <img class="authicn" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
  173. <!--{/if}-->
  174. </span><p><em id="authorposton$post[pid]">{lang poston} $post[dateline]</em></p></div>
  175. <div class="infor_r_l2"><p>头衔:<em>$post[authortitle]</em></p><p>{eval showstars($post['stars']);}</p></div>
  176. <div class="infor_r_l3">
  177. <ul class="info_ul_l">
  178. <li>ID$post[authorid]</li><li>{lang digest_posts}:<!--{if $post['digestposts']}--><a href="digest.php?authorid=$post[authorid]">$post[digestposts]</a><!--{else}-->$post[digestposts]<!--{/if}--></li><li>{lang credits}:$post[credits]</li><li>{lang posts}:$post[posts]</li>
  179. </ul>
  180. <ul class="info_ul_c">
  181. <li>威望:$post[extcredits1]</li><li>元宝:$post[extcredits2]</li><li>积极:$post[extcredits3]</li><li>贡献:$post[extcredits4]</li><li>魅力:$post[extcredits1]</li><li>活跃:$post[extcredits2]</li><li>沙发:$post[extcredits3]</li><li>SoQ币:$post[extcredits5]</li>

  182. </ul>
  183. <ul class="info_ul_r">
  184. <li>{lang readperm}:$post[readaccess]</li><li>注册:$post[regdate]</li><li><!--{eval $post[offdays] = intval((time() - $post['lastactivity']) / 86400);}-->失踪:$post[offdays] 天</li><li>在线:共$post[oltime]小时</li>
  185. </ul>
  186. </div>
  187. </div>
  188. <div class="info_r_b_r">
  189. <!--{if $post['medals']}-->
  190. <!--{loop $post['medals'] $medal}-->
  191. <img src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title="$medal[name]" />
  192. <!--{/loop}-->
  193. <!--{else}-->
  194. <a href="home-medal.html"><font color="#666666">你还没有获得勋章,点此申请勋章</font></a>
  195. <!--{/if}--></div>
  196. </div>
  197. </div>
  198. <!--{/if}-->$post[newpostanchor] $post[lastpostanchor]
  199. </td></tr>
复制代码
下载压缩包,把压缩包里面的info文件夹上传到你的图片目录里面。

保存——上传——覆盖,后台更新缓存。OK、
演示地址:http://www.soq.cc/thread-7677-1-1.html  


评分

1

查看全部评分

 楼主| kkqzone 发表于 2011-5-27 00:16:20 | 显示全部楼层
都是我精心编写的。大家给个支持哦。
回复

使用道具 举报

vtx 发表于 2011-5-27 00:19:17 | 显示全部楼层
这样弄好吗?三乡论坛
回复

使用道具 举报

xiaomu 发表于 2011-5-27 00:31:16 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

chen345210 发表于 2011-5-27 01:01:31 | 显示全部楼层
回复

使用道具 举报

oοゞ唫昔oοゞ 发表于 2011-5-27 01:13:51 | 显示全部楼层
你说的哪个图片文件夹??我的怎么没有info图片文件夹的,怎么覆盖!!!!
回复

使用道具 举报

 楼主| kkqzone 发表于 2011-5-27 22:03:20 | 显示全部楼层
怎么没人顶呢
回复

使用道具 举报

dashou 发表于 2011-5-27 22:05:24 | 显示全部楼层
演示看不清楚
回复

使用道具 举报

 楼主| kkqzone 发表于 2011-5-29 16:35:18 | 显示全部楼层
那么大的图片看不见。有演示地址啊
回复

使用道具 举报

7822990 发表于 2011-5-30 09:17:35 | 显示全部楼层
有问题,缺少一个代码
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-18 17:38 , Processed in 0.114884 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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