周小刚导演的电视剧:如何去掉动网论坛7.1sp1首页YAHOO搜索工具

来源:百度文库 编辑:高校问答 时间:2024/04/30 05:17:38
请大家注册版本的问题..有好多都是原来的版本才能这样做.现在这个版本我找了好像没有这些代码的..

后台-风格管理-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: 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;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&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;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={$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;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() > ($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;width:320px;" >
<div style="padding:10px;">
<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: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 :center;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;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="float:center;padding:3px 0px;height:28px;text-indent:20px;" >
<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>
</xsl:template>
<xsl:template name="userinfo">
<div style="float:left;width:80px;height:100px;overflow :hidden;"><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" cl