<%
    //-----------------------------------------------------------
    // 文件名称: Promotions_Guide_Operate.aspx
    // 页面名称: 导购添加/编辑
    //
    // 描    述:
    //
    // 创建标识: Add By 吴建春 2008-06-20
    //-----------------------------------------------------------
%>

<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Promotions_Guide_Operate, V5Shop.Shop.Promotions" culture="auto" uiculture="auto" meta:resourcekey="PageResource1" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="V5" %>
<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<!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/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="js/Common.js"></script>
    <script type="text/javascript" src="editor/fckeditor.js"></script>
    <style type="text/css">
    .titles{
        color:#666666;
        font-size: 12px; 
        font-family:Arial, Helvetica, sans-serif;
        width: 20%;
        text-align: right;
    }
    .items{
        color:#666666;
        font-size: 12px; 
        font-family:Arial, Helvetica, sans-serif;
        width: 80%;
        text-align: left;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblAdd" runat="server" Text="【商品导购添加】" />
                <asp:Label ID="lblEdit" runat="server" Text="【商品导购编辑】" />
                <asp:HyperLink ID="lkReturn" runat="server" Text="返回列表" />
            </div>
        </div>
        <div style="text-align: center;">
            <asp:Panel runat="server" ID="PanelShow" Width="100%">
                <div>
                    <table id="OperateTable" style="width: 100%; border: 0px; text-align: center;" cellpadding="0" cellspacing="0">
                        <tr class="F7tr">
                            <td class="titles">
                                <asp:Label ID="Label1" runat="server" Text="导购名称：" />
                            </td>
                            <td class="items">
                                <asp:TextBox ID="txtName" runat="server" Width="300px" MaxLength="50" />
                                <span style="color: Red;">*</span>
                                <asp:RequiredFieldValidator ID="rfvName" runat="server" ErrorMessage="必须输入！" ControlToValidate="txtName" Display="Dynamic"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr class="FFtr">
                            <td class="titles">
                                <asp:Label ID="Label4" runat="server" Text="导购排序：" /></td>
                            <td class="items">
                                <V5:NumberBox ID="txtOrderID" runat="server" Width="100px" IsInt="True" Value="0" />
                            </td>
                        </tr>
                        <tr class="F7tr">
                            <td class="titles">
                                <asp:Label ID="Label2" runat="server" Text="导购大图片：" /></td>
                            <td class="items">
                                <V5:ImageBox ID="imgSrcDetail" runat="server" BoxWidth="300px" ShowSelect="true" />
                            </td>
                        </tr>
                        <tr class="FFtr">
                            <td class="titles">
                                <asp:Label ID="Label3" runat="server" Text="导购小图片：" /></td>
                            <td class="items">
                                <V5:ImageBox ID="imgSrcList" runat="server" Text="选择图片" ShowSelect="true" BoxWidth="300px" />
                            </td>
                        </tr>
                        <tr class="F7tr">
                            <td class="titles">
                                <V5:HelpCtrl ID="HelpCtrl1" runat="server" FontColor="red" Header="导购关健字" HideSelects="False" ImageURL="images/help.gif" Text="用于前台搜索优化。" />
                                <asp:Label ID="Label9" runat="server" Text="导购关键字：" /></td>
                            <td class="items">
                                <asp:TextBox ID="txtSearchKey" runat="server" Width="300px" /></td>
                        </tr>
                        <tr>
                            <td class="titles">
                                <V5:HelpCtrl ID="HelpCtrl3" runat="server" FontColor="red" Header="导购商品" HideSelects="False" ImageURL="images/help.gif" Text="添加过的商品会在前台该导购的地方显示。" />
                                <asp:Label ID="Label11" runat="server" Text="导购商品：" /></td>
                            <td class="items">
                                <V5:SelectListBox ID="slbProductId" runat="server" Height="200px" Width="500px" CategoryHeaderText="商品类别:" DescHeaderText="关联商品:" SrcHeaderText="被选的商品:" />
                            </td>
                        </tr>
                        <tr class="F7tr">
                            <td class="titles">
                                <asp:Label ID="Label12" runat="server" Text="导购简介：" /></td>
                            <td class="items">
                                <div style="padding: 1px 10px 1px 1px">
                                    <button id="btnSelectPicture" runat="server" class="button" style="vertical-align: middle; width: 72px; text-align: center" type="button">
                                        图片选择</button>
                                </div>
                                <V5:FCKeditor ID="txtContent" runat="server" Height="150px" Width="650px"></V5:FCKeditor></td>
                        </tr>
                        <tr class="FFtr">
                            <td align="center" style="text-align: center;" colspan="2">
                                <br />
                                <asp:Button ID="btnAddSubmit" runat="server" meta:resourcekey="btnAddResource1" OnClick="btnAddSubmit_Click" Text="确定" CssClass="button" />
                                <input id="iptReset" runat="server" type="reset" value="重置" class="button" />
                                <asp:Button ID="btnReturn" OnClick="btnReturn_Click" runat="server" Text="返回列表" CssClass="button" CausesValidation="false" />
                                <br />
                            </td>
                        </tr>
                    </table>
                </div>
            </asp:Panel>
            <uc2:PageBottom ID="PageBottom" runat="server" />
        </div>
        <div id="hiddenfield">
            <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
            <asp:HiddenField ID="IsEdit" runat="server" Value="0" />
            <asp:HiddenField ID="PageIndex" runat="server" Value="0" />
            <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0" />
            <uc1:HiddenField ID="Alert" runat="server" />
        </div>
    </form>
</body>
</html>
