<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_Collection_SuperiorManger, QianboCMS" EnableEventValidation="false" %>
<%@ Import Namespace="Qianbo.Common" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>高级过滤规则管理</title>
    <link rel="stylesheet" href="../Css/layout.css" type="text/css" />
    <script language="javascript" type="text/javascript" src="../../Js/Common.js"></script>
</head>

<body>
    <form id="form1" runat="server">
        <div>
            <table cellspacing="1" cellpadding="0" class="wzdh" align="center">
                <tr>
                    <td class="wzlist">
                        <img src="../Images/Skin/Default/you.gif" align="absmiddle" />
                        您现在的位置：<a href="../SystemInfo.aspx">后台管理</a> &gt;&gt; <a href="../User/LogList.aspx">扩展功能</a> &gt;&gt; 采集管理
					</td>
                </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="1" class="border" align="center">
                <tr>
                    <td class="wzlist"><a id="hyperInfo" href="SetObject.aspx">添加采集<img src="../Images/comment_add.gif" align="absmiddle" border="0" /></a> | <a href="SuperiorManger.aspx">过滤管理</a> | <a id="A1" href="SetSuperior.aspx">添加过滤<img src="../Images/comment_add.gif" align="absmiddle" border="0" /></a> | <a href="CollectionManager.aspx">管理采集</a> | <a href="CollectionAddressManager.aspx">采集历史管理<img src="../Images/comment_add.gif" align="absmiddle" border="0" /></a></td>
                </tr>
            </table>
            <div style="margin-top: 5px; text-align: center;">
                <table cellspacing="1" cellpadding="0" border="0" class="border">
                    <asp:Repeater ID="repSuperior" runat="server" OnItemCommand="repSuperior_ItemCommand">
                        <HeaderTemplate>
                            <tr class="title">
                                <td width="30px">编号</td>
                                <td width="180px">过滤规则名称</td>
                                <td>开始代码</td>
                                <td>结束代码</td>
                                <td width="90px">操作</td>
                            </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr class="tdbg" onmouseover="this.className='tdbgmouseover'" onmouseout="this.className='tdbg'">
                                <td><%# Eval("Id") %></td>
                                <td align="left"><%# Eval("Name") %></td>
                                <td align="left"><%# Function.HtmlEncode(Eval("StartCode")) %></td>
                                <td align="left"><%# Function.HtmlEncode(Eval("EndCode")) %></td>
                                <td>
									<a href="SetSuperior.aspx?id=<%# Eval("Id") %>">修改</a> |
									<asp:HiddenField ID="hidSuperiorId" Value='<%# Eval("Id") %>' runat="server" />
                                    <asp:LinkButton ID="linkBtnDelete" runat="server" OnClientClick="return confirm('是否确定删除？');">删除</asp:LinkButton>
								</td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
        </div>
    </form>
</body>
</html>