Rss & SiteMap

通信圈 http://www.cntxj.net/bbs

通信圈,中国通信门户,是通信界最权威的通信论坛,提供通信新闻资讯、通信技术、产品、增值业务、解决方案等多种服务。
共1 条记录, 每页显示 30 条, 页签: [1]
[浏览完整版]

标题:版块列表修改

1楼
新月弯刀 发表于:2008/4/24 15:42:02

<!--===================版块列表修改部分结束BY痴心无语===============-->

< l:for-each>
< l:template>
<xsl:template name="welcome">

<!--===简洁方法修改开始代码 by 痴心无语===-->
<div class="mainbar5" style="margin-top:0px;">
<div class="right" style="text-align :right; ">
<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>< l: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>< l:if>
</div>
< l:if>
</div>
</div>

<div class="mainbar5" style="margin-top:0px;">
<div>
<div class="left" style="padding-left:0px; ">
<xsl:choose>
    <xsl:when test="BoardList/userinfo/@userid=0"><xsl:call-template name="guest" />< l:when>
    <xsl:otherwise><xsl:call-template name="userinfo" />< l:otherwise>
< l:choose>
</div>

<div class="right" style="padding-right:1px;text-align :right; "><img src="images\music.gif" border="0" alt="" />
<a href="query.asp?stype=3&amp;pSearch=0&amp;nSearch=0">新贴</a> /
<a href="query.asp?stype=4&amp;pSearch=0&amp;nSearch=0">热门</a> /
<a href="infolist.asp?t=toplist&amp;orders=1">排行</a> /
<a href="infolist.asp?t=toplist&amp;orders=7">用户</a> /
<a href="boardhelp.asp">帮助</a> /
新会员:<a href="dispuser.asp?
name={BoardList/forum_info/@forum_lastuser}" target="_blank"><b><xsl:value-of select="BoardList/forum_info/@forum_lastuser"/></b></a>
<br />
今日:<font class="redfont"> <xsl:value-of select="BoardList/forum_info/@forum_todaynum"/></font> /
昨日:<font color="blue"> <xsl:value-of select="BoardList/forum_info/@forum_yesterdaynum"/></font> /
主题:<font class="redfont"><xsl:value-of select="BoardList/forum_info/@forum_topicnum"/></font> /
帖子:<font color="blue"><xsl:value-of select="BoardList/forum_info/@forum_postnum"/></font> /
共有 <font class="redfont"><xsl:value-of select="BoardList/forum_info/@forum_usernum"/></font> 位会员

<!--<font class="redfont">美眉:<xsl:value-of select="BoardList/forum_info/@forum_sexgb"/> </font> /
帅哥:<xsl:value-of select="BoardList/forum_info/@forum_sexga"/>/
建站:<font color="green"><xsl:value-of select="BoardList/forum_info/@forum_BuildDayNum"/></font> -->
</div>

</div>
</div>
<div>
<xsl:choose>
    <xsl:when test="BoardList/userinfo/@userid=0"><xsl:call-template name="k_login" />< l:when>
< l:choose>
</div>
<!--===简洁方法修改结束代码    by 痴心无语===-->
</div>

< l:template>
<xsl:template name="userinfo">

<div style="float:left;text-align :left;">
<div><b><xsl:value-of select="BoardList/userinfo/@username" /></b> 您的等级为:<font color="red"><xsl:value-of select="BoardList/userinfo/@userclass" /></font> <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 ,'||')">< l:variable>
    <xsl:variable name="sendmsgid" select="substring-before(substring-after(BoardList/userinfo/@usermsg ,'||') ,'||')">< l:variable>
    <xsl:variable name="sendmsguser" select="substring-after(substring-after(BoardList/userinfo/@usermsg ,'||') ,'||')">< l: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> 封邮件< l:when>
    <xsl:otherwise><font color="gray">0</font> 封邮件 < l:otherwise>
    < l:choose>
    < l:when>
    <xsl:otherwise>
(<font color="gray">0</font>)    
    < l:otherwise>
< l: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 />
    < l:for-each>
</div>
</div>
<a onmouseover="showmenu(event,'','regroup')" style="cursor:hand">切换身份</a>< l:if></div>
<font face="Wingdings" class="redfont">经验</font>:<xsl:value-of select="BoardList/userinfo/@userep" /><xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;< l:text>
<font face="Wingdings" class="redfont">积分</font>:<xsl:value-of select="BoardList/userinfo/@userwealth" /><xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;< l:text>
<font face="Wingdings" class="redfont">文章</font>:<xsl:value-of select="BoardList/userinfo/@userpost" /><xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;< l:text>
<font face="Wingdings" class="redfont">精华</font>:<font class="redfont"><xsl:value-of select="BoardList/userinfo/@userisbest" /></font><xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;< l:text>
<font face="Wingdings" class="redfont">被删</font>:<xsl:value-of select="translate(BoardList/userinfo/@userdel,'-','')" />  
</div>
< l:template>

<xsl:template name="guest">
<div class="left" style="text-align :left;">欢迎访问 <b><xsl:value-of select="BoardList/forum_info/@forum_type"/></b> <br />您还没有[<a href="reg.asp" class="cblue">注册</a>]或[<a href="login.asp" class="cblue">登录</a>]</div>
< l:template>

<xsl:template name="k_login">
<div class="th" style="padding-left:10px;">快 速 登 陆</div>
<div class="mainbar" style="padding:5px 0px 5px 0px;text-align :center;">
<form action="login.asp?action=chk" method="post">
用户帐号:<input type="text" name="username" size="12" style="background-image
不聊寻常事(101615387) 17:06:37

积分换Q币(247958890) 17:06:59
:url(tumiab/login_bg.gif)"/>    用户密码:<input type="password" name="password" 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'"/>< l:if>    Cookie <select name="CookieDate"><option value="0">不保存</option><option value="1">保存一天</option><option value="2" selected="selected">保存一月</option><option value="3">保存一年</option>< lect>    <input type="submit" name="submit" value="登 录"    />
<a href="reg.asp" class="cblue">注册</a>
</form>
</div>
<br />

共1 条记录, 每页显示 30 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in .04688 s, 3 queries.