<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="IP.aspx.cs" Inherits="web.admin.IP" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>FiltrateIP</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<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">
		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body leftmargin="0" rightmargin="0" topmargin="0">
		<form id="Form1" method="post" runat="server">
<table width="100%" height="550" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" background="img/labelbg.gif" bgcolor="#EDF6FF">
            <tr>
		      <td width="6%" height="33" class="tl"></td>
		<td width="61%" class="tm"><span class="tt">统计工具 &gt;&gt; IP过滤</span></td>
		      <td width="28%" class="tm2"><span class="tt"></span></td>
		<td width="5%" class="tr"></td>
	</tr>
</table>
</div>
        <div class="mframe"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td class="ml"></td>
    <td  class="mm" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
                    <td bgcolor="#FFFFFF" valign="top"><br>
                      <table width="90%" align="center" cellpadding="0"  cellspacing="0">
                        <tr>
		<td class="ml1"></td>
		<td class="mm1">
<table  cellSpacing="0" cellPadding="5" width="100%" align="center" border="0">
                              <TR>
					<TD align="right">添加过滤IP：</TD>
					<TD align="left">
						<asp:TextBox id="txtIP" CssClass="input" Runat="server" Width="300px"></asp:TextBox>&nbsp;&nbsp;
						<asp:button id="btnSubmit" CssClass="btn1" 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" BorderColor="#E0E0E0" BorderWidth="1px">
							<HeaderStyle Font-Bold="False" BackColor="#EDF6FF" Height="35px" CssClass="head"></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 PageButtonCount="20" Mode="NumericPages" Height="25px"></PagerStyle>
                            <ItemStyle Height="26px" />
						</asp:datagrid></TD>
				</TR>
			</table>
		</td>
		<td class="mr1"></td>
	</tr>
</table>
                    </td>
  </tr>
</table>


<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
</td>
    <td  class="mr"></td>
  </tr>
</table>
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>

</div>
    </td>
  </tr>
</table>
		</form>
	</body>
</HTML>
