📄 foot.res
字号:
----------------<br/>
${moex:format_time(vars/@time, 'm-d H:i')}<br/>
(c) 2007 <moex:a href="${env.site_addr}">${env.site_name}</moex:a><br/>
Powered By <a href="http://wapmo.cn">WAPmo</a><br/>
${vars.queries} 次数据查询, 耗时${vars.time_use} 秒
<img src="async.asp" alt="" width="0" height="0" />
</p>
</moex:card>
</wml>
</xsl:template>
<xsl:template match="navs">
<xsl:for-each select="nav">
<xsl:sort select="position()" order="descending"/>
<xsl:choose><xsl:when test="./@href = ''">${$.title}</xsl:when><xsl:otherwise><moex:a href="${$.href}">${lang.back}${$.title}</moex:a></xsl:otherwise></xsl:choose><br/>
</xsl:for-each>
</xsl:template>
<xsl:template match="hint">
<xsl:for-each select="./@*">
<![CDATA[*.]]><xsl:value-of select="." disable-output-escaping="yes" /><br/>
</xsl:for-each>
</xsl:template>
<xsl:template match="error">
<xsl:for-each select="./@*">
<![CDATA[*.]]><xsl:value-of select="." disable-output-escaping="yes" /><br/>
</xsl:for-each>
</xsl:template>
<xsl:template match="master">
<moex:a href="user.asp?name=${$.name}">${$.name}</moex:a><xsl:if test="position()!=last()">,</xsl:if>
</xsl:template>
<xsl:template match="page" mode="page0">
${lang.together} ${$.rows} ${lang.item} ${lang.reply}, ${$.size} ${lang.item}/${lang.page}, ${$.id}/${$.total} ${lang.page}<br/>
<xsl:if test="./@id > 1">
<moex:a href="${$.url}${$.link}page=1">${lang.page_first}</moex:a>
<![CDATA[ | ]]>
<moex:a href="${$.url}${$.link}page=${./@id - 1}">${lang.page_prev}</moex:a>
<br/>
</xsl:if>
<xsl:if test="./@id < ./@total">
<moex:a href="${$.url}${$.link}page=${./@id + 1}">${lang.page_next}</moex:a>
<![CDATA[ | ]]>
<moex:a href="${$.url}${$.link}page=${$.total}">${lang.page_last}</moex:a>
<br/>
</xsl:if>
<moex:input type="text" name="page" value="${$.id}" size="5" maxlength="8" format="*N" />
<anchor title="GO">
<![CDATA[GO]]>
<moex:go href="${$.action}">
<xsl:for-each select="./field">
<moex:postfield name="${$.name}" value="${$.value}" />
</xsl:for-each>
<postfield name="page" value="$(page)" />
<moex:postfield name="mid" value="${vars.mid}" />
</moex:go>
</anchor><br/>
</xsl:template>
<xsl:template match="topic" mode="list">
${lang.author}: <moex:a href="user.asp?name=${//users/user[@seqid = current()/@userid]/@username}">${$.username}</moex:a><br/>
<xsl:if test="./@title != ''">
${lang.title}: ${$.title}<br/>
</xsl:if>
${lang.content}:
<xsl:choose>
<xsl:when test="./@omited = 1">${lang.topic_omited}</xsl:when>
<xsl:when test="./@shield = 1">${lang.topic_shield}</xsl:when>
<xsl:otherwise><xsl:value-of select="./@content" disable-output-escaping="yes" /></xsl:otherwise>
</xsl:choose><br/>
<xsl:apply-templates select="./upload" />
<xsl:if test="./@edittime > 0">该帖被<moex:a href="user.asp?name=${$.editusername}">${$.editusername}</moex:a>于 ${moex:format_time(./@edittime, 'Y-m-d H:i:s')} 编辑过<br/></xsl:if>
<moex:a href="post.asp?handle=reply&fid=${$.forumid}&id=${topic.seqid}&qid=${$.seqid}">${lang.quote}</moex:a>
<![CDATA[ | ]]>
<moex:a href="post.asp?handle=reply&fid=${$.forumid}&id=${topic.seqid}&rid=${$.seqid}">${lang.reply}</moex:a>
<xsl:if test="(./@userid = //user/@seqid and //user/permit/@edit_self_topic = 1) or //user/permit/@edit_other_topic = 1">
<![CDATA[ | ]]>
<moex:a href="post.asp?handle=edit&fid=${$.forumid}&id=${$.seqid}">${lang.edit}</moex:a>
</xsl:if>
<xsl:if test="./@follow = 0">
<![CDATA[ | ]]>
<moex:a href="service.asp?handle=fav&action=add&fid=${$.forumid}&id=${$.seqid}">${lang.fav}</moex:a>
</xsl:if>
<![CDATA[ | ]]>
<br/>
<![CDATA[----------------]]><br/>
<xsl:if test="./@seqid = //topic/@seqid">
$(TwinAds)
</xsl:if>
</xsl:template>
<xsl:template match="bulletin" mode="title">
${lang.bulletin}: <moex:a href="bulletin.asp?id=${$.seqid}">${$.title}(${moex:format_time(./@posttime, 'Y-m-d H:i:s')})</moex:a><br/>
</xsl:template>
<xsl:template match="bulletin" mode="content">
${lang.bulletin}: ${$.title}<br/>
${lang.content}: <xsl:value-of select="./@content" disable-output-escaping="yes" /><br/>
${lang.post_username}: <moex:a href="user.asp?name=${$.postusername}">${$.postusername}</moex:a><br />
${lang.post_time}: ${moex:format_time(./@posttime, 'Y-m-d')}<br />
</xsl:template>
<xsl:template match="upload">
<xsl:if test="not(contains(concat('|',../@uploads,'|'), concat('|',./@seqid,'|')))">
<moex:img src="images/filetype/${$.upext}.gif" alt="" />
<moex:a href="download.asp?id=${$.seqid}">${$.upname}</moex:a>
(${lang.size}: <xsl:value-of select="format-number(./@upsize div 1024, '#.##')" /> KB)<br/>
${moex:format_time(./@uptime, 'Y-m-d H:i:s')}, ${lang.downloads}: ${$.downloads}
<xsl:if test="./@cent > 0">, ${lang.cent_for_read}: ${$.cent}</xsl:if>
<xsl:if test="./@coin > 0">, ${lang.coin_for_read}: ${$.coin}<xsl:if test="./@buyed = 0 and ./@userid != ./@crt_userid">[<moex:a href="service.asp?handle=buy&id=${$.seqid}">${lang.buy}</moex:a>]</xsl:if></xsl:if>
<br/>
<moex:img src="images/upload${$.source}.gif" alt="" />
<xsl:choose>
<xsl:when test="./@source = 1">${lang.upload_source1}</xsl:when>
<xsl:otherwise>${lang.upload_source0}</xsl:otherwise>
</xsl:choose><br/>
${$.intro}<br/>
<xsl:if test="contains(concat('|',//env/@allow_image,'|'), concat('|',./@upext,'|'))">
<xsl:if test="(./@crt_cent > ./@cent) and ((./@coin > 0 and ./@buyed = 1) or (./@crt_userid = ./@userid) or (./@coin = 0))">
<moex:img src="upload/${$.uppath}" alt="" />
<br/>
</xsl:if>
</xsl:if>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -