<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Product_AddProductFilter, 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/body63.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/AdminIndex.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:RequiredFieldValidator ID="RFV_TName" runat="server" ErrorMessage="字典名称不能为空"
        ControlToValidate="TName" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RFV_TOrder" runat="server" ErrorMessage="显示顺序不能为空"
        ControlToValidate="TOrder" Display="None"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="REV_TOrder" runat="server" ErrorMessage="显示顺序不能为空"
        ValidationExpression="^\d+$" ControlToValidate="TOrder" Display="None"></asp:RegularExpressionValidator>
    <asp:RegularExpressionValidator ID="REV_TProductPriceStart" runat="server" ErrorMessage="起始价格格式不对"
        ValidationExpression="^[0-9]+(.[0-9]{1,4})?$" ControlToValidate="TProductPriceStart"
        Display="None"></asp:RegularExpressionValidator>
    <asp:RegularExpressionValidator ID="REV_TProductPriceEnd" runat="server" ErrorMessage="结束价格格式不对"
        ValidationExpression="^[0-9]+(.[0-9]{1,4})?$" ControlToValidate="TProductPriceEnd"
        Display="None"></asp:RegularExpressionValidator>
    <div class="header">
        <h2>
            商品管理 &gt; <a href="#" class="admin_blue">添加分类筛选</a></h2>
    </div>
    <div class="container">
        <div class="title">
            筛选基本信息</div>
        <asp:ValidationSummary ID="MainValidationSummary" DisplayMode="List" CssClass="error"
            runat="server" />
        <div class="all_1">
            <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                <tr>
                    <td valign="top">
                        <div class="right">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="ADDGood_table_1">
                                <tr>
                                    <th style="width: 100px">
                                        字典名称：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TName" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        请尽力填写让用户简单易懂的搜索词。
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        上级字典：
                                    </th>
                                    <td>
                                        <asp:DropDownList ID="DParentID" CssClass="input_1" Height="20px" Width="200px" runat="server">
                                        </asp:DropDownList>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        选择此帮助的上级帮助或者给它设为顶级帮助。
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        显示顺序：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TOrder" Text="0" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        数字越小越靠前。
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        字典图片：
                                    </th>
                                    <td>
                                        <asp:FileUpload ID="FImg" runat="server" CssClass="input_1" Height="20px"
                                            Width="200px" />
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        可选，为需要美化显示的人提供
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        当前图片：
                                    </th>
                                    <td>
                                        <asp:Image ID="IImg" ImageUrl="~/logo.jpg" runat="server" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="title">
            筛选项目</div>
        <div class="all_1">
            <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                <tr>
                    <td valign="top">
                        <div class="right">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="ADDGood_table_1">
                                <tr>
                                    <th style="width: 100px">
                                        按关键字：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TProductName" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        商品的关键字。
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        按商品标签：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TProductTag" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        按商品标签。
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        按商品晒选值：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TProductFilter" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        根据商品的晒选值进行筛选。
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        按分类筛选：
                                    </th>
                                    <td>
                                        <asp:DropDownList ID="DProductCategory" CssClass="input_1" Height="20px" Width="200px"
                                            runat="server">
                                        </asp:DropDownList>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        按分类筛选。
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        按价格区间筛选：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TProductPriceStart" CssClass="input_1" Width="88px" runat="server"></asp:TextBox>-&nbsp;&nbsp;&nbsp;<asp:TextBox
                                            ID="TProductPriceEnd" CssClass="input_1" Width="88px" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="footer">
        <div class="footer_button">
            <asp:Button ID="BSubmit" runat="server" Text="保存当前操作" CssClass="footer_but" OnClick="BSubmit_Click" />
        </div>
    </div>
    </form>
</body>
</html>
