📄 deletethread.jsp
字号:
<%--
- $Author: 飞鱼
- $Revision: 1.22 $
- $Date: 2003/02/01 09:41:34 $
- http://www.hnedu.net/fiyu
--%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="fiyuforum.db.*" %>
<%@ page import="fiyuforum.MyUtil" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<%@ include file="inc_js_myvietnamlib.jsp"%>
<script type="text/javascript">
function SubmitForm() {
if (ValidateForm() == true ) {
document.submitform.submitbutton.disabled=true;
document.submitform.submit();
}
}
function ValidateForm() {
if (isBlank(document.submitform.MemberMatkhau, "请输入管理员密码:")) return false;
return true;
}
</script>
<html >
<head>
<title><%=fiyuForumConfig.getWebName()%> - 确认删除话题</title>
<%@ include file="/fiyuplugin/fiyuforum/meta.jsp"%>
</head>
<link href="<%=contextPath%>/fiyuplugin/fiyuforum/css/style.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0">
<%@ include file="header.jsp"%>
<br/>
<%
int numberOfPosts = ((Integer)request.getAttribute("NumberOfPosts")).intValue();
ThreadBean threadBean = (ThreadBean)request.getAttribute("ThreadBean");
ForumCache forumCache = ForumCache.getInstance();
int forumID_int = threadBean.getForumID();
String forumID = String.valueOf(forumID_int);
String forumName = forumCache.getBean(forumID_int).getForumName();
%>
<table width="95%" align="center">
<tr class="nav">
<td><img src="<%=contextPath%>/fiyuplugin/fiyuforum/images/nav.gif"></td>
<td width="100%" nowrap>
<a class="nav" href="index"><%=fiyuForumConfig.getWebName()%></a> »
<a class="nav" href="listforums">列出所有讨论区</a> »
讨论区: <a class="nav" href="listthreads?forum=<%=forumID%>"><%=forumName%></a> »
确认删除话题: <%=threadBean.getThreadTopic()%>
</td>
</tr>
</table>
<br/>
<table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center">
<tr class="pagedesc">
<td class="warning">你将会删除此话题中【所有】讨论的文章! 在删除之前请再三确定是否删除! 删除话题时需要输入密码!</td>
</tr>
</table>
<br/>
<form action="deletethreadprocess" method="post" name="submitform">
<input type="hidden" name="thread" value="<%=threadBean.getThreadID()%>">
<table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center">
<tr class="theader">
<td colspan="2">再看我一眼...</td>
</tr>
<tr class="trow1">
<td width="25%">话题标题</td>
<td><%=threadBean.getThreadTopic()%></td>
</tr>
<tr class="trow2">
<td valign="top">话题内容</td>
<td><%=MyUtil.filter(threadBean.getThreadBody(), false/*html*/, true/*emotion*/, true/*fiyuCode*/, true/*newLine*/, true/*URL*/)%></td>
</tr>
<tr class="trow1">
<td>此话题中所有文章数:</td>
<td class="messageTextBoldBlue"><%=numberOfPosts%></td>
</tr>
<tr class="trow2">
<td>请输入管理员密码:</td>
<td><input type="password" name="MemberMatkhau"></td>
</tr>
<tr class="trowfinal">
<td colspan="2" align="center">
<input type="button" name="submitbutton" value="是的,我确定要删除" onclick="javascript:SubmitForm()" class="mainoption">
<input type="reset" value="不,我反悔了" onclick="javascript:history.back(1)" class="liteoption">
</td>
</tr>
</table>
</form>
<br/>
<%@ include file="footer.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -