本帖最后由 kkqzone 于 2011-6-20 21:21 编辑
先看个演示:横排效果:
目前的话大部分人用的横排都是从1.5上面照搬的,1.5的viewthread_node.htm和2.0的不一样,如果照搬的话也可以实现这个效果。但是会有一些小小的不如意,本人经常努力测试。测试出完美的方法。现在发布出来供大家使用.DZ风格交流群106711358 欢迎你的加入
很抱歉上次发布的缺少了个CSS现在补上:
- /** 横排美化 **/
- .cxuserinfo { width:960px; height:190px; overflow:hidden; background:url({IMGDIR}/info/comiis_yhbg.jpg) 0 0 ; margin:0px auto; font-size:12px;}
- .info_l1 { float:left; height:190px; width:39px; }
- .info_l1 div { width:16px; margin-left:12px; margin-top:112px; }
- .info_l1 div img { margin-top:5px;}
- .info_l2 { float:left; height:186px; width:130px;}
- .info_l2 span { display:block; width:112px; height:112px; margin:22px 0 0 10px; overflow:hidden; }
- .info_l2 span img{width:112px;}
- .info_l2 p { margin-top:17px!important;margin-top:17px; line-height:30px; color:#222; text-align:center; overflow:hidden;}
- .info_r { float:right; height:186px; width:768px;}
- .info_r_t { height:30px; width:765px; margin-top:15px; overflow:hidden;}
- .info_r_t .dengji { padding-left:20px; background:url({IMGDIR}/info/icon_6.gif) 0 11px no-repeat;}
- .dengji font { padding-top:8px;}
- .dengji img { margin-top:0px; height:17px;}
- .info_r_t .gl { margin-left:25px;}
- .info_r_t div { height:27px; width:auto; float:left;padding-top:8px;margin-right:5px; }
- .info_r_t span { float:right; margin-right:10px;}
- .info_r_t div em { color:#d80000;}
- .infor_r_l {float:left; height:137px; width:408px;}
- .infor_r_l1 { height:35px; width:408px; }
- .infor_r_l1 .userimg { display:block; width:139px; height:32px; float:left; margin-right:5px; overflow:hidden;}
- .infor_r_l1 .userimg1 { float:left; margin-right:5px; margin-top:7px;}
- .infor_r_l1 p { float:left; line-height:30px;}
- .infor_r_l2 { height:25px; width:408px; }
- .infor_r_l2 p { float:left; margin-right:5px; margin-top:0px;}
- .infor_r_l3 { height:73px; width:408px; margin-top:1px !important; margin-top:-1px; }
- .infor_r_l3 ul { float:left; margin:0; padding:0;}
- .infor_r_l3 ul li { padding-left:18px; height:18px!important; height:19px; overflow:hidden; list-style:none;}
- .info_ul_l { width:92px;}
- .info_ul_c { width:194px;}
- .info_ul_c li { width:77px; float:left; }
- .info_ul_r { width:122px;}
- .info_ul_r li { width:102px; float:left; overflow:hidden; height:19px;}
- .info_r_b_r { float:left; width:310px; height:110px; overflow:hidden; margin-left:35px; margin-top:17px; line-height:110px; text-align:center; }
- .info_r_b_r img { float:left; margin:3px 2px;}
- /** end **/
复制代码 把上面的CSS代码加在风格目录common/moudle.css里面的最后。。
然后打开template/你目前正在使用的风格目录/forum/viewthread_node.htm:查找:- <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
- <tr>
- <td class="pls" rowspan="2">
- $post[newpostanchor] $post[lastpostanchor]
- <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
- <!--{if $_G['setting']['authoronleft']}-->
- <div class="pi">
- <div class="authi"><a href="home.php?mod=space&uid=$post['authorid']" target="_blank" class="xw1">$post[author]</a>$authorverifys</div>
- </div>
- <!--{/if}-->
- <div class="p_pop blk bui" id="userinfo$post[pid]" style="display: none; {if $_G['setting']['authoronleft']}margin-top: -11px;{/if}">
- <div class="m z">
- <div id="userinfo$post[pid]_ma"></div>
- <!--{hook/viewthread_profileside $postcount}-->
- </div>
- <div class="i y">
- <div>
- <strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a></strong>
- <!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
- <!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['authorinvisible'])}-->
- <em>{lang online}</em>
- <!--{else}-->
- <em>{lang offline}</em>
- <!--{/if}-->
- <!--{/if}-->
- </div>
- <dl class="cl">{$post[custominfo][menu]}</dl>
- <div class="imicn">
- <!--{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}-->
- <!--{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}-->
- <!--{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}-->
- <!--{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}-->
- <!--{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}-->
- <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>
- <!--{hook/viewthread_imicons $postcount}-->
- <!--{if $_G['setting']['magicstatus']}-->
- <!--{if !empty($_G['setting']['magics']['showip'])}-->
- <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>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']}-->
- <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>
- <!--{/if}-->
- <!--{hook/viewthread_magic_user $postcount}-->
- <!--{/if}-->
- </div>
- <div id="avatarfeed"><span id="threadsortswait"></span></div>
- </div>
- </div>
- <!--{/if}-->
- <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
- <div>
- <!--{if $_G['setting']['bannedmessages'] & 2 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->
- <div class="avatar">{lang member_avatar_banned}</div>
- <!--{elseif $post['avatar'] && $showavatars}-->
- <div class="avatar" onmouseover="showauthor(this, 'userinfo$post[pid]')"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[avatar]</a></div>
- <!--{/if}-->
- <!--{hook/viewthread_avatar $postcount}-->
- <!--{if $post[groupicon]}--><p>$post[groupicon]</p><!--{/if}-->
- <p><em><a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]" target="_blank">{$post[authortitle]}</a></em></p>
- <!--{if $post['customstatus'] && $_G['group']['allowcstatus']}--><p class="xg1">$post[customstatus]</p><!--{/if}-->
- </div>
- <p{if $post['upgradecredit'] !== false} id="g_up$post[pid]" onmouseover="showMenu({'ctrlid':this.id, 'pos':'12!'});"{/if}><!--{eval showstars($post['stars']);}--></p>
- <!--{if $post['upgradecredit'] !== false}-->
- <div id="g_up$post[pid]_menu" class="tip tip_4" style="display: none;">
- <div class="tip_horn"></div>
- <div class="tip_c">$post['authortitle'], {lang credits} $post['credits'], {lang thread_groupupgrade} $post['upgradecredit'] {lang credits}</div>
- </div>
- <!--{/if}-->
- <!--{hook/viewthread_sidetop $postcount}-->
- <!--{if $post[custominfo][left]}--><dl class="pil cl">{$post[custominfo][left]}</dl><!--{/if}-->
- <!--{if $post['medals']}-->
- <p class="md_ctrl">
- <a href="home.php?mod=medal">
- <!--{loop $post['medals'] $medal}-->
- <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!'});" />
- <!--{/loop}-->
- </a>
- </p>
- <!--{/if}-->
- <!--{if $post[authorid] != $_G[uid]}-->
- <ul class="xl xl2 o cl">
- <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>
- <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>
- <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>
- <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>
- </ul>
- <!--{/if}-->
- <!--{hook/viewthread_sidebottom $postcount}-->
- <!--{else}-->
- <div class="pi">
- <!--{if !$post['authorid']}-->
- <a href="javascript:;">$_G[setting][anonymoustext] <em>$post[useip]</em></a>
- <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
- <!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$_G[setting][anonymoustext]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}-->
- <!--{else}-->
- $post[author] <em>{lang member_deleted}</em>
- <!--{/if}-->
- </div>
- <!--{/if}-->
- <!--{if $_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'])}-->
- <p>
- <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip']}-->
- <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>
- <!--{/if}-->
- <!--{if $_G['group']['allowedituser']}-->
- <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>
- <!--{/if}-->
- <!--{if $_G['group']['allowbanuser']}-->
- <!--{if $_G['adminid'] == 1}-->
- <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
- <!--{else}-->
- <a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
- <!--{/if}-->
- <!--{/if}-->
- <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
- </p>
- <!--{/if}-->
- </td>
复制代码 替换为:- <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}-->">
- <tr><td>
- $post[newpostanchor] $post[lastpostanchor]
- <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
- <div class="cxuserinfo">
- <div class="info_l1">
- <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>
- </div>
- <div class="info_l2">
- <span>
- <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>
- </span>
- <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>
- </div>
- <div class="info_r">
- <div class="info_r_t">
- <div>
- <a href="home.php?mod=space&uid=$post[authorid]" target="_blank"><img src="{IMGDIR}/info/kongjian.jpg" alt="个人空间" /></a>
- <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>
- <!--{if $post[authorid] != $_G[uid]}-->
- <!--{if !in_array($post[authorid], $friends)}-->
- <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>
- <!--{else}-->
- <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>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $post['authorid'] && !$post['anonymous']}-->
- <!--{if !$_G['gp_authorid'] && !$_G['forum_thread']['archiveid']}-->
- <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>
- <!--{elseif !$_G['forum_thread']['archiveid']}-->
- <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>
- <!--{/if}-->
- <!--{/if}-->
- </div>
- <div>
- <!--{if $post['authorid'] && !$post['anonymous']}-->
- <a href="home.php?mod=space&uid=$post['authorid']" class="posterlink" target="_blank">$post[author]</a>
- <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
- {lang anonymous} <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
- <!--{elseif !$post['authorid'] && !$post['username']}-->
- {lang guest} <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
- <!--{/if}-->
- <!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
- <!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
- <em>{lang online}
- <!--{else}-->
- <em><font color="#666666">{lang offline}</font>
- <!--{/if}-->
- </em>
- <!--{/if}-->
- </div>
- <div class="dengji">
- <!--{if $post[posts]<50}--> 经验:<font color="green"> 01级</font>
- <img src="{IMGDIR}/info/1.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯加油加油">
- <!--{elseif $post[posts]<100}-->
- 经验:<font color="green"> 02级</font>
- <img src="{IMGDIR}/info/2.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯哎哟哎哟">
- <!--{elseif $post[posts]<200}-->
- 经验:<font color="green"> 03级</font>
- <img src="{IMGDIR}/info/3.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快4级咯">
- <!--{elseif $post[posts]<300}-->
- 经验:<font color="green"> 04级</font>
- <img src="{IMGDIR}/info/4.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快5级咯">
- <!--{elseif $post[posts]<400}-->
- 经验:<font color="green"> 05级</font>
- <img src="{IMGDIR}/info/5.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快6级咯">
- <!--{elseif $post[posts]<500}-->
- 经验:<font color="green"> 06级</font>
- <img src="{IMGDIR}/info/6.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快7级咯">
- <!--{elseif $post[posts]<600}-->
- 经验:<font color="green"> 07级</font>
- <img src="{IMGDIR}/info/7.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快8级咯">
- <!--{elseif $post[posts]<700}-->
- 经验:<font color="green"> 08级</font>
- <img src="{IMGDIR}/info/8.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快9级咯">
- <!--{elseif $post[posts]<800}-->
- 经验:<font color="green"> 09级</font>
- <img src="{IMGDIR}/info/9.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯马上就要文坛巨匠咯">
- <!--{elseif $post[posts]<900}-->
- 经验:<font color="green"> 10级</font>
- <img src="{IMGDIR}/info/10.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯文坛巨匠了不起哦">
- <!--{elseif $post[posts]<1000}-->
- 经验:<font color="green"> 11级</font>
- <img src="{IMGDIR}/info/11.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快12级咯">
- <!--{elseif $post[posts]<1500}-->
- 经验:<font color="green"> 12级</font>
- <img src="{IMGDIR}/info/12.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快13级咯">
- <!--{elseif $post[posts]<2000}-->
- 经验:<font color="green"> 13级</font>
- <img src="{IMGDIR}/info/13.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快14级咯">
- <!--{elseif $post[posts]<2500}-->
- 经验:<font color="green"> 14级</font>
- <img src="{IMGDIR}/info/14.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快15级咯">
- <!--{elseif $post[posts]<3000}-->
- 经验:<font color="green"> 15级</font>
- <img src="{IMGDIR}/info/15.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快16级咯">
- <!--{elseif $post[posts]<4000}-->
- 经验:<font color="green"> 16级</font>
- <img src="{IMGDIR}/info/16.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快17级咯">
- <!--{elseif $post[posts]<5000}-->
- 经验:<font color="green"> 17级</font>
- <img src="{IMGDIR}/info/17.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快18级咯">
- <!--{elseif $post[posts]<6000}-->
- 经验:<font color="green"> 18级</font>
- <img src="{IMGDIR}/info/18.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快19级咯">
- <!--{elseif $post[posts]<7000}-->
- 经验:<font color="green"> 19级</font>
- <img src="{IMGDIR}/info/19.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯马上就要做水神了啊">
- <!--{elseif $post[posts]<8000}-->
- 经验:<font color="green"> 20级</font>
- <img src="{IMGDIR}/info/20.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯水神啊!">
- <!--{elseif $post[posts]<9000}-->
- 经验:<font color="green"> 21级</font>
- <img src="{IMGDIR}/info/21.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快22级咯">
- <!--{elseif $post[posts]<10000}-->
- 经验:<font color="green"> 22级</font>
- <img src="{IMGDIR}/info/22.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快23级咯">
- <!--{elseif $post[posts]<13000}-->
- 经验:<font color="green"> 23级</font>
- <img src="{IMGDIR}/info/23.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快24级咯">
- <!--{elseif $post[posts]<15000}-->
- 经验:<font color="green"> 24级</font>
- <img src="{IMGDIR}/info/24.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快25级咯">
- <!--{elseif $post[posts]<20000}-->
- 经验:<font color="green"> 25级</font>
- <img src="{IMGDIR}/info/25.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快26级咯">
- <!--{elseif $post[posts]<25000}-->
- 经验:<font color="green"> 26级</font>
- <img src="{IMGDIR}/info/26.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快27级咯">
- <!--{elseif $post[posts]<30000}-->
- 经验:<font color="green"> 27级</font>
- <img src="{IMGDIR}/info/27.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快28级咯">
- <!--{elseif $post[posts]<35000}-->
- 经验:<font color="green"> 28级</font>
- <img src="{IMGDIR}/info/28.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯快29级咯">
- <!--{elseif $post[posts]<40000}-->
- 经验:<font color="green"> 29级</font>
- <img src="{IMGDIR}/info/29.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯马上就可以当水龙王了啊">
- <!--{elseif $post[posts]<50000}-->
- 经验:<font color="green"> 30级</font>
- <img src="{IMGDIR}/info/30.gif" align="absmiddle" alt="已经发了$post[posts]篇文章咯水龙王非你莫属">
- <!--{/if}--></div>
- <div class="gl">
- <!--{if $_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'] && ($_G['forum_thread']['digest'] >= 0 || !$post['first']))}-->
- <p>
- <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip'] && ($_G['forum_thread']['digest'] >= 0 || !$post['first'])}-->
- <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>
- <!--{/if}-->
- <!--{if $_G['group']['allowedituser']}-->
- <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>
- <!--{/if}-->
- <!--{if $_G['group']['allowbanuser']}-->
- <!--{if $_G['adminid'] == 1}-->
- <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
- <!--{else}-->
- <a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
- <!--{/if}-->
- <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
- <!--{/if}-->
- </p>
- <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>
- <!--{/if}-->
- </div>
- <span style="margin-top:8px;">
- <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>
- </span>
- </div>
- <div class="infor_r_l">
- <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']]}-->
- <img class="authicn" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
- <!--{else}-->
- <img class="authicn" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
- <!--{/if}-->
- </span><p><em id="authorposton$post[pid]">{lang poston} $post[dateline]</em></p></div>
- <div class="infor_r_l2"><p>头衔:<em>$post[authortitle]</em></p><p>{eval showstars($post['stars']);}</p></div>
- <div class="infor_r_l3">
- <ul class="info_ul_l">
- <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>
- </ul>
- <ul class="info_ul_c">
- <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>
- </ul>
- <ul class="info_ul_r">
- <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>
- </ul>
- </div>
- </div>
- <div class="info_r_b_r">
- <!--{if $post['medals']}-->
- <!--{loop $post['medals'] $medal}-->
- <img src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title="$medal[name]" />
- <!--{/loop}-->
- <!--{else}-->
- <a href="home-medal.html"><font color="#666666">你还没有获得勋章,点此申请勋章</font></a>
- <!--{/if}--></div>
- </div>
- </div>
- <!--{/if}-->$post[newpostanchor] $post[lastpostanchor]
- </td></tr>
复制代码 下载压缩包,把压缩包里面的info文件夹上传到你的图片目录里面。
保存——上传——覆盖,后台更新缓存。OK、
演示地址:http://www.soq.cc/thread-7677-1-1.html
|