📄 myfile.res
字号:
<moex:form action="my.asp?handle=file&type=${vars.type}&action=del" method="post">
<table width="100%" border="1" cellpadding="5" cellspacing="0" bordercolor="#E1F0FF">
<tr bgcolor="#AAD5FF">
<th width="25%"><a href="my.asp?handle=file&type=1">${lang.file_image}</a></th>
<th width="25%"><a href="my.asp?handle=file&type=2">${lang.file_ring}</a></th>
<th width="25%"><a href="my.asp?handle=file&type=3">${lang.file_video}</a></th>
<th width="25%"><a href="my.asp?handle=file&type=4">${lang.file_soft}</a></th>
</tr>
<xsl:if test="vars/@state = 1 or vars/@state = 2">
<tr>
<td colspan="4" id="hint">
<xsl:if test="vars/@state = 1">
<h3><font color="#FF0000">${lang.del_file_failed}</font></h3>
</xsl:if>
<xsl:apply-templates select="hint" />
</td>
</tr>
</xsl:if>
<tr>
<td colspan="4">
<table width="100%" border="1" cellpadding="5" cellspacing="0" bordercolor="#E1F0FF">
<tr bgcolor="#AAD5FF">
<th width="30">${lang.choose}</th>
<th width="150">${lang.topic}</th>
<th>${lang.file_name}</th>
<th width="80">${lang.file_size}</th>
<th width="120">${lang.uptime}</th>
<th width="80">${lang.manage}</th>
</tr>
<xsl:for-each select="files/file">
<tr>
<td width="30" align="center">
<moex:input type="checkbox" name="id" value="${$.seqid}" />
</td>
<td width="150">
<moex:a href="topic.asp?fid=${$.forumid}&id=${$.topicid}">${$.topictitle}</moex:a>
</td>
<td>
<moex:a href="upload/${$.uppath}" target="_blank">${$.upname}</moex:a>
</td>
<td width="80" align="right"><xsl:value-of select="format-number(./@upsize div 1024, '#.##')" /> KB</td>
<td width="120" align="right">${moex:format_time(./@uptime, 'Y-m-d H:i:s')}</td>
<td width="100" align="center">
<moex:input type="button" value="${lang.delete}" onclick="upload_del_confirm(this, ${$.seqid})" class="btn" />
</td>
</tr>
</xsl:for-each>
<tr>
<td align="center"><input type="checkbox" onclick="TBBS.form.check(this, 'id')" /></td>
<td colspan="5"><moex:input type="button" onclick="upload_del_all(this)" value="${lang.delete}" class="btn" /></td>
</tr>
<tr>
<td colspan="6"><xsl:apply-templates select="page" mode="page0" /></td>
</tr>
</table>
</td>
</tr>
</table>
</moex:form>
<script language="javascript">
function upload_del_confirm(obj, id)
{
if (confirm('${lang.upload_del_confirm}'))
{
if (id) TBBS.form.check(obj, "id", id);
TBBS.form.submit(obj);
}
}
function upload_del_all(obj)
{
if (confirm('${lang.upload_del_all_confirm}'))
{
TBBS.form.submit(obj);
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -