📄 index.res
字号:
${res.moex.twinbbs.template.web.head}
<div id="nav">
<xsl:if test="bulletins/bulletin[@forumid = 0]">
<div id="left" class="bulletin">
<div id="bulletin">
<xsl:apply-templates select="bulletins/bulletin[@forumid = 0]" />
</div>
<script language="javascript" src="include/bulletin.js"></script>
</div>
</xsl:if>
<div id="right" class="forumstats">
${lang.index_today}: ${env.index_today}, ${lang.index_yesterday}: ${env.index_yesterday}, ${lang.index_maxday}: ${env.index_maxday}, <a href="soul.asp">${lang.soul_area}</a><br/>
${lang.index_topic}: ${env.index_topic}, ${lang.index_reply}: ${env.index_reply}, ${lang.index_user}: ${env.index_user}, ${lang.welcome_new_user}: <moex:a href="user.asp?name=${env.last_username}">${env.last_username}</moex:a>
</div>
</div>
<div class="nav1">
<div class="nav2">${lang.welcome} ${env.bbs_name}</div>
<div class="nav3">
<xsl:choose>
<xsl:when test="user[@logined = 1]">
<moex:img src="images/userface/${user.face}.gif" />
${lang.your_username}: ${user.username}<xsl:if test="user/@lastvisittime > 0"> | ${lang.last_visit_time}: ${moex:format_time(user/@lastvisittime, 'Y-m-d H:i:s')} - ${user.lastvisitip}</xsl:if> | ${lang.level}: ${user.groupname}<br/>
${lang.reg_time}: ${moex:format_time(user/@regtime, 'Y-m-d')} | ${lang.login}: ${user.logincount} ${lang.count} | ${lang.coin}: ${user.coin} | ${lang.cent}: ${user.cent} | ${lang.witchery}: ${user.witchery} | ${lang.topics}: ${user.topics} | ${lang.replies}: ${user.replies} | ${lang.souls}: ${user.souls} | ${lang.deletes}: ${user.deletes}
</xsl:when>
<xsl:otherwise>
<form id="loginfrm" action="login.asp" method="post">
<input type="hidden" name="cookie" value="3" />
<input type="hidden" name="online" value="1" />
${lang.username}: <input type="text" name="username" size="10" />
${lang.passwd}: <input type="password" name="passwd" size="10" />
<xsl:if test="contains(env/@validate, 'login')">
${lang.validate}: <input type="text" name="validate" size="5" /> <img src="validate.asp" border="0" align="absMiddle" onclick="this.src='validate.asp?' + Math.floor(Math.random() * 9999)" style="cursor:pointer" />
</xsl:if>
<moex:input type="submit" value="${lang.login}" class="btn" />
</form>
</xsl:otherwise>
</xsl:choose>
</div>
</div>
<div id="forums">
<xsl:for-each select="forums/forum[@follow = 0]">
<div class="nav1">
<div class="nav2"><moex:a href="forum.asp?id=${$.seqid}">${$.name}</moex:a></div>
<div class="nav3">
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<thead>
<tr>
<th>${lang.forum}</th>
<td class="nums">${lang.topics}</td>
<td class="nums">${lang.replies}</td>
<td class="lastpost">${lang.last_post}</td>
</tr>
</thead>
<tbody>
<xsl:for-each select="//forums/forum[@follow = current()/@seqid]">
<tr>
<th><h3><moex:a href="forum.asp?id=${$.seqid}">${$.name}</moex:a><xsl:if test="./@lastposttime > //vars/@date and ./@todayposts > 0"><em>(${lang.today_posts}: ${$.todayposts})</em></xsl:if></h3><span><xsl:value-of select="./@intro" disable-output-escaping="yes" /></span></th>
<td class="nums">${$.topics}</td>
<td class="nums">${$.replies}</td>
<td class="lastpost"><xsl:if test="./@lastpostid > 0"><moex:a href="topic.asp?fid=${$.seqid}&id=${$.lastpostid}"><xsl:choose><xsl:when test="./@lastposttitle != ''">${$.lastposttitle}</xsl:when><xsl:otherwise>${moex:format_time(./@lastposttime, 'Y-m-d H:i')}</xsl:otherwise></xsl:choose></moex:a><br/>by <moex:a href="user.asp?name=${$.lastpostusername}">${$.lastpostusername}</moex:a> - ${moex:format_time(./@lastposttime, 'Y-m-d H:i')}</xsl:if></td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
</xsl:for-each>
</div>
<div class="nav1">
<div class="nav2">${lang.union_bbs}</div>
<div class="nav3">
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<xsl:for-each select="unions/union">
<tr>
<td>
<moex:a href="${$.addr}" target="_blank"><xsl:choose><xsl:when test="./@logo != ''"><moex:img src="${$.logo}" alt="${$.name}" /></xsl:when><xsl:otherwise>${$.name}</xsl:otherwise></xsl:choose></moex:a>
</td>
</tr>
</xsl:for-each>
</table>
</div>
</div>
<div class="nav1">
<div class="nav2">${lang.online_status}</div>
<div class="nav3">
</div>
</div>
<div class="legend">
<label><img src="images/forum_new.gif" border="0" />${lang.forum_new_posts}</label>
<label><img src="images/forum.gif" border="0" />${lang.forum_no_new_posts}</label>
</div>
${res.moex.twinbbs.template.web.foot}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -