<%@ Page Inherits="Dvbbs.bbs.UI.Admin.admin_robotsadvent" %>
<%@ 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"%>
<bbs:AdminHeader title="论坛安全日志" runat="server" />
<script language="javascript">
function clearAll()
{
	if (!confirm("确定要删除本列表中所有记录吗?"))
	{
		return false;
	}
	location.href = "?action=clear";
}
</script>
<form name="search" method="get">
	<table cellpadding="0" cellspacing="1" class="maintable" border="0">
		<tr>
			<th colspan="2">
				搜索引擎访问记录</th>
		</tr>
		<tr>
			<td class="nf2" colspan="2">
				<div class="underline">功能说明：</div>
				<span>该列表为常见搜索引擎的Robots(机器人, 蜘蛛程序)访问论坛的历史记录，这里仅记录行踪，与搜索引擎中搜索本站内容的结果无直接联系。</span>
			</td>
		</tr>
		<tr>
			<td>搜索：<span class="t2">输入搜索引擎关键字筛选下面的列表 (如google、yahoo、baidu等) </span>
				<input type="text" class="otherinput" id="keyword" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"
					onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="width:120px" maxlength="24" runat="server" />
				<input type="submit" class="button" value="搜 索" onFocus="IEvent('focus',this)" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" />
			</td>
			<td align="center"><input type="button" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
					onMouseOut="IEvent('mouseout',this)" class="button" value="清空列表" onclick="javascript:return clearAll()" /></td>
		</tr>
	</table>
</form>

<form id="delete" runat="server">
	<table cellpadding="0" cellspacing="1" class="maintable" border="0">
		<tr align="center">
			<td width="40">删除</td>
			<td>页面标题及真实完整地址(链接)</td>
			<td>表面地址(RawUrl)</td>
			<td width="80">搜索引擎</td>
			<td width="150">时间</td>
		</tr>
		<asp:Repeater enableviewstate="false" id="list" runat="server">
			<ItemTemplate>
				<tr>
					<td align="center"><Dvbbs:Span id="remove" class="checkbox" runat="server" /></td>
					<td nowrap="nowrap"><Dvbbs:Anchor id="pagetitle" target="_blank" runat="server" /></td>
					<td nowrap="nowrap"><Dvbbs:Anchor id="rawurl" target="_blank" runat="server" /></td>
					<td nowrap="nowrap"><Dvbbs:Anchor id="agent" href="javascript:void(0)" runat="server" /></td>
					<td style="text-indent:6px"><Dvbbs:Span id="happentime" runat="server" /></td>
				</tr>
			</ItemTemplate>
		</asp:Repeater>
		<tr>
			<td colspan="5" class="bottom">&nbsp;&nbsp;<input name="checkall" id="checkall" type="checkbox" class="checkbox" onclick="chkAll()" />
			&nbsp;&nbsp; <input type="submit" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
					onMouseOut="IEvent('mouseout',this)" class="button" value="删除选中的记录" /> &nbsp;
				<Dvbbs:Span id="result" class="nf2" runat="server" /></td>
		</tr>
		<tr>
			<td colspan="5" class="title"><Dvbbs:Pager id="pager" per="25" runat="server" /></td>
		</tr>
	</table>
</form>
<bbs:AdminFooter runat="server" />
