<%@ Page language="c#" Codebehind="FiltrateIP.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.Admin.FiltrateIP" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
	    <!--#include file="inc/head.inc"-->
		<title>FiltrateIP</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
	    <div class="container">
		<div class="sub_container">
		<div class="sub_container_title"><a href="../default.aspx" target="_blank">桌面</a><img src="images/admin_title.jpg" height=9px width=8px align="absmiddle" />IP过滤</div>
		<div class="sub_container_content">
		<form id="Form1" method="post" runat="server">
		    <div class="frame">
		        <div class="frame_title">IP过滤</div>
		        <div class="frame_content">
		            <table class="tableBorder" cellSpacing="0" cellPadding="0" width="98%" align="center" border="0">
				        <TR>
					        <TD align="right">添加过滤IP：</TD>
					        <TD align="left">
						        <asp:TextBox id="txtIP" Runat="server" Width="300px"></asp:TextBox>
						        <asp:button id="btnSubmit" runat="server" Text="添加过滤IP"></asp:button></TD>
				        </TR>
				        <TR>
					        <TD colspan="2" align="center">
					        </TD>
				        </TR>
				        <TR>
					        <TD colspan="2" class="forumRowHighlight">
						        <asp:datagrid id="dgList" runat="server" Width="100%" DataKeyField="FiltrateID" AutoGenerateColumns="False"
							        PagerStyle-Mode="NumericPages" AllowPaging="True" AllowCustomPaging="True">
							        <HeaderStyle Font-Bold="True"></HeaderStyle>
							        <Columns>
								        <asp:TemplateColumn HeaderText="过滤IP">
									        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									        <ItemStyle HorizontalAlign="Center"></ItemStyle>
									        <ItemTemplate>
										        <%# DataBinder.Eval(Container.DataItem, "IP") %>
									        </ItemTemplate>
								        </asp:TemplateColumn>
								        <asp:ButtonColumn Text="&lt;div id=&quot;de&quot; onclick=&quot;javascript:return confirm('真的要删除吗？')&quot;&gt;删除&lt;/div&gt;"
									        HeaderText="删除" CommandName="Delete">
									        <ItemStyle Width="50px"></ItemStyle>
								        </asp:ButtonColumn>
							        </Columns>
							        <PagerStyle Position="TopAndBottom" PageButtonCount="20" Mode="NumericPages"></PagerStyle>
						        </asp:datagrid></TD>
				        </TR>
			        </table>
		        </div>
	        </div>
		</form>
		</div>
		</div>
		</div>
	</body>
</HTML>
