请19.12分以前弄的朋友,重新弄一下,我少弄了个代码上去,使它不能展开!现在好了,真是对不起啊!
演示地址:http://bbs.ppyyy.com/thread-14663-1-1.html
个人信息美化FOR5.0.0!(窄,无收缩版)BY冰:https://discuz.dismall.com/thread-388303-1-1.html
大家有什么不满意的,回贴告诉我会帮你改到满意的.
有的朋友可能安了婚姻,家族插件的,需要整合,可以联系我;有的朋友对里面的一些功能不需要,要删去的也可以联系我.
其它需要美化的也可以联系我,我会尽我所能帮忙的!
本人最近需要3.5元钱,又不好意思进银行的,哪位好心的朋友愿意帮助我一下十分感谢!
我QQ1164066
美化交流群:27071876
下面献丑了!
第一步:打开 viewthread.php 找
$post['regdate'] = gmdate($dateformat, $post['regdate'] + $timeoffset * 3600);
上面加
$post['missday'] = intval(($timestamp-$post['lastactivity'])/(3600*24));
查找
$postlist[$post['pid']] = $post;
上面加
//---------------------------------
$topicquery = $db->query("SELECT tid FROM {$tablepre}threads WHERE author='$post[author]'");
$post[topicallnum] = $db->num_rows($topicquery);
$post[posts] = $post[posts] - $post[topicallnum];
$post[alls] = $post[posts] + $post[topicallnum];
//---------------------------------
打开:viewthread.htm 找
<input type="hidden" name="formhash" value="{FORMHASH}">
下面加
<!--wo ke ai de -->
<SCRIPT>
<!--
function flip(ud, img) {
if (ud.style.display == "block") {
ud.style.display="none";
img.src = 'images/ppyyy/detail_plus.gif';
}else{
ud.style.display="block";
img.src = 'images/ppyyy/detail_minus.gif';
}
}
// -->
</SCRIPT>
<!--js ho ho-->
再找
<td width="18%" valign="top" class="t_user">$post[newpostanchor] $post[lastpostanchor]
<!--{if $forum['ismoderator']}-->
<!--{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}" /></a><!--{/if}-->
<!--{/if}-->
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
<a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold">$post[author]</a><!--{if $post['nickname']}--> <span class="smalltxt">($post[nickname])</span><!--{/if}-->
<br><div class="smalltxt">
$post[authortitle]
<br>{eval showstars($post['stars']);}<br><!--{if $post['customstatus']}-->$post[customstatus]<br><!--{/if}--><br>
<!--{if $avatarshowpos == 3 && $post['avatarshow'] && $showavatars}-->
<center>$post[avatarshow]</center><br>
<!--{elseif $post['avatar'] && $showavatars}-->
<table width="95%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed; overflow: hidden">
<tr><td align="center">$post[avatar]</td></tr></table><br>
<!--{else}-->
<br><br>
<!--{/if}-->
<!--{if $post['medals']}-->
<!--{loop $post['medals'] $medal}-->
<img src="images/common/$medal[image]" border="0" alt="$medal[name]" />
<!--{/loop}-->
<br>
<!--{/if}-->
{lang uid} $post[uid]<br>
{lang digest_posts} <!--{if $post['digestposts']}--><a href="digest.php?authorid=$post[authorid]">$post[digestposts]</a><!--{else}-->$post[digestposts]<!--{/if}--><br>
{lang credits} $post[credits]<br>
{lang posts} $post[posts]<br>
<!--{loop $extcredits_thread $key $credit}-->
$credit[title] $post[$key] $credit[unit]<br>
<!--{/loop}-->
{lang readperm} $post[readaccess]<br>
{lang regtime} $post[regdate]
<!--{loop $_DCACHE['fields_thread'] $field}-->
<br>$field[title]
<!--{if $field['selective']}-->
$field['choices'][$post['field_'.$field['fieldid']]]
<!--{else}-->
$post['field_'.$field['fieldid']]
<!--{/if}-->
<!--{/loop}-->
<!--{if $post['location']}--><br>{lang location} $post[location]<!--{/if}--><br>
<!--{if $vtonlinestatus && $post['authorid']}-->
<!--{if ($vtonlinestatus == 2 && $onlineauthors[$post[authorid]]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
{lang online_status} <b>{lang online}</b>
<!--{else}-->
{lang online_status} {lang offline}
<!--{/if}-->
<!--{/if}-->
<!--{if $avatarshowpos == 2 && $showavatars}--><br><br><center>$post[avatarshow]</center><!--{/if}-->
</div>
<!--{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}-->
<!--{else}-->
<!--{if !$post['authorid']}-->
<span class="bold">{lang guest}</span> <span class="smalltxt">$post[useip]</span><br><span class="smalltxt">{lang unregistered}
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
<span class="bold">
<!--{if $forum['ismoderator']}--><a href="viewpro.php?uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
</span><br>{lang member_anonymous}
<!--{else}-->
<span class="bold">$post[author]</span><br>
{lang member_deleted}
<!--{/if}-->
<br><br><br><br><br><br><br><br><br><br>
<!--{/if}-->
</td>
替换为
<!--馨园-美化开始-->
<td width="22%" valign="top" class="t_user">
<table width="210" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td><img src="images/ppyyy/biao-9.gif" width="210" height="5"></td>
</tr>
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3" background="images/ppyyy/biao-10.gif"><img src="images/ppyyy/biao-10.gif" width="3" height="5"></td>
<td valign="top" background="images/ppyyy/biao-bg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td valign="top"><a name="pid$post[pid]"></a>
<!--{if $forum['ismoderator']}-->
<!--{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}"></a><!--{/if}-->
<!--{/if}-->
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
<span class="bold""><!--{if $post['gender'] == 1}-->
<a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold"><font style='filter: glow(color=#00B02D,strength=3); height:10px; padding:2px' color=#FFFFC8 face=Comic Sans MS><span class="bold">$post[author]</span></font></a>
<!--{elseif $post['gender'] != 0}-->
<a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold"><font style='filter: glow(color=deeppink,strength=3); height:10px; padding:2px' color=white face=Comic Sans MS><span class="bold">$post[author]</span></font></a>
<!--{else}-->
<a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold"><font style='filter: glow(color=blue,strength=3); height:10px; padding:2px' color=#FFFFC8 face=Comic Sans MS><span class="bold">$post[author]</span></font></a>
<!--{/if}--></span>
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0" class="smalltxt">
<b>$post[authortitle]</b>
<tr><td width="5"><img src="images/ppyyy/biao-13.gif" width="5" height="17"></td><td background="images/ppyyy/biao-14.gif">
{eval showstars($post['stars']);}
</td><td width="5"><img src="images/ppyyy/biao-15.gif" width="5" height="17"></td></tr></table>
<!--{if $post['customstatus']}-->$post[customstatus]<br><!--{/if}--><br>
<!--{if $avatarshowpos == 3 && $post['avatarshow']}-->
<center>$post[avatarshow]</center><br>
<!--{elseif $post['avatar']}-->
<table width="99%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed">
<tr><td align="center">$post[avatar]</td></tr></table><br>
<!--{else}-->
<br><br>
<!--{/if}-->
<!--{if $post['nickname']}-->
<center><font style='filter: glow(color=#FF9900,strength=3); height:10px; padding:2px' color=#FFFFC8 face=Comic Sans MS><span class="smalltxt">$post[nickname]</span></font></center>
<!--{/if}-->
<!--{if $post['medals']}-->
<!--{loop $post['medals'] $medal}-->
<img src="images/common/$medal[image]" border="0" alt="$medal[name]">
<!--{/loop}-->
<br>
<!--{/if}-->
<img src="images/ppyyy/little.gif" width="12" height="12">
{lang uid} $post[uid]<br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<img src="images/ppyyy/little.gif" width="12" height="12">
{lang digest_posts} <!--{if $post['digestposts']}--><a href="digest.php?authorid=$post[authorid]">$post[digestposts]</a><!--{else}-->$post[digestposts]<!--{/if}--><br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<img src="images/ppyyy/little.gif" width="12" height="12">
{lang credits} $post[credits]<br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<img src="images/ppyyy/little.gif" width="12" height="12">
{lang posts} $post[alls]<br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<div id="ud_$post[pid]" style="display:none">
<img src="images/ppyyy/little.gif" width="12" height="12">
主题 $post[topicallnum]<br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<img src="images/ppyyy/little.gif" width="12" height="12">
回复 $post[posts]<br>
<!--{loop $extcredits_thread $key $credit}-->
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<img src="images/ppyyy/little.gif" width="12" height="12">
$credit[title] $post[$key] $credit[unit]<br>
<!--{/loop}-->
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<img src="images/ppyyy/little.gif" width="12" height="12">
{lang readperm} $post[readaccess]<br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<img src="images/ppyyy/little.gif" width="12" height="12">
{lang regtime} $post[regdate]<br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<!--{loop $_DCACHE['fields_thread'] $field}-->
<img src="images/ppyyy/little.gif" width="12" height="12">
$field[title]
<!--{if $field['selective']}-->
$field['choices'][$post['field_'.$field['fieldid']]]
<!--{else}-->
$post['field_'.$field['fieldid']]
<!--{/if}--><br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<!--{/loop}-->
<!--{if $post['location']}-->
<img src="images/ppyyy/little.gif" width="12" height="12">
{lang location} $post[location]<br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<!--{/if}-->
<img src="images/ppyyy/little.gif" width="12" height="12">
失踪 <span class="element_invisible">$post[missday] 天</span><br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<!--{if $vtonlinestatus && $post['authorid']}-->
<!--{if $timestamp - $post['lastactivity'] <= 10800 && !$post['invisible']}--><img src="images/ppyyy/little.gif" width="12" height="12">
{lang online_status}<IMG SRC=images/ppyyy/online.gif alt={lang online} align=absmiddle><br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<!--{else}--><img src="images/ppyyy/little.gif" width="12" height="12">
{lang online_status} <IMG SRC=images/ppyyy/offline.gif alt={lang offline} align=absmiddle><br>
<img src="images/ppyyy/biao-18.gif" width="186" height="1"><br>
<!--{/if}-->
<!--{/if}--></div>
<br><center><span id="$post[pid]" onclick="flip(ud_$post[pid], document.images.img_$post[pid])"><IMG src="images/ppyyy/detail_plus.gif" alt="点击打开/关闭$post[author]的资料" id="img_$post[pid]"></span></center>
<!--{if $avatarshowpos == 2}--><center>$post[avatarshow]</center><!--{/if}-->
<!--{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}-->
<!--{else}-->
<!--{if !$post['authorid']}-->
<span class="bold">{lang guest}</span> <span class="smalltxt">$post[useip]</span><br><span class="smalltxt">{lang unregistered}
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
<span class="bold">
<!--{if $forum['ismoderator']}--><a href="viewpro.php?uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
</span><br>{lang member_anonymous}
<!--{else}-->
<span class="bold">$post[author]</span><br>
{lang member_deleted}
<!--{/if}-->
<br><br><br><br><br><br><br><br><br><br>
<!--{/if}-->
</td></tr></table></td>
<td width="3" background="images/ppyyy/biao-11.gif"><img src="images/ppyyy/biao-11.gif" width="3" height="3"></td></tr></table></td></tr><tr><td><img src="images/ppyyy/biao-12.gif" width="210" height="5"></td></tr></table></td>
<!--馨园-美化结束-->
[ 本帖最后由 X-Ice 于 2006-9-4 18:28 编辑 ] |