白紫衣
小狐狸
小狐狸
  • UID1992
  • 注册日期2005-01-10
  • 最后登录2011-10-17
  • 发帖数11
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:7429回复:4

【紧急求助】关于论坛使用FX访问出现错误

楼主#
更多 发布于:2007-08-08 14:31
小弟使用的DVbbs的论坛程序,换了一个非官方模版,再IE下面浏览没有任何问题。但是一旦用FX访问论坛顶部的个人信息就会出现严重的错误。我检查了CSS完全没有找不到问题所在,麻烦哪个大大帮忙看一下,谢谢。

附带:(page_index)的template.html(0)代码

<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="xml" omit-xml-declaration = "yes" indent="yes" version="4.0"/>
    <!--
    Copyright (C) 2004,2005 AspSky.Net. All rights reserved.
    Written by dvbbs.net Lao Mi
    Web: http://www.aspsky.net/,http://www.dvbbs.net/
    Email: <!-- e --><a href="mailto:eway@aspsky.net">eway@aspsky.net</a><!-- e -->
    -->
<xsl:template  match="/">
<xsl:if test="BoardList/@boardid=0"><xsl:call-template name="welcome" /></xsl:if>
<xsl:call-template name="main" />
<xsl:if test="BoardList/@boardid=0"><xsl:call-template name="link" /><xsl:call-template name="index_bottom" /></xsl:if>
</xsl:template>
<xsl:template  name="main">
<iframe style="border:0px;width:0px;height:0px;" src="" name="hiddenframe1"></iframe>
<xsl:variable name="boardid" select="BoardList/@boardid"/>
<xsl:choose>
<xsl:when test="$boardid=0">
<xsl:for-each select="BoardList/board[@parentid =$boardid]">
<div class="th" style="margin-top:10px;">
<span id="titlepic_{@boardid}"><a target="hiddenframe1">
<xsl:choose>
    <xsl:when test="@mode!='0'"><xsl:attribute name="href">cookies.asp?action=setlistmod&amp;thisvalue=0&amp;id=<xsl:value-of select="@boardid"/></xsl:attribute>
    <img alt="切换到列表模式" src="{/BoardList/@picurl}plus.gif"/>
    </xsl:when>
    <xsl:otherwise>
    <xsl:attribute name="href">cookies.asp?action=setlistmod&amp;thisvalue=1&amp;id=<xsl:value-of select="@boardid"/>
    </xsl:attribute>
    <img alt="切换到简洁模式" src="{/BoardList/@picurl}nofollow.gif" border="0"/>
    </xsl:otherwise>
    </xsl:choose></a></span>
<a href="index.asp?boardid={@boardid}" title="进入本分类论坛"><xsl:value-of select="@boardtype" disable-output-escaping="yes" /></a>
</div>
<xsl:choose>
        <xsl:when test="@mode!='0'">
        <xsl:variable name="tdcount">
        <xsl:choose>
                <xsl:when test="@simplenesscount=0">4</xsl:when>
                <xsl:otherwise><xsl:value-of select="@simplenesscount" /></xsl:otherwise>
        </xsl:choose>
        </xsl:variable>
        <xsl:variable name="tdwidth"><xsl:value-of select="floor((99.9 div $tdcount))"/>%</xsl:variable>
        <xsl:call-template name="showboard2">
        <xsl:with-param name="parentid" select="@boardid"/>
        <xsl:with-param name="tdcount" select="$tdcount"/>
        <xsl:with-param name="tdwidth" select="$tdwidth"/>
        <xsl:with-param name="positions" select="0"/>
        </xsl:call-template>
        </xsl:when>
        <xsl:otherwise>
        <xsl:call-template name="showboard1">
        <xsl:with-param name="parentid" select="@boardid"/>
        </xsl:call-template>
        </xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="BoardList/board[@boardid =$boardid and @child !=0]">
<div class="th">
<span id="titlepic_{@boardid}"><a target="hiddenframe1">
<xsl:choose>
    <xsl:when test="@mode!='0'"><xsl:attribute name="href">cookies.asp?action=setlistmod&amp;thisvalue=0&amp;id=<xsl:value-of select="@boardid"/></xsl:attribute>
    <img alt="切换到列表模式" src="{/BoardList/@picurl}plus.gif"/>
    </xsl:when>
    <xsl:otherwise>
    <xsl:attribute name="href">cookies.asp?action=setlistmod&amp;thisvalue=1&amp;id=<xsl:value-of select="@boardid"/>
    </xsl:attribute>
    <img alt="切换到简洁模式" src="{/BoardList/@picurl}nofollow.gif" border="0"/>
    </xsl:otherwise>
    </xsl:choose></a></span>
<xsl:value-of select="@boardtype" disable-output-escaping="yes" />-论坛列表
</div>
<xsl:choose>
        <xsl:when test="@mode!='0'">
        <xsl:variable name="tdcount">
        <xsl:choose>
                <xsl:when test="@simplenesscount=0">4</xsl:when>
                <xsl:otherwise><xsl:value-of select="@simplenesscount" /></xsl:otherwise>
        </xsl:choose>
        </xsl:variable>
        <xsl:variable name="tdwidth"><xsl:value-of select="floor((99.9 div $tdcount))"/>%</xsl:variable>
        <xsl:call-template name="showboard2">
        <xsl:with-param name="parentid" select="@boardid"/>
        <xsl:with-param name="tdcount" select="$tdcount"/>
        <xsl:with-param name="tdwidth" select="$tdwidth"/>
        <xsl:with-param name="positions" select="0"/>
        </xsl:call-template>
        </xsl:when>
        <xsl:otherwise>
        <xsl:call-template name="showboard1">
        <xsl:with-param name="parentid" select="@boardid"/>
        </xsl:call-template>
        </xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<br />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="showboard2">
<xsl:param name="parentid"/>
<xsl:param name="tdwidth"/>
<xsl:param name="positions"/>
<xsl:param name="tdcount"/>
<div class="mainbar" style="height:60px;overflow :hidden;line-height:18px;">
<xsl:for-each select="/BoardList/board[@parentid = $parentid][position() &gt; $positions and position() &lt; ($tdcount+$positions+1)]">
<xsl:variable name="boardid" select="@boardid"/>
<div title="{@readme}">
<xsl:if test="last()!=position()"><xsl:attribute name="class">index_left_states</xsl:attribute></xsl:if>
<xsl:attribute name="style">height:60px;width:<xsl:value-of select="$tdwidth"/>;text-align :left;text-indent:5px;<xsl:if test="last()=position()">float:left;</xsl:if></xsl:attribute>
<div><a href="index.asp?boardid=8"> <xsl:if test="count(../board[@parentid=$boardid]) != 0"><xsl:attribute name="title">有<xsl:value-of select="count(../board[@parentid=$boardid])"/>个下属论坛</xsl:attribute></xsl:if><xsl:value-of select="@boardtype" disable-output-escaping="yes"/></a><xsl:if test="count(../board[@parentid=$boardid]) !=0"><a><xsl:attribute name="onmouseover">showmenu(event,BoardJumpList(<xsl:value-of select="@boardid"/>,1),0);</xsl:attribute>(<xsl:value-of select="count(../board[@parentid=$boardid])"/>)</a></xsl:if></div>
<div>今日贴:<font color="red"><xsl:value-of select="concat(' ',information/@todaynum,' ')"/></font>主题贴:<xsl:value-of select="concat(' ',information/@topicnum,' ')"/></div>
<div>发贴总数:<xsl:value-of select="concat(' ',information/@postnum)"/></div>
</div>
</xsl:for-each>
</div>
<div class="mainbar2" style="height:25px;overflow :hidden;">
<xsl:for-each select="/BoardList/board[@parentid = $parentid][position() &gt; $positions and position() &lt; ($tdcount+$positions+1)]">
<xsl:variable name="boardid" select="@boardid"/>
<div>
<xsl:if test="last()!=position()"><xsl:attribute name="class">list1</xsl:attribute></xsl:if>
<xsl:attribute name="style">height:25px;width:<xsl:value-of select="$tdwidth"/>;text-align :left;text-indent:5px;<xsl:if test="last()=position()">float:left;</xsl:if></xsl:attribute>
<xsl:choose>
        <xsl:when test="/BoardList/boardmaster[@boardid=$boardid]/master">版主:<xsl:for-each select="/BoardList/boardmaster[@boardid=$boardid]/master"> <a  href="dispuser.asp?name={.}" title="查看版主{.}的资料" target="_blank"><xsl:value-of select="."/></a> </xsl:for-each></xsl:when>
        <xsl:otherwise> 此版暂无版主 </xsl:otherwise>
</xsl:choose>
</div>
</xsl:for-each>
</div>
<xsl:if test="/BoardList/board[@parentid = $parentid][position() &gt; ($tdcount+$positions)]">
<xsl:call-template name="showboard2">
<xsl:with-param name="parentid" select="$parentid"/>
<xsl:with-param name="tdwidth" select="$tdwidth"/>
<xsl:with-param name="positions" select="($positions+$tdcount)"/>
<xsl:with-param name="tdcount" select="$tdcount"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="showboard1">
<xsl:param name="parentid"/>
<xsl:for-each select="/BoardList/board[@parentid = $parentid ]">
<xsl:variable name="boardid" select="@boardid"/>
<div class="mainbar" style="height:60px;">
<div class="index_right" style="height:44px;line-height:normal;margin-top:8px;">
        <xsl:choose>
   <xsl:when test="@checkout='1'">
   <div style="margin-top:18px;">认证论坛,请认证用户进入浏览</div>
   </xsl:when>
   <xsl:otherwise>
    <div>主题:<a href="dispbbs.asp?boardid={information/@lastpost_7}&amp;ID={information/@lastpost_6}&amp;replyID={information/@lastpost_1}&amp;skin=1"><xsl:value-of select="information/@lastpost_3" disable-output-escaping="yes" /></a></div>
    <div>发贴:<a href="dispuser.asp?id={information/@lastpost_5}"><xsl:value-of select="information/@lastpost_0"/></a></div>
    <div>日期:<xsl:value-of select="information/@lastpost_2"/><a href="Dispbbs.asp?boardid={information/@lastpost_7}&amp;ID={information/@lastpost_6}&amp;replyID={information/@lastpost_1}&amp;skin=1" title="主题:{information/@lastpost_3}"><img border="0" src="Skins/Default/xx521_klxq/lastpost.gif" alt=""/></a></div>
   </xsl:otherwise>
    </xsl:choose>
</div>
<div class="index_left_states"><img>
                    <xsl:choose>
                    <xsl:when test="@checkout=1">
                        <xsl:attribute name="title">认证论坛,<xsl:choose>
                        <xsl:when test="@newpost=1">有新贴子</xsl:when>
                        <xsl:otherwise>无新贴子</xsl:otherwise>
                        </xsl:choose>
                        </xsl:attribute>
                        <xsl:attribute name="src"><xsl:value-of select="/BoardList/forum_setting/@pic_2"/></xsl:attribute>
                    </xsl:when>
                    <xsl:when test="@checklock=1">
                        <xsl:attribute name="title">锁定论坛,<xsl:choose>
                        <xsl:when test="@newpost=1">有新贴子</xsl:when>
                        <xsl:otherwise>无新贴子</xsl:otherwise>
                        </xsl:choose>
                        </xsl:attribute>
                        <xsl:attribute name="src"><xsl:value-of select="/BoardList/forum_setting/@pic_2"/></xsl:attribute>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:choose>
                        <xsl:when test="@newpost=1"><xsl:attribute name="alt">开放的论坛,有新贴子</xsl:attribute>
                        <xsl:attribute name="src"><xsl:value-of select="/BoardList/forum_setting/@pic_1"/></xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise><xsl:attribute name="alt">开放的论坛,无新贴子</xsl:attribute>
                        <xsl:attribute name="src"><xsl:value-of select="/BoardList/forum_setting/@pic_0"/></xsl:attribute>
                        </xsl:otherwise>
                        </xsl:choose>
                    </xsl:otherwise>
                    </xsl:choose></img></div>
<div style="text-align :left;">
        <xsl:if test="@indeximg!=''"><a href="index.asp?boardid=8"><img src="{@indeximg}" alt="" class="boardlogo"/></a></xsl:if>
        <div><a href="index.asp?boardid=8"> <xsl:if test="count(../board[@parentid=$boardid]) != 0"><xsl:attribute name="title">有<xsl:value-of select="count(../board[@parentid=$boardid])"/>个下属论坛</xsl:attribute></xsl:if><xsl:value-of select="@boardtype" disable-output-escaping="yes"/></a><xsl:if test="count(../board[@parentid=$boardid]) !=0"><a><xsl:attribute name="onmouseover">showmenu(event,BoardJumpList(<xsl:value-of select="@boardid"/>,1),0);</xsl:attribute>(<xsl:value-of select="count(../board[@parentid=$boardid])"/>)</a></xsl:if></div>
        <div style="overflow :hidden;height:38px;"><font face="Arial"><img alt="" src="Skins/Default/xx521_klxq/Forum_readme.gif" align="middle"/><xsl:value-of select="@readme" disable-output-escaping="yes"/></font></div>
</div>
</div>
<div class="mainbar2" style="height:25px;overflow :hidden;">
<div class="index_right" style="height:25px;">
<img src="Skins/Default/Forum_today.gif"  alt="今日发贴数" style="margin-top:8px;"/><font color="red"><xsl:value-of select="concat(' ',information/@todaynum,' ')"/></font>
<img src="Skins/Default/forum_topic.gif" alt="主题贴数" /><xsl:value-of select="concat(' ',information/@topicnum,' ')"/>
<img src="Skins/Default/Forum_post.gif" alt="发贴总数" /><xsl:value-of select="concat(' ',information/@postnum)"/>
</div>
<div class="index_left_states" style="height:25px;"></div>
<div style="text-align : left; text-indent:5px;">
<xsl:choose>
<xsl:when test="/BoardList/forum_setting/@issearch=1">
<a href="index.asp?BoardID=8&amp;Page=2" title="{@boardtype}第二页">[2]</a>
<a href="index.asp?BoardID=8&amp;Page=3" title="{@boardtype}第三页">[3]</a>
<a href="index.asp?BoardID=8&amp;Page=4" title="{@boardtype}第四页">[4]</a>
<a href="index.asp?BoardID=8&amp;Page=5" title="{@boardtype}第五页">[5]</a>
<a href="index.asp?BoardID=8&amp;Page=6" title="{@boardtype}第六页">[6]</a>
<a href="index.asp?BoardID=8&amp;Page=7" title="{@boardtype}第七页">[7]</a>
<a href="index.asp?BoardID=8&amp;Page=8" title="{@boardtype}第八页">[8]</a>
<a href="index.asp?BoardID=8&amp;Page=9" title="{@boardtype}第九页">[9]</a>
<a href="index.asp?BoardID=8&amp;Page=10" title="{@boardtype}第十页">[10]</a>
</xsl:when>
<xsl:otherwise>
    <xsl:choose>
        <xsl:when test="/BoardList/boardmaster[@boardid=$boardid]/master">版主:<xsl:for-each select="/BoardList/boardmaster[@boardid=$boardid]/master"> <a  href="dispuser.asp?name={.}" title="查看版主{.}的资料" target="_blank"><xsl:value-of select="."/></a> </xsl:for-each></xsl:when>
        <xsl:otherwise> 此版暂无版主 </xsl:otherwise>
    </xsl:choose>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="/BoardList/forum_setting/@issearch=1 and /BoardList/forum_setting/@issearch_a=1">
<a href="index.asp?BoardID=8&amp;Page=11" title="{@boardtype}第十一页">[11]</a>
<a href="index.asp?BoardID=8&amp;Page=12" title="{@boardtype}第十二页">[12]</a>
<a href="index.asp?BoardID=8&amp;Page=13" title="{@boardtype}第十三页">[13]</a>
<a href="index.asp?BoardID=8&amp;Page=14" title="{@boardtype}第十四页">[14]</a>
<a href="index.asp?BoardID=8&amp;Page=15" title="{@boardtype}第十五页">[15]</a>
<a href="index.asp?BoardID=8&amp;Page=16" title="{@boardtype}第十六页">[16]</a>
<a href="index.asp?BoardID=8&amp;Page=17" title="{@boardtype}第十七页">[17]</a>
<a href="index.asp?BoardID=8&amp;Page=18" title="{@boardtype}第十八页">[18]</a>
<a href="index.asp?BoardID=8&amp;Page=19" title="{@boardtype}第十九页">[19]</a>
<a href="index.asp?BoardID=8&amp;Page=20" title="{@boardtype}第二十页">[20]</a>
</xsl:if>
</div>
</div>
</xsl:for-each>
</xsl:template>
<xsl:template name="welcome">
<div class="binbin1" >
<div  style="height:120px;text-align :left;">
<div id="yinying" style="height:146px;float:left;width:20px;" ></div>
<div class="binbin" style="height:120px;text-align :left;">
<div id="xx521" ></div>
<div id="tdleft" style="height:120px; ">
<div style="padding:5px;">
<xsl:choose>
        <xsl:when test="BoardList/userinfo/@userid=0"><xsl:call-template name="guest" /></xsl:when>
        <xsl:otherwise><xsl:call-template name="userinfo" /></xsl:otherwise>
</xsl:choose>
</div>
</div>
<div style="height:120px;float:center;width:250px;" >
<div style="padding:5px;">
<div style="float:left;width:140px;height:20px;line-height:20px;">会员总数:<b><xsl:value-of select="BoardList/forum_info/@forum_usernum"/></b> 人</div><div style="float:left;height:20px;line-height:20px;">最新会员:[ <a href="dispuser.asp?name={BoardList/forum_info/@forum_lastuser}" target="_blank"><b><xsl:value-of select="BoardList/forum_info/@forum_lastuser"/></b></a> ]</div>
<br /><hr/>
<div style="float:left;width:140px;height:20px;line-height:20px;">今日发贴:<font class="redfont"><b><xsl:value-of select="BoardList/forum_info/@forum_todaynum"/></b></font> 篇</div>
<div style="float:left;height:20px;line-height:20px;"> 主题总数:<b><xsl:value-of select="BoardList/forum_info/@forum_topicnum"/></b> 篇</div>
<div style="float:left;width:140px;height:20px;line-height:20px;">昨日发帖:<b><xsl:value-of select="BoardList/forum_info/@forum_yesterdaynum"/></b> 篇</div>
<div style="float:left;height:20px;line-height:20px;"> 帖子总数:<b><xsl:value-of select="BoardList/forum_info/@forum_postnum"/></b> 篇</div>
<div style="float:left;width:300px;">最高日发帖:<b><xsl:value-of select="BoardList/forum_info/@forum_maxpostnum"/></b> 篇,发生时间:<xsl:value-of select="BoardList/forum_info/@forum_maxpostdate"/></div>
</div>
</div>
</div>
</div>
</div>
<div class="mainbar1" style="text-align :left;height:36px;line-height:28px;">
<xsl:if test="BoardList/forum_setting/@rss=0 or BoardList/forum_setting/@wap=1">
    <div class="tableborder5" style="text-align :center;line-height:18px;height:20px;float:right;margin-right:6px;margin-top:6px;font-size:9px;font-family:tahoma,arial;">
    <div class="tabletitle1" style="float:left;width:25px;margin : 1px; 1px; 1px; 1px;">XML</div>
    <xsl:if test="BoardList/forum_setting/@rss=0"><div style="float:left;width:45px;margin: 1px 1px 1px 1px ;background-color : #fff;border:1px inset;line-height:16px;"><a href="http://rss.iboker.com/sub/?{BoardList/forum_setting/@ForumUrl}rssfeed.asp" target="_blank" title="订阅本站面最新帖子">RSS 2.0</a></div></xsl:if>
    <xsl:if test="BoardList/forum_setting/@wap=1"><div class="tabletitle1" style="float:left;width:25px;margin :1px;"><a href="wap.asp?Action=readme" target="_blank" title="通过手机访问论坛,把论坛动起来" style="color:#fff;">WAP</a></div></xsl:if>
    </div>
</xsl:if>

<div style="padding:3px;height:28px;text-indent:24px;" >
<a href="query.asp?stype=3&amp;pSearch=0&amp;nSearch=0">新贴</a>
<font face="Wingdings" color="666666">v</font>  
<a href="query.asp?stype=4&amp;pSearch=0&amp;nSearch=0">热门</a>
<font face="Wingdings" color="666666">v</font>
<a href="infolist.asp?t=toplist&amp;orders=1">排行</a>
<font face="Wingdings" color="666666">v</font>
<a href="infolist.asp?t=toplist&amp;orders=7">用户</a>
</div>
</div>
</xsl:template>
<xsl:template name="userinfo">
<div style="float:center;">
<div>您在本论坛的ID:<b><xsl:value-of select="BoardList/userinfo/@username" /></b> <xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;</xsl:text><xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;</xsl:text> <a href="usersms.asp?action=inbox">收件箱</a>
<xsl:choose>
        <xsl:when test="BoardList/userinfo/@usermsg !=''">
        <xsl:variable name="sendmsgnum" select="substring-before(BoardList/userinfo/@usermsg ,'||')"></xsl:variable>
        <xsl:variable name="sendmsgid" select="substring-before(substring-after(BoardList/userinfo/@usermsg ,'||') ,'||')"></xsl:variable>
        <xsl:variable name="sendmsguser" select="substring-after(substring-after(BoardList/userinfo/@usermsg ,'||') ,'||')"></xsl:variable>
        <xsl:choose>
        <xsl:when test="$sendmsgnum != 0 "><bgsound src="skins/default/mail.wav" />(<a href="javascript:openScript('messanger.asp?action=read&amp;id={$sendmsgid}&amp;sender={$sendmsguser}',500,400)"><font class="redfont"><xsl:value-of select="$sendmsgnum" /></font></a>)</xsl:when>
        <xsl:otherwise>(<font color="gray">0</font>) </xsl:otherwise>
        </xsl:choose>
        </xsl:when>
        <xsl:otherwise>
 (<font color="gray">0</font>)          
        </xsl:otherwise>
</xsl:choose>
<xsl:value-of select="' '" />
<xsl:if test="BoardList/myusergroup">
<div class="menu_popup" id="regroup">
<div class="menuitems">
        <xsl:for-each select="BoardList/myusergroup">
        <xsl:variable name="groupid" select="."/>
        <a href="cookies.asp?action=ReGroup&amp;GroupID={.}"><xsl:value-of select="/BoardList/grouppic/usergroup[@usergroupid = $groupid]/@usertitle" /></a><br />
        </xsl:for-each>
</div>
</div>
<a onmouseover="showmenu(event,'','regroup')" style="cursor:hand">切换用户身份</a></xsl:if></div>
<hr/>
<div>注册:<b><xsl:value-of select="substring-before(BoardList/userinfo/@joindate,' ')" /></b> 登录 <b><xsl:value-of select="BoardList/userinfo/@userlogins" /></b> 次 等级:<b><xsl:value-of select="BoardList/userinfo/@userclass" /></b></div>
<div>金钱:<b><xsl:value-of select="BoardList/userinfo/@userwealth" /></b> 积分:<b><xsl:value-of select="BoardList/userinfo/@userep" /></b> 魅力:<b><xsl:value-of select="BoardList/userinfo/@usercp" /></b></div>
<div>主题:<b><xsl:value-of select="BoardList/userinfo/@usertopic" /></b> 文章:<b><xsl:value-of select="BoardList/userinfo/@userpost" /></b> 精华:<font class="redfont"><b><xsl:value-of select="BoardList/userinfo/@userisbest" /></b></font> 被删:<b><xsl:value-of select="translate(BoardList/userinfo/@userdel,'-','')" /></b></div>
</div>
</xsl:template>
<xsl:template name="guest">
<div style="float:right;margin-right:3px;">
<div>欢迎访问 <b><xsl:value-of select="BoardList/forum_info/@forum_type"/></b> 您还没有[<a href="reg.asp" class="cblue">注册</a>]或[<a href="login.asp" class="cblue">登录</a>]</div>
<form action="login.asp?action=chk" method="post">
<div>用户帐号:<input tyep="text" name="username" size="12" /><xsl:if test="BoardList/forum_setting/@logincheckcode=1"> 验证码:<input type="text" name="codestr" size="4" /><img src="DV_getcode.asp" height="18" alt="验证码,看不清楚?请点击刷新验证码" style="cursor : pointer;" onclick="this.src='DV_getcode.asp'"/></xsl:if></div>
<div>用户密码:<input type="password" name="password" size="12" /> Cookie <select name="CookieDate"><option value="0" selected="selected">不保存</option><option value="1">保存一天</option><option value="2">保存一月</option><option value="3">保存一年</option></select>  <input type="submit" name="submit" value="登录" /></div>
</form>
<div style="margin-top:10px;">
<form action="login.asp?action=chk" method="post">
<xsl:if test="BoardList/forum_setting/@loginmobile"><a href="boardhelp.asp">手机会员</a>:<input type="text" name="mobile" size="12" value="13" /> <input type="submit" name="submit" value="手机快速注册" /></xsl:if><a href="lostpass.asp"> 忘记密码</a></form> </div>
</div>
</xsl:template>
<xsl:template name="link">
<div class="th" style="margin-top:12px;"><xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;</xsl:text>-=> 友情论坛</div>
<div class="mainbar3">
<div style="padding:10px;line-height:20px;">
<xsl:for-each select="BoardList/bbslink/link[@islogo=0]">
<div style="float:left;width:16%;text-align : left;height:20px;"><a href="{@url}" title="{@readme}" target="_blank" ><xsl:value-of select="@boardname"/></a></div><xsl:if test="(position() mod 6)=0 "><br /></xsl:if>
</xsl:for-each>
</div>
<xsl:if test="count(BoardList/bbslink/link[@islogo=0]) mod 6 !=0"><br /></xsl:if>
<hr style="width:98%;"/>
<div style="padding:10px;line-height:40px;">
<xsl:for-each select="BoardList/bbslink/link[@islogo=1]">
<div style="float:left;width:16%;text-align : left;height:40px;" title="{@boardname}
{@readme}"> <a href="{@url}"  target="_blank" ><img border="0" src="{@logo}"  height="31" width="88" alt="{@boardname}
{@readme}" /></a></div><xsl:if test="(position() mod 6)=0 "><br /></xsl:if>
</xsl:for-each>
<xsl:if test="BoardList/bbslink/link[@islogo=1]"><br /></xsl:if>
</div>
</div>
<xsl:if test="BoardList/biruser">
<div class="th"><xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;</xsl:text>≡ 今天过生日的用户(共 <xsl:value-of select="count(BoardList/biruser/user)"/> 人)≡</div>
<div class="mainbar3">
<div style="padding:10px;line-height:20px;">
<xsl:for-each select="BoardList/biruser/user"><div style="float:left;width:20%;text-align : left;">
<img src="{/BoardList/forum_setting/@pic_3}" alt="" />〖祝 <a href="dispuser.asp?name={@username}" title="祝{@age}岁生日快乐!" target="_blank"><xsl:value-of select="@username" /></a> 生日快乐〗
</div>
</xsl:for-each>
</div>
</div>
</xsl:if>
</xsl:template>
<xsl:template name="index_bottom">
<br />
<div class="th"><xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;</xsl:text>-=> 论坛在线情况 [<span id="showstr"><a href="online.asp?action=1&amp;boardid=0" target="hiddenframe"><font id="ifOnlineStr">显示详细列表</font></a></span>] [<a href="boardstat.asp?reaction=online">查看在线用户位置</a>]</div>
<div class="mainbar3" style="height:65px;border-bottom:0px; ">
<div style="padding:5px 10px 0px 10px;line-height:20px;height:60px;">
<div style="float:left;width:30%;text-align : left;">
<font class="bluefont">■</font> 当前在线:<b><xsl:value-of select="BoardList/forum_info/@forum_online"/></b> 人<br />
<font class="bluefont">■</font> 在线会员:<b><xsl:value-of select="BoardList/forum_info/@forum_useronline"/></b> 人<br />
<font class="bluefont">■</font> 在线访客:<b><xsl:value-of select="BoardList/forum_info/@forum_guestonline"/></b> 人
</div>
<div style="float:left;width:30%;text-align : left;">
<font class="bluefont">■</font> 建站时间:<b><xsl:value-of select="BoardList/forum_info/@forum_createtime"/></b><br />
<font class="bluefont">■</font> 最高在线:<b><xsl:value-of select="BoardList/forum_info/@forum_maxonline"/></b> 人<br />
<font class="bluefont">■</font> 发生时间:<b><xsl:value-of select="BoardList/forum_info/@forum_maxonlinedate"/></b>
</div>
<div style="float:left;width:39%;text-align : left;">
<font class="bluefont">■</font> 您的IP是:<b><xsl:value-of select="BoardList/agent/@ip"/></b><br />
<font class="bluefont">■</font> 操作系统:<b><xsl:value-of select="BoardList/agent/@platform"/></b><br />
<font class="bluefont">■</font> 浏 览 器:<b><xsl:value-of select="concat(BoardList/agent/@browser,' ',BoardList/agent/@version)"/></b>
</div>
</div>
</div>
<div class="mainbar3">
<div style="padding:0px 10px 0px 10px;line-height:18px;height:18px;text-align : left;">
<font class="redfont">■ 在线图例</font>:<xsl:for-each select="BoardList/grouppic/usergroup[@orders!=0]"><img src="{/BoardList/@picurl}{@titlepic}" alt=""/><xsl:value-of select="concat(' ',@usertitle)" /><xsl:if test="position()!=last() ">  ‖ </xsl:if></xsl:for-each>
</div>
<hr style="width:98%;"/>
<div style="padding:5px 10px 5px 10px;line-height:18px;height:auto; min-height:18px;text-
align : left;display:none;" id="onlinetr"></div>
</div>
<br /><br />
<div class="itableborder">
<img src="{/BoardList/forum_setting/@pic_0}" align="absmiddle" alt="没有新的帖子" /> 没有新的帖子  <img src="{/BoardList/forum_setting/@pic_1}" align="absmiddle" alt="有新的帖子" /> 有新的帖子  <img src="{/BoardList/forum_setting/@pic_2}"  align="absmiddle" alt="被锁定的论坛" /> 被锁定的论坛
</div>
<br /><br />
</xsl:template>
</xsl:stylesheet>

错误的显示截图:


正确的显示截图:
私は中国人です
fang5566
管理员
管理员
  • UID3719
  • 注册日期2005-03-07
  • 最后登录2024-04-19
  • 发帖数18482
  • 经验4836枚
  • 威望5点
  • 贡献值4316点
  • 好评度1115点
  • 社区居民
  • 最爱沙发
  • 忠实会员
  • 终身成就
1楼#
发布于:2007-08-08 14:31
说实话,与其花大量时间小修小补不如趁早换一个论坛程序,dvbbs对FF的支持实在太差,可以用流行的discuz,也可以用本论坛的 phpbb,对FF支持都很好的!

我敢保证,dvbbs的开发者绝对没有在FF或opera下面严格测试过。试问,现在哪个论坛程序开发的时候没有在FF下面测试修改呢?
Firefox More than meets your experience
白紫衣
小狐狸
小狐狸
  • UID1992
  • 注册日期2005-01-10
  • 最后登录2011-10-17
  • 发帖数11
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
2楼#
发布于:2007-08-08 14:31
话虽不错,但是数据库难转啊
要不然我也早换了,就是因为数据库难以很好的转换,才迟迟没有动手。
私は中国人です
man++
非常火狐
非常火狐
  • UID5078
  • 注册日期2005-04-14
  • 最后登录2011-04-15
  • 发帖数768
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
3楼#
发布于:2007-08-08 14:31
有转换工具的
Firefox是一个能够随需而变的软件。它的功能取决于你的意志。
hnstxx
千年狐狸
千年狐狸
  • UID1952
  • 注册日期2005-01-09
  • 最后登录2013-05-14
  • 发帖数4977
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
4楼#
发布于:2007-08-08 14:31
这只熊好久不见哦,最近哪里发财啊^_^
为了长久计,长痛不如短痛,建议楼主换吧。。。
MM:你是个外表冷酷,内心却很甜蜜的男人。
游客

返回顶部