📄 myfav.res
字号:
<form action="service.asp?handle=fav&action=del" method="post">
<table width="100%" border="1" cellpadding="5" cellspacing="0" bordercolor="#E1F0FF">
<tr bgcolor="#AAD5FF">
<th width="30">${lang.choose}</th>
<th>${lang.title}</th>
<th width="150">${lang.fav_add_time}</th>
<th width="80">${lang.delete}</th>
</tr>
<xsl:for-each select="favs/fav">
<tr>
<td width="30" align="center">
<moex:input type="checkbox" name="id" value="${$.seqid}" />
</td>
<td>
<moex:a href="topic.asp?fid=${$.forumid}&id=${$.topicid}">${$.topictitle}</moex:a>
</td>
<td width="150" align="right">${moex:format_time(./@addtime, 'Y-m-d H:i:s')}</td>
<td width="80" align="center">
<moex:input type="button" value="${lang.delete}" onclick="fav_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="3"><moex:input type="button" onclick="fav_del_all(this)" value="${lang.delete}" class="btn" /></td>
</tr>
<tr>
<td colspan="4"><xsl:apply-templates select="page" mode="page0" /></td>
</tr>
</table>
</form>
<script language="javascript">
function fav_del_confirm(obj, id)
{
if (confirm('${lang.fav_del_confirm}'))
{
TBBS.form.check(obj, "id", id);
TBBS.form.submit(obj);
}
}
function fav_del_all(obj)
{
if (confirm('${lang.fav_del_all_confirm}'))
{
TBBS.form.submit(obj);
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -