<%@ Page Inherits="Dvbbs.bbs.UI.Admin.admin_keyword" %>
<%@ 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" ID="Adminheader1" NAME="Adminheader1" />
<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
	<tr>
		<th colspan="2">
			关键字设置</th>
	</tr>
	<tr>
		<td class="nf2">
			<div class="underline">功能说明：</div>
			<span>您可设置论坛对关键字的过滤，防止不良信息对您造成损失</span>
		</td>
	</tr>
	<tr>
		<td><A href="admin_keyword.aspx?Act=AddSetting">添加关键字</A> &nbsp;&nbsp;|&nbsp;&nbsp;<A href="admin_keyword.aspx?Act=Newslist">关键字列表</A>
		</td>
	</tr>
</table>
<br />
<div id="SettingList" style="display:<%=displayList%>">
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td width="6%" align="center">删除?</td>
			<td width="40%">关键字</td>
			<td width="40%">替换成</td>
			<td>操作</td>
		</tr>
		<form action="?Act=DelInfo" method="post" name="TheForm1">
			<asp:Repeater id="list" runat="server">
				<ItemTemplate>
					<tr onMouseOver="this.bgColor='#ffffff'" onMouseOut="this.bgColor=''">
						<td align="center">
							<Dvbbs:Span id="delete" runat="server" /></td>
						<td>
							<Dvbbs:Span id="keyword" runat="server" /></td>
						<td>
							<Dvbbs:Span id="rkeyword" runat="server" /></td>
						<td>
							<Dvbbs:Span id="Edit" runat="server" /></td>
					</tr>
				</ItemTemplate>
			</asp:Repeater>
			<!--			<tr>
				<td colspan="10"><Dvbbs:Pager id="pager" runat="server"/></td>
			</tr>-->
			<tr>
				<td align="left" colspan="4" class="bottom">
					<input type="hidden" name="viewcode" value=""> <input type="submit" value="删 除" class="button" onFocus="IEvent('focus',this)" onBlur="IEvent('blur',this)"
						onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" />
				</td>
			</tr>
		</form>
	</table>
</div>
<div id="addSetting" style="display:<%=displayAddSetting%>">
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<form METHOD="post" id="mainform" action="?Act=<%=action%>&id=<%=Get("id")%>" name="mainform">
			<tr>
				<th colspan="2">
					关键字设置</th>
			</tr>
			<tr>
				<td width="10%" class="left">关键字
				</td>
				<td width="90%" class="right">
					<INPUT type="text" id="keyword" name="keyword" size="80%"  value="<%=mkeyword%>" onFocus="IEvent('focus',this)" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" /></select>
				</td>
			</tr>
			<tr>
				<td class="left">替换成
				</td>
				<td class="right"><INPUT type="text" id="rkeyword" size="80%" name="rkeyword" value="<%=mrkeyword%>" onFocus="IEvent('focus',this)" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" />
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center" class="bottom">
					<INPUT TYPE="submit" class="button" value="添 加" runat="server" onFocus="IEvent('focus',this)"
						onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" />&nbsp;&nbsp;&nbsp;
					<INPUT TYPE="reset" class="button" value="重 填" runat="server" onFocus="IEvent('focus',this)"
						onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" />
				</td>
			</tr>
	</table>
	</form>
	<script language="javascript" type="text/javascript">
	</script>
</div>
<bbs:AdminFooter runat="server" ID="Adminfooter1" NAME="Adminfooter1" />