zoukankan      html  css  js  c++  java
  • page_indextemplate.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: eway@aspsky.net
        -->
    <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;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&thisvalue=0&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&thisvalue=1&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&thisvalue=0&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&thisvalue=1&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() > $positions and position() < ($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;<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={$boardid}"> <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() > $positions and position() < ($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;<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() > ($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}&ID={information/@lastpost_6}&replyID={information/@lastpost_1}&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}&ID={information/@lastpost_6}&replyID={information/@lastpost_1}&skin=1" title="主题:{information/@lastpost_3}"><img border="0" src="Skins/Default/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={$boardid}"><img src="{@indeximg}" alt="" class="boardlogo"/></a></xsl:if>
            <div><a href="index.asp?boardid={$boardid}"> <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/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={$boardid}&Page=2" title="{@boardtype}第二页">[2]</a>
    <a href="index.asp?BoardID={$boardid}&Page=3" title="{@boardtype}第三页">[3]</a>
    <a href="index.asp?BoardID={$boardid}&Page=4" title="{@boardtype}第四页">[4]</a>
    <a href="index.asp?BoardID={$boardid}&Page=5" title="{@boardtype}第五页">[5]</a>
    <a href="index.asp?BoardID={$boardid}&Page=6" title="{@boardtype}第六页">[6]</a>
    <a href="index.asp?BoardID={$boardid}&Page=7" title="{@boardtype}第七页">[7]</a>
    <a href="index.asp?BoardID={$boardid}&Page=8" title="{@boardtype}第八页">[8]</a>
    <a href="index.asp?BoardID={$boardid}&Page=9" title="{@boardtype}第九页">[9]</a>
    <a href="index.asp?BoardID={$boardid}&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={$boardid}&Page=11" title="{@boardtype}第十一页">[11]</a>
    <a href="index.asp?BoardID={$boardid}&Page=12" title="{@boardtype}第十二页">[12]</a>
    <a href="index.asp?BoardID={$boardid}&Page=13" title="{@boardtype}第十三页">[13]</a>
    <a href="index.asp?BoardID={$boardid}&Page=14" title="{@boardtype}第十四页">[14]</a>
    <a href="index.asp?BoardID={$boardid}&Page=15" title="{@boardtype}第十五页">[15]</a>
    <a href="index.asp?BoardID={$boardid}&Page=16" title="{@boardtype}第十六页">[16]</a>
    <a href="index.asp?BoardID={$boardid}&Page=17" title="{@boardtype}第十七页">[17]</a>
    <a href="index.asp?BoardID={$boardid}&Page=18" title="{@boardtype}第十八页">[18]</a>
    <a href="index.asp?BoardID={$boardid}&Page=19" title="{@boardtype}第十九页">[19]</a>
    <a href="index.asp?BoardID={$boardid}&Page=20" title="{@boardtype}第二十页">[20]</a>
    </xsl:if>
    </div>
    </div>
    </xsl:for-each>
    </xsl:template>
    <xsl:template name="welcome">
    <div class="th"></div>
    <div class="mainbar" style="height:120px;text-align :left;">
    <div id="tdleft" style="height:120px; ">
    <div style="padding:10px;">
    <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:left;320px;" >
    <div style="padding:10px;">
    <div style="float:left;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;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;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;330px;">最高日发帖:<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 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:2px;margin-top:6px;font-size:9px;font-family:tahoma,arial;">
        <div class="tabletitle1" style="float:left;25px;margin : 1px; 1px; 1px; 1px;">XML</div>
        <xsl:if test="BoardList/forum_setting/@rss=0"><div style="float:left;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;25px;margin :1px;"><a href="wap.asp?Action=readme" target="_blank" title="通过手机访问论坛,把论坛动起来" style="color:#fff;">WAP</a></div></xsl:if>
        </div>
    </xsl:if>

    <div align="center"><div style="padding:3px 0px; height:28px;" >
    <a href="query.asp?stype=3&pSearch=0&nSearch=0">查看新贴</a>
    <font face="Wingdings" color="666666">v</font>  
    <a href="query.asp?stype=4&pSearch=0&nSearch=0">热门话题</a>
    <font face="Wingdings" color="666666">v</font>
    <a href="infolist.asp?t=toplist&orders=1">发贴排行</a>
    <font face="Wingdings" color="666666">v</font>
    <a href="infolist.asp?t=toplist&orders=7">用户列表</a>
    </div></div>
    </div>
    </xsl:template>
    <xsl:template name="userinfo">
    <div style="float:left;80px;height:100px;overflow :hidden;margin-right:10px;"><a href="dispuser.asp?id={BoardList/userinfo/@userid}" title="查看我的信息"><img src="{BoardList/userinfo/@userface}" alt="查看我的信息" height="60" style="margin-top:12px;margin-left:2px;border:0px"/></a></div>
    <div style="float:left;">
    <div>您的帐号 <b><xsl:value-of select="BoardList/userinfo/@username" /></b>  <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&id={$sendmsgid}&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&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:20px;">
    <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">
    <a href="http://www.dvbbs.net/passport/help.asp" target="_blank" title="注册论坛通行证可让您使用一个帐号通行于国内大部分的网络论坛社区,点击查看更详细帮助">通<xsl:text disable-output-escaping="yes" >&nbsp;</xsl:text>行<xsl:text disable-output-escaping="yes" >&nbsp;</xsl:text>证</a><xsl:text disable-output-escaping="yes" >&nbsp;</xsl:text>:<input type="text" name="passport" size="12" /> <input type="submit" name="submit" value="论坛通行证登录" />  [ <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" >&nbsp;&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;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="98%;"/>
    <div style="padding:10px;line-height:40px;">
    <xsl:for-each select="BoardList/bbslink/link[@islogo=1]">
    <div style="float:left;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">
    <br />
    <div class="th"><xsl:text disable-output-escaping="yes" >&nbsp;&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;25%;text-align : left;height:20px;">
    <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:if test="(position() mod 4)=0 or position()=last()"><br /></xsl:if>
    </xsl:for-each>
    </div>
    </div>
    </xsl:if>
    </xsl:template>
    <xsl:template name="index_bottom">
    <br />
    <div class="th"><xsl:text disable-output-escaping="yes" >&nbsp;&nbsp;</xsl:text>-=> 论坛在线情况 [<span id="showstr"><a href="online.asp?action=1&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;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;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;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="98%;"/>
    <div class="mainbar0" style="padding:5px 10px 5px 10px;line-height:18px;text-align : left;display:none;" id="onlinetr"></div>
    </div>
    <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>
    </xsl:template>
    </xsl:stylesheet>


    评论: 1 | 引用: 8 | 查看次数: 270
    • 1
    机票 [2007-01-10 05:45 AM]
    标题: 机票
    链接: http://www.jipiaoinfo.com
    摘要: 机票

    特价机票 [2007-01-07 09:31 AM]
    标题: 特价机票
    链接: http://www.yipiao.net.cn/tejiajp/
    摘要: 特价机票

    打折机票 [2007-01-07 09:31 AM]
    标题: 打折机票
    链接: http://www.yipiao.net.cn/dazhejp/
    摘要: 打折机票

    机票预定 [2007-01-07 09:31 AM]
    标题: 机票预定
    链接: http://www.yipiao.net.cn/dingpiao/
    摘要: 机票预定

    机票 [2007-01-07 09:31 AM]
    标题: 机票
    链接: http://www.yipiao.net.cn
    摘要: 机票

    飞机票 [2007-01-07 09:31 AM]
    标题: 飞机票
    链接: http://www.yipiao.net.cn/feijip/
    摘要: 飞机票

    上海机票 [2006-12-17 04:54 PM]
    标题: 上海机票
    链接: http://www.jipiaoinfo.com/jp/SHA/
    摘要: 上海机票

    国际机票 [2006-12-01 08:04 AM]
    标题: 国际机票
    链接: http://www.jipiaoinfo.com/gn/
    摘要: 国际机票

    涛哥 [2005-12-11 05:57 PM]
    由于服务器的原因,今日发帖或昨日发帖经常出现0数字,烦!
    干脆把这两项信息代码cut了。

    <div style="float:left;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;140px;height:20px;line-height:20px;">昨日发帖:<b><xsl:value-of select="BoardList/forum_info/@forum_yesterdaynum"/></b> 篇</div>
  • 相关阅读:
    对两个有序数组进行合并
    连续子数组的最大和问题
    设计模式的学习
    Android基础总结(12)——XML和JSON解析
    Android基础总结(8)——服务
    x64 Assembly Tutorial 1 : Getting into x64 ASM from C++
    C# IL 指令集
    Unity3D教程宝典之地形
    Unity3D 动态改变地形 Unity3D Dynamic Change Terrain
    C#中String.format用法详解
  • 原文地址:https://www.cnblogs.com/cy163/p/637172.html
Copyright © 2011-2022 走看看