【动网论坛7.1 sp1 修改】-会员信息修改方案

修改方法:

 

进入默认风格分页面模板(page_dispbbs)界面风格管理template.html(0)
[只是其中的一段,原文件都一样,大家可以对照修改下.比较简单.]

 

<div class="postlary{2 - (position() mod 2)}">
<div class="postuserinfo">
<div class="user_ppt">
<div style="padding: 10px 0px 0px 5px;line-height:30px;height:20px;">
<div style="float:left;width :120px;"><xsl:value-of select="substring-before(/post/userlist/user[@userid=$userid]/@namestyle,'§')" disable-output-escaping="yes"/>
<xsl:value-of select="@username" /><xsl:value-of select="substring-after(/post/userlist/user[@userid=$userid]/@namestyle,'§')" disable-output-escaping="yes"/></div>
</div>
<xsl:variable name="userface" select="/post/userlist/user[@userid=$userid]/@userface"/>
<xsl:choose>
<xsl:when test="contains($userface,'|')">
<div><img src="{substring-after($userface,'|')}" alt="" width="{/post/userlist/user[@userid=$userid]/@userwidth}" height="{/post/userlist/user[@userid=$userid]/@userheight}"/></div>
<xsl:if test="substring-before($userface,'|') != '0'">
<div><a href="javascript:DispMagicEmot({substring-before($userface,'|')},350,500)">查看魔法头像</a></div>
</xsl:if>
</xsl:when>
<xsl:otherwise><div><img src="{$userface}" alt="" width="{/post/userlist/user[@userid=$userid]/@userwidth}" height="{/post/userlist/user[@userid=$userid]/@userheight}"/></div></xsl:otherwise>
</xsl:choose>
<div><img style="margin:5px 0px 5px 0px;" src=" {/post/setting/@picurl}star/{/post/userlist/user[@userid=$userid]/@titlepic}"/></div>
<xsl:if test="/post/userlist/user[@userid=$userid]/@usertitle != ''">
<div class="user_pt"><span class="user_point">头衔:<xsl:value-of select="/post/userlist/user[@userid=$userid]/@usertitle"/></span></div></xsl:if>
<div class="user_pt"><span class="user_point">等级:<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userclass"/></span></div>
<xsl:if test="/post/userlist/user[@userid=$userid]/@userpower != 0">
<div class="user_pt"><span class="user_point">威望:<font color="red"><b><xsl:value-of select="/post/userlist/user[@userid=$userid]/@userpower"/></b></font></span></div></xsl:if>
<div class="user_pt"><span class="user_point">发帖:<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userpost"/>篇</span></div>
<div class="user_pt"><span class="user_point">金币:<xsl:value-of select="/post/userlist/user[@userid=$userid]/@usermoney"/>枚</span></div>
<div class="user_pt">
<span class="user_point">状态:<xsl:choose><xsl:when test="/post/userlist/user[@userid=$userid]/@userhidden='1'">
<xsl:choose>
<xsl:when test="/post/userlist/user[@userid=$userid]">
离线
</xsl:when>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="/post/userlist/user[@userid=$userid]">
在线
</xsl:when>
</xsl:choose>
</xsl:otherwise>
</xsl:choose></span></div>
<xsl:variable name="groupname" select="/post/userlist/user[@userid=$userid]/@usergroup"/>
<div class="user_pt"><span class="user_point">门派:<xsl:choose>
<xsl:when test="$groupname =''">无门无派</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="/post/group/groupname[@groupname=$groupname]"><xsl:value-of select="$groupname"/></xsl:when>
<xsl:otherwise>无门无派</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</span></div>

 

修改风格:

 

加入这一段

 

.user_pt{border-bottom:1px dotted #e7e7e7;height:22px;text-align:left;color:#333;line-height:180% ;
background-image:url("{$PicUrl}point.gif");
background-attachment: scroll;
background-repeat: no-repeat;
background-position: left center;
}
.user_ppt{border:1px solid #e7e7e7; height:auto;background-color :#fff;margin:10px;background-image:url("{$PicUrl}biao-bg.gif");
background-attachment: scroll;
background-color: #FFFFFF;
background-repeat: repeat-x;
background-position: left top;padding:5px}
posted @ 2006-07-18 03:00  『Jacky』  阅读(246)  评论(0编辑  收藏  举报