<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Product_ProductFilter, ECMe_Deploy" %>

<!-- Put IE into quirks mode -->
<!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 href="../CSS/Admin/CSS/ECMe.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/body156.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/volti.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../JS/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="header">
        <div class="header_top">
            <h2>
                商品管理 &gt; <span class="blue">商品筛选字典管理</span>
            </h2>
        </div>
        <div class="top_body">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <th style="width: 85px;">
                        更新排序
                    </th>
                    <th>
                        添加筛选字典
                    </th>
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="BOrder" runat="server" Text="更新排序" OnClick="BOrder_Click"  CssClass="but_2"/>
                    </td>
                    <td>
                        如果这没有你要的筛选字典，请点击 <a href="AddProductFilter.aspx" class="top_but_Add">
                            <img src="../CSS/Admin/images/Add.png" alt="筛选字典" />
                            添加筛选字典</a>&nbsp;&nbsp;
                    </td>
                </tr>
            </table>
        </div>
        <div class="tab_top">
            <table class="thead">
                <tbody>
                    <tr>
                        <th style="width: 300px">
                            分类名称
                        </th>
                        <th style="width: 100px">
                            前台显示
                        </th>
                        <th style="width: 100px">
                            编辑
                        </th>
                        <th>
                            删除
                        </th>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="container">
        <div class="tab_body">
            <table class="tbody">
                <tbody>
                    <asp:Repeater ID="RepeaterTable" runat="server" OnItemCommand="RepeaterTable_ItemCommand">
                        <ItemTemplate>
                            <tr>
                                <td style="width: 300px">
                                    排序：
                                    <asp:TextBox ID="TOrder" Width="40px" CssClass="top_input" ToolTip='<%#Eval("ID")%>'
                                        Text='<%#Eval("SearchOrder")%>' runat="server"></asp:TextBox>
                                    <a href='<%#Eval("SearchUrl")%>' class="blue" target="_blank">
                                        <img src="../CSS/Admin/images/cate.png" alt="商品分类" /> <%#Eval("SearchName")%> </a>
                                </td>
                                <td style="width: 100px">
                                    <asp:LinkButton ID="LIsShow" CssClass="blue" runat="server" CommandArgument='<%#Eval("ID") %>'
                                        CommandName="IsShow"><%# Utils.GetBoolStr(bool.Parse(Eval("IsShow").ToString())) %></asp:LinkButton>
                                </td>
                                <td style="width: 100px">
                                    <img src="../CSS/Admin/images/Edit.png" alt="编辑" />
                                    <a href='AddProductFilter.aspx?id=<%#Eval("ID")%>' class="blue">编辑</a>
                                </td>
                                <td>
                                    <img src="../CSS/Admin/images/class.png" alt="删除" />
                                    <asp:LinkButton ID="LDeleteItem" runat="server" CommandArgument='<%#Eval("ID") %>'
                                        CssClass="blue">删除</asp:LinkButton>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
        </div>
    </div>
    <div class="footer">
        <div class="txte">
            
        </div>
    </div>
    </form>
</body>
</html>
