<!--#include file="_header.html" -->
<br />
<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/calendar.js"></script>
<table class="tablebox border" cellspacing="0" cellpadding="0">
	<form action="" method="post">
		<tr>
			<th colspan="5" id="list_title">
				筛选操作</th>
		</tr>
		<tr>
			<td align="left">选择版面
				<select id="Select1" name="boardid">
					<option value="0" checked="checked">选取所有版面</option>
					<!--#include file="_board_jump_list.html"-->
				</select>
				&nbsp;选择表：
				<select size="1" name="PostBBS">
					<option value="<%=Fetch.TablePrefix%>topic">主题表-<%=Fetch.TablePrefix%>topic</option>
					<!--{if(0 == GetPostTables().Rows.Count)}-->
					<option>没有找到论坛的帖子表</option>
					<!--{else}-->
					<!--{foreach (System.Data.DataRow dr in GetPostTables().Rows)} -->
					<option value="<%=dr["TableName"]%>"><%=dr["TableType"]%></option>
					<!--{endforeach}-->
					<!--{endif}-->
				</select>
				&nbsp; 关键字： <input type="text" size="12" onFocus="IEvent('focus',this);"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"	name="keyword" ID="keyword" /> 时间：<input type="text" size="8" onFocus="IEvent('focus',this);"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"	name="sposttime" id="sposttime" readonly="readonly" onclick="javascript:calendar.setHook(this);" />
				-- <input type="text" size="8" onFocus="IEvent('focus',this);"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" 	name="eposttime" id="eposttime" readonly="readonly" onclick="javascript:calendar.setHook(this);" />
				<input type="submit" name="Submit2" value="搜索" onMousemove="this.className='button_on';"
					onMouseout="this.className='button_off'" class="button_off" /> &nbsp;&nbsp;<a href="accesstopic.aspx">返回审核列表</a>
			</td>
		</tr>
	</form>
</table>
<br />
<form action="" method="post">
	<!--{if(Get("Act")=="" || Get("Act")==null)}-->
	<table class="mainbox tableborder" cellspacing="0" cellpadding="0">
		<tr>
			<th width="5%">
				操作</th>
			<th width="40%">
				主题</th>
			<th width="25%">
				版面</th>
			<th width="15%">
				作者</th>
			<th>
				发表时间</th>
		</tr>
		<!--{for (int i=0;i<List.Rows.Count;i++)} -->
		<tr>
			<td align="left">
				<input type="checkbox" name="OptionID" value="<%=List.Rows[i]["DealID"]%>" class="checkbox" /></td>
			<td align="left">
				<!--{if(Post("PostBBS")=="" && Get("PostBBS")=="")}-->
				<a href="accesstopic.aspx?Act=list&DealID=<%=List.Rows[i]["DealID"]%>&topicid=<%=List.Rows[i]["Topicid"]%>&PostBBS=<%=Fetch.TablePrefix+"topic"%>&mboardid=<%=List.Rows[i]["boardid"]%>&boardid=<%=boardid%>&sposttime=<%=sposttime%>&eposttime=<%=eposttime%>&keyword=<%=Server.UrlEncode(keyword)%>&page=<%=Get("page")%>" target="_self">
					<%=List.Rows[i]["title"]%>
				</a>
				<!--{else}-->
				<a href="accesstopic.aspx?Act=list&DealID=<%=List.Rows[i]["DealID"]%>&topicid=<%=List.Rows[i]["Topicid"]%>&PostBBS=<%=Post("PostBBS")==""?Get("PostBBS"): Post("PostBBS")%>&mboardid=<%=List.Rows[i]["boardid"]%>&boardid=<%=boardid%>&sposttime=<%=sposttime%>&eposttime=<%=eposttime%>&keyword=<%=Server.UrlEncode(keyword)%>&page=<%=Get("page")%>" target="_self">
					<%=List.Rows[i]["title"]%>
				</a>
				<!--{endif}-->
			</td>
			<td align="left"><a href="board.aspx?boardid=<%=List.Rows[i]["boardid"]%>" target="_blank"><%=List.Rows[i]["boardtype"]%></a></td>
			<td align="left"><a href="user_info.aspx?name=<%=List.Rows[i]["PostUserName"]%>" target="_blank"><%=List.Rows[i]["PostUserName"]%></a></td>
			<td align="left"><%=List.Rows[i]["DateAndTime"]%></td>
		</tr>
		<!--{endfor}-->
		<tr>
			<td colspan="5" align="left">
				<br /> <!--#include file="_temppager.htm"--><br />
			</td>
		</tr>
		<tr>
			<td colspan="5" align="left">
				<input name="DealType" type="radio" class="checkbox" value="Success" checked="checked"
					ID="Radio1" />全部通过 <input type="radio" name="DealType" class="checkbox" value="DeleteAll" />全部删除
				<input type="submit" name="Submit" value=" 提 交 " onMousemove="this.className='button_on';"
					onMouseout="this.className='button_off'" class="button_off" /> <input type=hidden name="PostBBS" id="PostBBS" value="<%=PostTable%>" /></td>
		</tr>
	</table>
	<!--{else}-->
	<table width="100%" class="tablebox border" ID="Table2">
		<!--{for (int i=0;i<List.Rows.Count;i++)} -->
		<tr>
			<td align="left" style="width:8%">
				<input type="checkbox" name="OptionID" value="<%=List.Rows[i]["DealID"]%>" class="checkbox" /></td>
			<td align="left" style="width:92%">
				<a href="accesstopic.aspx?Act=list&DealID=<%=List.Rows[i]["DealID"]%>&topicid=<%=List.Rows[i]["Topicid"]%>&PostBBS=<%=PostTable%>&mboardid=<%=List.Rows[i]["boardid"]%>&boardid=<%=boardid%>&sposttime=<%=sposttime%>&eposttime=<%=eposttime%>&keyword=<%=Server.UrlEncode(keyword)%>&page=<%=Get("page")%>" target="_self">
					<%=List.Rows[i]["title"]%>
				</a>
			</td>
		</tr>
		<!--{endfor}-->
		<tr>
			<td colspan="5" align="left">
				<br />
				<!--#include file="_temppager.htm"-->
			</td>
		</tr>
		<tr>
			<td colspan="5" align="left">
				<input name="DealType" type="radio" class="checkbox" value="Success" checked="checked"
					ID="Radio2" />全部通过 <input type="radio" name="DealType" class="radio" value="DeleteAll" />全部删除
				<input type="submit" name="Submit" value=" 提 交 " onMousemove="this.className='button_on';"
					onMouseout="this.className='button_off'" class="button_off" /> <input type=hidden name="PostBBS" id="PostBBS" value="<%=PostTable%>" /></td>
		</tr>
	</table>
	<!--{endif}-->
	<!--{if(Get("Act")!="" && Get("Act")!=null)}-->
	<table class="tablebox border" ID="Table1">
		<tr>
			<td style="width:70%;align:center; border-left:1px solid #D9DFE3;" valign="top">
				<div><%=Title%></div>
				<hr />
				<div style="width:100%;overflow:auto;"><base target="_blank" /><%=Content%><base target="_self" /></div>
			</td>
		</tr>
	</table>
	<!--{endif}-->
</form>
<br />
<!--#include file="_footer.html" -->