<%@ Page language="c#" Codebehind="FiltrateIP.aspx.cs" AutoEventWireup="false" Inherits="wqeshop.Admin.FiltrateIP" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<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">
<LINK href="inc/style.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
  <table width="100%" height="550" style="border:1px #619ADF solid; border-left:0;margin-top:6px; margin-right:7px;background:#F2F7FD;" cellspacing="0" cellpadding="0">
    <tr>
      <td valign="top"><div class="top">
          <table width="100%" align="center" cellspacing="0" cellpadding="0">
            <tr>
              <td class="tl"></td>
              <td class="tm"><span class="tt">统计工具 &gt;&gt; IP过滤</span></td>
              <td class="tm2"><span class="tt"><a href="http://www.wangqi.com" target="_blank"><img src="Images/admin_help.gif" border="0" alt="帮助"></a></span></td>
              <td class="tr"></td>
            </tr>
          </table>
        </div>
        <div class="mframe">
          <table width="100%" align="center" cellspacing="0" cellpadding="0">
            <tr>
              <td class="tl"></td>
              <td class="tm"><div class="tt">&nbsp; IP过滤</div></td>
              <td class="tr"></td>
            </tr>
          </table>
          <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="#EBF3FE" valign="top" style=" border-right:1px #77ABE5 solid;"><table width="90%"  cellspacing="0" cellpadding="0">
                        <tr>
                          <td class="ml1"></td>
                          <td class="mm1"><table class="tableBorder" cellSpacing="0" cellPadding="0" width="640" 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">
                                    <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></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>
