?? movethread.asp
字號:
<!-- #include file="Setup.asp" --><%
ThreadID=RequestInt("ThreadID")
Set rs=Conn.Execute("Select * From [Wo_Threads] where ThreadID="&ThreadID)
if Rs.Eof then error("系統(tǒng)不存在此主題")
ForumID=Rs("ForumID")
Topic=Rs("Topic")
PostAuthor=Rs("PostAuthor")
TotalReplies=Rs("TotalReplies")
Rs.close
sql="select * from [Wo_Forums] where ForumID="&ForumID&""
Set Rs=Conn.Execute(sql)
ForumName=Rs("ForumName")
ParentID=Rs("ParentID")
GroupID=Rs("GroupID")
Moderated=Rs("Moderated")
Rs.close
%>
<!-- #include file="Utility/ForumPermissions.asp" -->
<%
if PermissionManage=0 then error("您的<a href=ShowForumPermissions.asp?ForumID="&ForumID&">權(quán)限</a>不夠")
HtmlTop
sql="select * from [Wo_Threads] where ThreadID="&ThreadID&" and ForumID="&ForumID&""
Set Rs=Conn.Execute(sql)
%>
<div id="CommonBreadCrumbArea"><%ClubTree%> → <%ForumTree(ParentID)%><%=ForumTreeList%><a href="ShowForum.asp?ForumID=<%=ForumID%>"><%=ForumName%></a> → <a href="ShowPost.asp?ThreadID=<%=ThreadID%>"><%=Rs("Topic")%></a> → 移動主題</div>
<form name=form method="POST" action="Manage.asp" onsubmit="return VerifyInput();">
<input type="hidden" value="Move" name="menu">
<input type="hidden" value="<%=ThreadID%>" name="ThreadID">
<table cellspacing="1" cellpadding="5" width=100% id=CommonListArea>
<tr id=CommonListTitle>
<td align="center" colspan=2>移動主題</td>
</tr>
<tr id=CommonListCell>
<td align="right" width=30%>主 題:</td>
<td><%=Topic%></td>
</tr>
<tr id=CommonListCell>
<td align="right">作 者:</td>
<td><%=PostAuthor%></td>
</tr>
<tr id=CommonListCell>
<td align="right">回復(fù)數(shù):</td>
<td><%=TotalReplies%></td>
</tr>
<tr id=CommonListCell>
<td align="right">移動到:</td>
<td>
<select name="AimForumID" size=10 style="width:300px">
<%
Rs.close
GroupList 0
%><%=ForumsList%></select>
</td>
</tr>
<tr id=CommonListCell>
<td colspan=2 align=center><input type="submit" value=" 確 定 "> <input onclick="history.back()" type="button" value=" 返 回 "></td>
</tr>
</table>
</form>
<script language="JavaScript">
function VerifyInput()
{
if (document.form.AimForumID.value == "")
{
alert("請選擇您要移動到哪個群組");
document.form.AimForumID.focus();
return false;
}
}
</SCRIPT>
<%
HtmlBottom
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -