<%@ Page Inherits="Dvbbs.bbs.UI.Admin.admin_topic" %>
<%@ Register tagPrefix="Dvbbs" namespace="Dvbbs.Controls" assembly="Dvbbs.Web"%>
<%@ Register tagPrefix="bbs" tagName="AdminHeader" src="controls/admin_header.ascx"%>
<%@ Register tagPrefix="bbs" tagName="AdminFooter" src="controls/admin_footer.ascx"%>
<script language="javascript">
function CheckAll(form){
	for (var i=0;i<form.elements.length;i++){
		var e = form.elements[i];
		if (e.name == 'primarykey') e.checked = form.checkallpri.checked;
	}
}
</script>
<bbs:AdminHeader title="已被删除的主题列表" runat="server" />
<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0" ID="Table1">
	<tr>
		<td class="title" colspan="2">
			已被删除的主题 | <a href="admin_reply.aspx" target="_self" style="text-decoration:underline">
				已被删除的回复</a>
		</td>
	</tr>
	<tr>
		<td class="left" colspan="2">已在论坛中被版主删除的主题 &nbsp; <a href="admin_topic.aspx">[刷新列表]</a>&nbsp;</td>
	</tr>
</table>
<br />
<form id="operate" runat="server">
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0" ID="Table2">
		<tr>
			<td class="title" colspan="6">主题列表</td>
		</tr>
		<tr>
			<td width="40">选择</td>
			<td>标题</td>
			<td width="50">回帖</td>
			<td width="120">所属论坛</td>
			<td width="100">发表者</td>
			<td width="150">发表时间</td>
		</tr>
		<asp:Repeater enableviewstate="false" id="list" runat="server">
			<ItemTemplate>
				<tr onmouseover="this.className='highlight'" onmouseout="this.className=''">
					<td align="center"><Dvbbs:Span id="primarykey" runat="server" /></td>
					<td><Dvbbs:Anchor id="title" target="_blank" runat="server" /></td>
					<td align="center"><Dvbbs:Span id="replies" runat="server" /></td>
					<td style="text-indent:6px"><Dvbbs:Anchor id="board" target="_blank" runat="server" /></td>
					<td style="text-indent:6px"><Dvbbs:Anchor id="name" runat="server" /></td>
					<td style="text-indent:6px"><Dvbbs:Span id="addtime" runat="server" /></td>
				</tr>
			</ItemTemplate>
		</asp:Repeater>
		<tr>
			<td align="center"><input name="checkallpri" class="checkbox" id="checkallpri" type="checkbox" onclick="CheckAll(operate)" /></td>
			<td colspan="5">
				<input type="radio" class="smallbox" id="restore" name="option" runat="server" checked="true" />
				<label for="restore">还原到论坛中</label><br />
				<input type="radio" class="smallbox" id="remove" name="option" runat="server" />
				<label for="remove">彻底删除</label>
			</td>
		</tr>
		<tr>
			<td align="center" colspan="6">
				<input type="submit" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
					onMouseOut="IEvent('mouseout',this)" class="button" value="执 行 操 作" onclick="return confirm('确定吗?')" />
				<Dvbbs:Span id="result" class="t2" runat="server" />
			</td>
		</tr>
		<tr>
			<td class="title" colspan="6"><Dvbbs:Pager id="pager" per="20" runat="server" /></td>
		</tr>
	</table>
</form>
<bbs:AdminFooter runat="server" />
