<%@ page language="C#" autoeventwireup="true" inherits="Admin_GoodsManagement_AddGoods, ShopWe" validaterequest="false" enableeventvalidation="false" %>

<%@ Register Src="../UserControl/AddGoodsWholesale.ascx" TagName="AddGoodsWholesale"
    TagPrefix="uc9" %>
<%@ Register Src="../UserControl/AddUserPrice.ascx" TagName="AddUserPrice" TagPrefix="uc8" %>
<%@ Register Src="../UserControl/SelectGoodsList.ascx" TagName="SelectGoodsList"
    TagPrefix="uc6" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Src="../UserControl/AddAttribute.ascx" TagName="AddAttribute" TagPrefix="uc3" %>
<%@ Register Src="../UserControl/AddOption.ascx" TagName="AddOption" TagPrefix="uc7" %>
<%@ Register Src="../UserControl/SelectOptionGroup.ascx" TagName="SelectOptionGroup"
    TagPrefix="uc2" %>
<%@ Register Src="~/Admin/UserControl/UploadImages.ascx" TagName="UploadImages" TagPrefix="uc5" %>
<%@ Register Src="~/Admin/UserControl/SelectParameter.ascx" TagName="SelectParameter"
    TagPrefix="uc4" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Src="../UserControl/AjaxModal.ascx" TagName="AjaxModal" 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/my.css" rel="stylesheet" type="text/css" />
    <link href="../JS/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
    <link href="../css/volti.css" rel="stylesheet" type="text/css" />
    <link href="../js/FileUpload/fileupload.css" rel="stylesheet" type="text/css" />
    <link href="../Themes/Default/Plugin/ThickBox/thickbox.css" rel="stylesheet" type="text/css" />

    <script src="../Themes/Default/JS/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../js/FileUpload/FileUpload.js" type="text/javascript"></script>

    <script src="../FCKeditor/fckeditor.js" type="text/javascript"></script>

    <script src="../css/admin.js" type="text/javascript"></script>

    <script type="text/javascript" src="../JS/calendar.js"></script>

    <script type="text/javascript">
/*第一种形式 第二种形式 更换显示样式*/
function setTab(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
 }
}

function SetTag(TagName)
{
if(document.getElementById("ControlTag").value=="")
{
document.getElementById("ControlTag").value=TagName;
}
else
{
document.getElementById("ControlTag").value+=","+TagName;
}
}


//更新按钮显示字符
function UpdateButtonStr(id)
{
switch(id)
{
case "AttributeButton":
if(document.getElementById("AttributeButton").value=="开启规格")
{
document.getElementById("AttributeButton").value="关闭规格";
}
else
{
document.getElementById("AttributeButton").value="开启规格";
}
break;
}
}
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManagerPage" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgressPage" runat="server">
        <ProgressTemplate>
            <uc1:AjaxModal ID="AjaxModalPage" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <div class="validate">
        <asp:ValidationSummary ID="ValidationSummaryPage" CssClass="val_ys" runat="server"
            DisplayMode="List" ForeColor="#FF6600" />
        <asp:RequiredFieldValidator ID="CompareValidatorGoodsBrand" runat="server" ForeColor="OrangeRed"
            ErrorMessage="商品品牌不能为空" ControlToValidate="GoodsBrand" Display="None"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="CompareValidatorGoodsClass" runat="server" ForeColor="OrangeRed"
            ErrorMessage="商品分类不能为空" ControlToValidate="GoodsClass" Display="None"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidatorGoodsName" runat="server" ForeColor="OrangeRed"
            ErrorMessage="商品名称不能为空" ControlToValidate="GoodsName" Display="None"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidatorGoodsNumber" runat="server"
            ForeColor="OrangeRed" ErrorMessage="商品货号不能为空" ControlToValidate="GoodsNumber"
            Display="None"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ForeColor="OrangeRed"
            ErrorMessage="商品售价不能为空" ControlToValidate="GoodsPrice" Display="None"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ForeColor="OrangeRed"
            ErrorMessage="商品市场价不能为空" ControlToValidate="GoodsMarketPrice" Display="None"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ForeColor="OrangeRed"
            ErrorMessage="商品促销使用积分不能为空" ControlToValidate="TextBoxUsePoint" Display="None"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ForeColor="OrangeRed"
            ErrorMessage="促销减免金额不能为空" ControlToValidate="TextBoxCountDownRemittedPrice" Display="None"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ForeColor="OrangeRed"
            ErrorMessage="积分减免金额不能为空" ControlToValidate="TextBoxRemittedPrice" Display="None"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ForeColor="OrangeRed"
            ErrorMessage="赠送积分不能为空" ControlToValidate="PointText" Display="None"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="GoodsMarketPrice"
            Display="None" ErrorMessage="市场价格式不对" ValidationExpression="^[0-9]+(.[0-9]{1,4})?$"></asp:RegularExpressionValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="GoodsPrice"
            Display="None" ErrorMessage="商品售价格式不对" ValidationExpression="^[0-9]+(.[0-9]{1,4})?$"></asp:RegularExpressionValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ControlToValidate="GoodsCostPrice"
            Display="None" ErrorMessage="商品成本价格式不对" ValidationExpression="^[0-9]+(.[0-9]{1,4})?$"></asp:RegularExpressionValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="GoodsHeft"
            Display="None" ErrorMessage="商品重量格式不对,不能输入小数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="GoodsStock"
            Display="None" ErrorMessage="库存数量格式不对,不能输入小数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="PointText"
            Display="None" ErrorMessage="赠送积分格式不对,不能输入小数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" ControlToValidate="TextBoxUsePoint"
            Display="None" ErrorMessage="商品促销使用积分不对,不能输入小数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator9" runat="server" ControlToValidate="TextBoxCountDownRemittedPrice"
            Display="None" ErrorMessage="促销减免金额格式不对" ValidationExpression="^[0-9]+(.[0-9]{1,4})?$"></asp:RegularExpressionValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator10" runat="server"
            ControlToValidate="TextBoxRemittedPrice" Display="None" ErrorMessage="积分减免金额格式不对"
            ValidationExpression="^[0-9]+(.[0-9]{1,4})?$"></asp:RegularExpressionValidator>
    </div>
    <div class="aj">
        <ul>
            <li id="two1" onclick="setTab('two',1,8)" class="hover" style="cursor: pointer">基本信息</li>
            <li id="two2" onclick="setTab('two',2,8)" style="cursor: pointer">详细介绍</li>
            <li id="two3" onclick="setTab('two',3,8)" style="cursor: pointer">商品图片</li>
            <li id="two4" onclick="setTab('two',4,8)" style="cursor: pointer">促销活动</li>
            <li id="two5" onclick="setTab('two',5,8)" style="cursor: pointer">相关商品</li>
            <li id="two6" onclick="setTab('two',6,8)" style="cursor: pointer">商品参数</li>
            <li id="two7" onclick="setTab('two',7,8)" style="cursor: pointer">增值商品</li>
            <li id="two8" onclick="setTab('two',8,8)" style="cursor: pointer">搜索引擎优化</li>
        </ul>
    </div>
    <div id="all">
        <asp:Panel ID="PanelBody" runat="server" Height="100%" ScrollBars="Auto" Width="100%">
            <div id="con_two_1">
                <div class="come_title_3">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td height="28">
                                <h2>
                                    商品的基本信息</h2>
                            </td>
                            <td valign="middle">
                                <div class="title_help">
                                    <a href="http://www.shopwe.cn/bbs/" target="_blank">
                                        <img src="../Themes/Default/Images/help_1.jpg" alt="shopwe论坛" width="50" height="20" /></a>
                                    <a href="http://help.shopwe.cn/video/AddGoods/AddGoods.htm" target="_blank">
                                        <img src="../Themes/Default/Images/video_help.jpg" alt="shopwe视频教程" width="50" height="20" /></a>
                                    <a href="http://help.shopwe.cn/help/Show.asp?id=46" target="_blank">
                                        <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="k_all6">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td valign="top" class="line" style="width: 220px">
                                <div class="k1">
                                    <div class="img_250">
                                        <asp:Panel ID="newPreview" runat="server" Width="200px" Height="200px">
                                        </asp:Panel>
                                    </div>
                                    <br />
                                    <asp:FileUpload ID="FileUploadSmallImage" runat="server" Width="201" />
                                    <div class="img_250_txte">
                                        <img src="../Themes/Default/Images/help.png" width="10" height="10" />
                                        这里上传商品图片，上传图片提交后便可查看上传的商品图片。</div>
                                </div>
                            </td>
                            <td valign="top">
                                <div class="k2">
                                    <table width="100%" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td width="90" class="bg_1" style="text-align: right;">
                                                商品名称：
                                            </td>
                                            <td class="bg_1">
                                                <asp:TextBox ID="GoodsName" runat="server" CssClass="input4" Width="225"></asp:TextBox>
                                                &nbsp;&nbsp;&nbsp;<img src="../Themes/Default/Images/help.png" width="10" height="10" />
                                                <span style="color: #999999">商品名称可以是英文、数字、汉字</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="90" class="bg_1" style="text-align: right;">
                                                商品货号：
                                            </td>
                                            <td class="bg_1">
                                                <asp:TextBox ID="GoodsNumber" runat="server" CssClass="input4" Width="225"></asp:TextBox>
                                                &nbsp;&nbsp;&nbsp;<img src="../Themes/Default/Images/help.png" width="10" height="10" />
                                                <span style="color: #999999">商品货号不能重复 </span>
                                                <asp:Button ID="ValieateGoodsNumber" runat="server" Text="检查重复" OnClick="ValieateGoodsNumber_Click"
                                                    CssClass="kon_button" />
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:UpdatePanel ID="UpdatePanelClass" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td valign="top" class="bg_1" style="text-align: right; width: 90px;">
                                                        商品分类：
                                                    </td>
                                                    <td>
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td style="width: 160px">
                                                                    <asp:DropDownList ID="GoodsClass" runat="server" Width="150" OnSelectedIndexChanged="GoodsClass_SelectedIndexChanged"
                                                                        AutoPostBack="True">
                                                                    </asp:DropDownList>
                                                                </td>
                                                                <td style="width: 80px">
                                                                    <div class="spe_left">
                                                                        <a href="javascript:ShowHideDiv('SpeedAddGoodsClass')" class="blue">快速添加分类</a>
                                                                    </div>
                                                                </td>
                                                                <td>
                                                                    <div id="SpeedAddGoodsClass" style="display: none">
                                                                        <asp:TextBox ID="TextBoxAddClassName" runat="server" CssClass="input" Width="100"></asp:TextBox>
                                                                        <asp:Button ID="AddGoodsClass" runat="server" Text="添加分类" OnClick="AddGoodsClass_Click"
                                                                            CssClass="butt_tle" Style="height: 20px; width: 65px" CausesValidation="False" />
                                                                    </div>
                                                                </td>
                                                                <td>
                                                                    &nbsp;
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                    </td>
                                                    <td>
                                                        <!--分类筛选-->
                                                        <asp:Literal ID="LiteralFilter" runat="server"></asp:Literal>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                    </td>
                                                    <td>
                                                        <!--扩展分类-->
                                                        <div class="filter">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td>
                                                                        <p>
                                                                            <strong>扩展分类：</strong></p>
                                                                        <asp:DropDownList ID="DropDownListOtherClass" runat="server" Width="120" Height="22"
                                                                            CssClass="input">
                                                                        </asp:DropDownList>
                                                                        <asp:LinkButton ID="LinkButtonAddOtherClass" Text="添加" CssClass="butt_tle" Style="height: 18px;
                                                                            width: 50px" runat="server" OnClick="LinkButtonAddOtherClass_Click" CausesValidation="False">添加</asp:LinkButton>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Literal ID="LiteralOtherClass" runat="server"></asp:Literal>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="90" class="bg_1" style="text-align: right;">
                                                        商品品牌：
                                                    </td>
                                                    <td>
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td style="width: 160px">
                                                                    <asp:DropDownList ID="GoodsBrand" runat="server" Width="150px">
                                                                    </asp:DropDownList>
                                                                </td>
                                                                <td style="width: 80px">
                                                                    <div class="spe_left">
                                                                        <a href="javascript:ShowHideDiv('SpeedAddGoodsBrand')" class="blue">快速添加品牌</a></div>
                                                                </td>
                                                                <td>
                                                                    <div id="SpeedAddGoodsBrand" style="display: none">
                                                                        <asp:TextBox ID="TextBoxAddBrandName" runat="server" CssClass="input" Width="100"></asp:TextBox>
                                                                        <asp:Button ID="AddGoodsBrand" runat="server" Text="添加品牌" OnClick="AddGoodsBrand_Click"
                                                                            CssClass="butt_tle" Style="height: 20px; width: 65px" CausesValidation="False" />
                                                                    </div>
                                                                </td>
                                                                <td>
                                                                    &nbsp;&nbsp;
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                    <table width="100%" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td width="90" class="bg_1" style="text-align: right;">
                                                关键词：
                                            </td>
                                            <td class="bg_1">
                                                <table width="230" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td>
                                                            <asp:CheckBoxList ID="GoodsTag" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                                <asp:ListItem>最新</asp:ListItem>
                                                                <asp:ListItem>热卖</asp:ListItem>
                                                                <asp:ListItem>促销</asp:ListItem>
                                                                <asp:ListItem>推荐</asp:ListItem>
                                                                <asp:ListItem>配件</asp:ListItem>
                                                                <asp:ListItem>精品</asp:ListItem>
                                                                <asp:ListItem>潮流</asp:ListItem>
                                                                <asp:ListItem>畅销</asp:ListItem>
                                                                <asp:ListItem>创意</asp:ListItem>
                                                                <asp:ListItem>特价</asp:ListItem>
                                                            </asp:CheckBoxList>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="90" class="bg_1" style="text-align: right;">
                                                自定义标签：
                                            </td>
                                            <td class="bg_1">
                                                <input id="ControlTag" runat="server" type="text" class="input2" style="width: 141px" /><span
                                                    style="color: #999999">
                                                    <asp:DropDownList ID="CommonTag" onchange="SetTag(document.getElementById('CommonTag').value)"
                                                        runat="server" Style="width: 80px; height: 20px" class="input5">
                                                    </asp:DropDownList>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;<img src="../Themes/Default/Images/help.png" width="10" height="10" />
                                                    关键词之间用逗号分开。</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="90" class="bg_1" style="text-align: right; height: 30px">
                                                库存量：
                                            </td>
                                            <td class="bg_1">
                                                <asp:TextBox ID="GoodsStock" runat="server" Width="35" CssClass="input2" Text="0"></asp:TextBox>
                                                &nbsp; 单位：
                                                <asp:DropDownList ID="GoodsMeasure" Width="50px" Height="20px" runat="server" CssClass="input5">
                                                    <asp:ListItem>件</asp:ListItem>
                                                    <asp:ListItem>台</asp:ListItem>
                                                    <asp:ListItem>个</asp:ListItem>
                                                    <asp:ListItem>张</asp:ListItem>
                                                    <asp:ListItem>瓶</asp:ListItem>
                                                    <asp:ListItem>克</asp:ListItem>
                                                    <asp:ListItem>千克</asp:ListItem>
                                                </asp:DropDownList>
                                                &nbsp; 重量：
                                                <asp:TextBox ID="GoodsHeft" runat="server" CssClass="input2" Style="width: 32px">0</asp:TextBox>
                                                （克/g）<span style="color: #999999">商品的重量关系着配送价格</span>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="come_title">
                    <h2>
                        商品价格与库存</h2>
                </div>
                <div class="k_all6">
                    <div class="tongji_ys_bf">
                        <input type="button" value="开启规格" id="AttributeButton" class="kon_button2" onclick="ShowHideDiv('GoodsAttribute');UpdateButtonStr('AttributeButton');"
                            style="height: 20px; width: 70px" />
                        <span style="font-weight: 100">（<span style="color: #ff6600">注意：如果您输入商品有"商品规格"，则商品库存取决于规格的库存</span>）
                        </span>
                        <div class="ys_bf" id="PriceAndStock">
                            <asp:UpdatePanel ID="UpdatePanelPrice" runat="server" UpdateMode="Conditional">
                                <ContentTemplate>
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td class="bg_1" style="text-align: right; width: 60px; height: 36px;">
                                                商品价：
                                            </td>
                                            <td style="width: 70px">
                                                <asp:TextBox ID="GoodsPrice" runat="server" Width="60px" CssClass="input2">0</asp:TextBox>
                                            </td>
                                            <td align="left" style="width: 160px">
                                                <asp:Button ID="AddGoodsUserPrice" runat="server" Text="会员价" CssClass="kon_button"
                                                    OnClick="AddGoodsUserPrice_Click" CausesValidation="false" Style="height: 20px;
                                                    width: 50px" />
                                                <input type="button" value="批发价" class="kon_button" style="height: 20px; width: 50px"
                                                    onclick="ShowHideDiv('WholesaleNone');" />
                                            </td>
                                            <td class="bg_1" style="text-align: right; width: 100px">
                                                市场价：
                                            </td>
                                            <td style="width: 100px">
                                                <asp:TextBox ID="GoodsMarketPrice" runat="server" Width="60" CssClass="input">0</asp:TextBox>
                                            </td>
                                            <td class="bg_1" style="text-align: right; width: 100px">
                                                成本价：
                                            </td>
                                            <td class="bg_1">
                                                <asp:TextBox ID="GoodsCostPrice" runat="server" Width="60" CssClass="input">0</asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="9">
                                                <uc8:AddUserPrice ID="AddUserPriceControl" runat="server"></uc8:AddUserPrice>
                                                <div id="WholesaleNone" style="display: none">
                                                    <uc9:AddGoodsWholesale ID="AddGoodsWholesaleControl" runat="server" />
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                    </div>
                    <div class="ys_bf" id="GoodsAttribute" style="display: none">
                        <uc3:AddAttribute ID="AddAttribute1" runat="server" />
                    </div>
                </div>
            </div>
            <div id="con_two_2" style="display: none">
                <div class="come_title_3">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <h2>
                                    商品介绍</h2>
                            </td>
                            <td>
                                <div class="title_help">
                                    <a href="http://www.shopwe.cn/bbs/" target="_blank">
                                        <img src="../Themes/Default/Images/help_1.jpg" alt="shopwe论坛" width="50" height="20" /></a>
                                    <a href="http://help.shopwe.cn/video/AddGoods/AddGoods.htm" target="_blank">
                                        <img src="../Themes/Default/Images/video_help.jpg" alt="shopwe视频教程" width="50" height="20" /></a>
                                    <a href="http://help.shopwe.cn/help/Show.asp?id=46" target="_blank">
                                        <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="k_all6">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr style="height: 100px">
                            <td width="70px">
                                商品摘要：
                            </td>
                            <td width="560px">
                                <FCKeditorV2:FCKeditor ID="GoodsSummarize" runat="server" Height="100px" Width="600px"
                                    ToolbarSet="Basic">
                                </FCKeditorV2:FCKeditor>
                            </td>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #999999"><img src="../Themes/Default/Images/help.png"
                                    width="10" height="10" />
                                    商品摘要通常显示在商品列表和商品详细页，长度限制在1000个字符内，超出1000字系统自动截取</span>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="k_all6">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td style="width: 70px">
                                详细介绍：
                            </td>
                            <td>
                                <asp:UpdatePanel ID="UpdatePanelSelectRemark" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td style="height: 30px">
                                                    <asp:Repeater ID="RepeaterSelectRemark" runat="server" OnItemCommand="RepeaterSelectRemark_ItemCommand">
                                                        <ItemTemplate>
                                                            <div class="Template2_button">
                                                                <asp:ImageButton ID="DeleteRemarkGroup" runat="server" ImageUrl="~/Admin/css/images/del_imgred.gif"
                                                                    CommandName="Delete" CommandArgument='<%# Eval("ID") %>' CausesValidation="false"
                                                                    ToolTip="删除" OnClientClick="return confirm('你真的要删除?');" />
                                                                <asp:LinkButton ID="LinkButtonSelectRemarkGroup" runat="server" CssClass="blue" CommandName="Select"
                                                                    CommandArgument='<%# Eval("ID") %>' CausesValidation="false"><%# Eval("Name") %></asp:LinkButton>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                </td>
                                                <td style="width: 220px; height: 30px">
                                                    <img src="../css/images/shop_xl7.png" alt="添加到快速组" />
                                                    <asp:LinkButton ID="AddReamrkGroup" runat="server" CssClass="blue" OnClick="AddReamrkGroup_Click">添加到自制模板</asp:LinkButton>
                                                    <img src="../css/images/shop_xl2.png" alt="资源管理器" />
                                                    <a href='ImageManage.aspx' class="blue" target="_blank" title="ShopWe资源管理器">自制资源管理器</a>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                <asp:UpdatePanel ID="UpdatePanelReamk" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <FCKeditorV2:FCKeditor ID="GoodsContent" runat="server" Height="230px">
                                        </FCKeditorV2:FCKeditor>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div id="con_two_3" style="display: none">
                <uc5:UploadImages ID="UploadImagesControl" runat="server" />
            </div>
            <div id="con_two_4" style="display: none">
                <div class="come_title_3">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <h2>
                                    促销活动</h2>
                            </td>
                            <td>
                                <div class="title_help">
                                    <a href="http://www.shopwe.cn/bbs/" target="_blank">
                                        <img src="../Themes/Default/Images/help_1.jpg" alt="shopwe论坛" width="50" height="20" /></a>
                                    <a href="http://help.shopwe.cn/video/AddGoods/AddGoods.htm" target="_blank">
                                        <img src="../Themes/Default/Images/video_help.jpg" alt="shopwe视频教程" width="50" height="20" /></a>
                                    <a href="http://help.shopwe.cn/help/Show.asp?id=46" target="_blank">
                                        <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="k_all6">
                    <div class="ys_bf">
                        <div class="tongji_ys_bf">
                            促销标记： <span style="font-weight: 100">（ <span style="color: #ff6600">促销标记主要用于前台判断展示标记代码，例如选择打折，则会在商品名称处出现“折”得小图标示</span>）</span></div>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td>
                                    <h4>
                                        选择标记</h4>
                                    <asp:RadioButtonList ID="RadioButtonListPrivilegeTag" runat="server" RepeatDirection="Horizontal">
                                        <asp:ListItem Value="" Selected="True">不选择</asp:ListItem>
                                        <asp:ListItem Value="point">积分</asp:ListItem>
                                        <asp:ListItem Value="discount">打折</asp:ListItem>
                                        <asp:ListItem Value="new">新品</asp:ListItem>
                                        <asp:ListItem Value="special">特卖</asp:ListItem>
                                        <asp:ListItem Value="stock">清仓</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="ys_bf">
                        <div class="tongji_ys_bf">
                            是否参与赠送积分活动： <span style="font-weight: 100">（<span style="color: #ff6600">选择赠送积分活动后，可以相应对用户设定积分</span>）</span></div>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="center" class="bg_1" style="width: 32px; height: 36px;">
                                    赠送
                                </td>
                                <td style="width: 11px">
                                    <input type="text" runat="server" value="0" id="PointText" name="textfield" class="input"
                                        style="width: 100px" />
                                </td>
                                <td>
                                    积分
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="ys_bf">
                        <div class="tongji_ys_bf">
                            用户使用积分减免价格：
                            <asp:CheckBox ID="IsUsePoint" runat="server" Text="启用" />
                            <span style="font-weight: 100">（ <span style="color: #ff6600">用户使用自身得积分减免商品价格，如果用户积分不够则原销售价购买</span>）</span></div>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="TableUsePoint">
                            <tr>
                                <td align="center" class="bg_1" style="width: 55px; height: 36px;">
                                    使用积分
                                </td>
                                <td style="width: 245px">
                                    <asp:TextBox ID="TextBoxUsePoint" runat="server" CssClass="input" Text="0" Width="40px"></asp:TextBox>
                                </td>
                                <td align="center" style="width: 60px">
                                    减免金额
                                </td>
                                <td width="50px">
                                    <asp:TextBox ID="TextBoxRemittedPrice" runat="server" CssClass="input" Text="0" Width="80px"></asp:TextBox>
                                </td>
                                <td>
                                    元
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="ys_bf">
                        <div class="tongji_ys_bf">
                            限时促销活动：
                            <asp:CheckBox ID="IsTimeLimit" runat="server" Text="启用" />
                            <span style="font-weight: 100">（<span style="color: #ff6600"> 在规定得时限购买此商品减免所填金额</span>）</span></div>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="TableTimeLimit">
                            <tr>
                                <td width="300px" height="36px">
                                    <h4>
                                        起始时间</h4>
                                    <input id="StartDate" type="text" style="width: 80px" runat="server" onclick="new Calendar('2000', '2100', 1,'yyyy-MM-dd').show(this);" />
                                    <asp:DropDownList ID="DropDownListStartHour" runat="server">
                                        <asp:ListItem Value="0">0时</asp:ListItem>
                                        <asp:ListItem Value="1">1时</asp:ListItem>
                                        <asp:ListItem Value="2">2时</asp:ListItem>
                                        <asp:ListItem Value="3">3时</asp:ListItem>
                                        <asp:ListItem Value="4">4时</asp:ListItem>
                                        <asp:ListItem Value="5">5时</asp:ListItem>
                                        <asp:ListItem Value="6">6时</asp:ListItem>
                                        <asp:ListItem Value="7">7时</asp:ListItem>
                                        <asp:ListItem Value="8">8时</asp:ListItem>
                                        <asp:ListItem Value="9">9时</asp:ListItem>
                                        <asp:ListItem Value="10">10时</asp:ListItem>
                                        <asp:ListItem Value="11">11时</asp:ListItem>
                                        <asp:ListItem Value="12">12时</asp:ListItem>
                                        <asp:ListItem Value="13">13时</asp:ListItem>
                                        <asp:ListItem Value="14">14时</asp:ListItem>
                                        <asp:ListItem Value="15">15时</asp:ListItem>
                                        <asp:ListItem Value="16">16时</asp:ListItem>
                                        <asp:ListItem Value="17">17时</asp:ListItem>
                                        <asp:ListItem Value="18">18时</asp:ListItem>
                                        <asp:ListItem Value="19">19时</asp:ListItem>
                                        <asp:ListItem Value="20">20时</asp:ListItem>
                                        <asp:ListItem Value="21">21时</asp:ListItem>
                                        <asp:ListItem Value="22">22时</asp:ListItem>
                                        <asp:ListItem Value="23">23时</asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:DropDownList ID="DropDownListStartMinute" runat="server">
                                        <asp:ListItem Value="00">0分</asp:ListItem>
                                        <asp:ListItem Value="01">1分</asp:ListItem>
                                        <asp:ListItem Value="02">2分</asp:ListItem>
                                        <asp:ListItem Value="03">3分</asp:ListItem>
                                        <asp:ListItem Value="04">4分</asp:ListItem>
                                        <asp:ListItem Value="05">5分</asp:ListItem>
                                        <asp:ListItem Value="06">6分</asp:ListItem>
                                        <asp:ListItem Value="07">7分</asp:ListItem>
                                        <asp:ListItem Value="08">8分</asp:ListItem>
                                        <asp:ListItem Value="09">9分</asp:ListItem>
                                        <asp:ListItem Value="10">10分</asp:ListItem>
                                        <asp:ListItem Value="11">11分</asp:ListItem>
                                        <asp:ListItem Value="12">12分</asp:ListItem>
                                        <asp:ListItem Value="13">13分</asp:ListItem>
                                        <asp:ListItem Value="14">14分</asp:ListItem>
                                        <asp:ListItem Value="15">15分</asp:ListItem>
                                        <asp:ListItem Value="16">16分</asp:ListItem>
                                        <asp:ListItem Value="17">17分</asp:ListItem>
                                        <asp:ListItem Value="18">18分</asp:ListItem>
                                        <asp:ListItem Value="19">19分</asp:ListItem>
                                        <asp:ListItem Value="20">20分</asp:ListItem>
                                        <asp:ListItem Value="21">21分</asp:ListItem>
                                        <asp:ListItem Value="22">22分</asp:ListItem>
                                        <asp:ListItem Value="23">23分</asp:ListItem>
                                        <asp:ListItem Value="24">24分</asp:ListItem>
                                        <asp:ListItem Value="25">25分</asp:ListItem>
                                        <asp:ListItem Value="26">26分</asp:ListItem>
                                        <asp:ListItem Value="27">27分</asp:ListItem>
                                        <asp:ListItem Value="28">28分</asp:ListItem>
                                        <asp:ListItem Value="29">29分</asp:ListItem>
                                        <asp:ListItem Value="30">30分</asp:ListItem>
                                        <asp:ListItem Value="31">31分</asp:ListItem>
                                        <asp:ListItem Value="32">32分</asp:ListItem>
                                        <asp:ListItem Value="33">33分</asp:ListItem>
                                        <asp:ListItem Value="34">34分</asp:ListItem>
                                        <asp:ListItem Value="35">35分</asp:ListItem>
                                        <asp:ListItem Value="36">36分</asp:ListItem>
                                        <asp:ListItem Value="37">37分</asp:ListItem>
                                        <asp:ListItem Value="38">38分</asp:ListItem>
                                        <asp:ListItem Value="39">39分</asp:ListItem>
                                        <asp:ListItem Value="40">40分</asp:ListItem>
                                        <asp:ListItem Value="41">41分</asp:ListItem>
                                        <asp:ListItem Value="42">42分</asp:ListItem>
                                        <asp:ListItem Value="43">43分</asp:ListItem>
                                        <asp:ListItem Value="44">44分</asp:ListItem>
                                        <asp:ListItem Value="45">45分</asp:ListItem>
                                        <asp:ListItem Value="46">46分</asp:ListItem>
                                        <asp:ListItem Value="47">47分</asp:ListItem>
                                        <asp:ListItem Value="48">48分</asp:ListItem>
                                        <asp:ListItem Value="49">49分</asp:ListItem>
                                        <asp:ListItem Value="50">50分</asp:ListItem>
                                        <asp:ListItem Value="51">51分</asp:ListItem>
                                        <asp:ListItem Value="52">52分</asp:ListItem>
                                        <asp:ListItem Value="53">53分</asp:ListItem>
                                        <asp:ListItem Value="54">54分</asp:ListItem>
                                        <asp:ListItem Value="55">55分</asp:ListItem>
                                        <asp:ListItem Value="56">56分</asp:ListItem>
                                        <asp:ListItem Value="57">57分</asp:ListItem>
                                        <asp:ListItem Value="58">58分</asp:ListItem>
                                        <asp:ListItem Value="59">59分</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <h4>
                                        结束时间</h4>
                                    <input id="EndDate" type="text" style="width: 80px" runat="server" onclick="new Calendar('2000', '2100', 1,'yyyy-MM-dd').show(this);" />
                                    <asp:DropDownList ID="DropDownListEndHour" runat="server">
                                        <asp:ListItem Value="0">0时</asp:ListItem>
                                        <asp:ListItem Value="1">1时</asp:ListItem>
                                        <asp:ListItem Value="2">2时</asp:ListItem>
                                        <asp:ListItem Value="3">3时</asp:ListItem>
                                        <asp:ListItem Value="4">4时</asp:ListItem>
                                        <asp:ListItem Value="5">5时</asp:ListItem>
                                        <asp:ListItem Value="6">6时</asp:ListItem>
                                        <asp:ListItem Value="7">7时</asp:ListItem>
                                        <asp:ListItem Value="8">8时</asp:ListItem>
                                        <asp:ListItem Value="9">9时</asp:ListItem>
                                        <asp:ListItem Value="10">10时</asp:ListItem>
                                        <asp:ListItem Value="11">11时</asp:ListItem>
                                        <asp:ListItem Value="12">12时</asp:ListItem>
                                        <asp:ListItem Value="13">13时</asp:ListItem>
                                        <asp:ListItem Value="14">14时</asp:ListItem>
                                        <asp:ListItem Value="15">15时</asp:ListItem>
                                        <asp:ListItem Value="16">16时</asp:ListItem>
                                        <asp:ListItem Value="17">17时</asp:ListItem>
                                        <asp:ListItem Value="18">18时</asp:ListItem>
                                        <asp:ListItem Value="19">19时</asp:ListItem>
                                        <asp:ListItem Value="20">20时</asp:ListItem>
                                        <asp:ListItem Value="21">21时</asp:ListItem>
                                        <asp:ListItem Value="22">22时</asp:ListItem>
                                        <asp:ListItem Value="23">23时</asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:DropDownList ID="DropDownListEndMinute" runat="server">
                                        <asp:ListItem Value="00">0分</asp:ListItem>
                                        <asp:ListItem Value="01">1分</asp:ListItem>
                                        <asp:ListItem Value="02">2分</asp:ListItem>
                                        <asp:ListItem Value="03">3分</asp:ListItem>
                                        <asp:ListItem Value="04">4分</asp:ListItem>
                                        <asp:ListItem Value="05">5分</asp:ListItem>
                                        <asp:ListItem Value="06">6分</asp:ListItem>
                                        <asp:ListItem Value="07">7分</asp:ListItem>
                                        <asp:ListItem Value="08">8分</asp:ListItem>
                                        <asp:ListItem Value="09">9分</asp:ListItem>
                                        <asp:ListItem Value="10">10分</asp:ListItem>
                                        <asp:ListItem Value="11">11分</asp:ListItem>
                                        <asp:ListItem Value="12">12分</asp:ListItem>
                                        <asp:ListItem Value="13">13分</asp:ListItem>
                                        <asp:ListItem Value="14">14分</asp:ListItem>
                                        <asp:ListItem Value="15">15分</asp:ListItem>
                                        <asp:ListItem Value="16">16分</asp:ListItem>
                                        <asp:ListItem Value="17">17分</asp:ListItem>
                                        <asp:ListItem Value="18">18分</asp:ListItem>
                                        <asp:ListItem Value="19">19分</asp:ListItem>
                                        <asp:ListItem Value="20">20分</asp:ListItem>
                                        <asp:ListItem Value="21">21分</asp:ListItem>
                                        <asp:ListItem Value="22">22分</asp:ListItem>
                                        <asp:ListItem Value="23">23分</asp:ListItem>
                                        <asp:ListItem Value="24">24分</asp:ListItem>
                                        <asp:ListItem Value="25">25分</asp:ListItem>
                                        <asp:ListItem Value="26">26分</asp:ListItem>
                                        <asp:ListItem Value="27">27分</asp:ListItem>
                                        <asp:ListItem Value="28">28分</asp:ListItem>
                                        <asp:ListItem Value="29">29分</asp:ListItem>
                                        <asp:ListItem Value="30">30分</asp:ListItem>
                                        <asp:ListItem Value="31">31分</asp:ListItem>
                                        <asp:ListItem Value="32">32分</asp:ListItem>
                                        <asp:ListItem Value="33">33分</asp:ListItem>
                                        <asp:ListItem Value="34">34分</asp:ListItem>
                                        <asp:ListItem Value="35">35分</asp:ListItem>
                                        <asp:ListItem Value="36">36分</asp:ListItem>
                                        <asp:ListItem Value="37">37分</asp:ListItem>
                                        <asp:ListItem Value="38">38分</asp:ListItem>
                                        <asp:ListItem Value="39">39分</asp:ListItem>
                                        <asp:ListItem Value="40">40分</asp:ListItem>
                                        <asp:ListItem Value="41">41分</asp:ListItem>
                                        <asp:ListItem Value="42">42分</asp:ListItem>
                                        <asp:ListItem Value="43">43分</asp:ListItem>
                                        <asp:ListItem Value="44">44分</asp:ListItem>
                                        <asp:ListItem Value="45">45分</asp:ListItem>
                                        <asp:ListItem Value="46">46分</asp:ListItem>
                                        <asp:ListItem Value="47">47分</asp:ListItem>
                                        <asp:ListItem Value="48">48分</asp:ListItem>
                                        <asp:ListItem Value="49">49分</asp:ListItem>
                                        <asp:ListItem Value="50">50分</asp:ListItem>
                                        <asp:ListItem Value="51">51分</asp:ListItem>
                                        <asp:ListItem Value="52">52分</asp:ListItem>
                                        <asp:ListItem Value="53">53分</asp:ListItem>
                                        <asp:ListItem Value="54">54分</asp:ListItem>
                                        <asp:ListItem Value="55">55分</asp:ListItem>
                                        <asp:ListItem Value="56">56分</asp:ListItem>
                                        <asp:ListItem Value="57">57分</asp:ListItem>
                                        <asp:ListItem Value="58">58分</asp:ListItem>
                                        <asp:ListItem Value="59">59分</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td height="36px">
                                    <h4>
                                        减免金额</h4>
                                    <asp:TextBox ID="TextBoxCountDownRemittedPrice" runat="server" CssClass="input" Text="0"
                                        Width="80px"></asp:TextBox>
                                    <h4>
                                        元</h4>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div id="con_two_5" style="display: none">
                <uc6:SelectGoodsList ID="SelectGoodsListPage" runat="server" />
            </div>
            <div id="con_two_6" style="display: none">
                <uc4:SelectParameter ID="SelectParameterControl" runat="server" />
            </div>
            <div id="con_two_7" style="display: none">
                <uc7:AddOption ID="AddOptionControl" runat="server" />
            </div>
            <div id="con_two_8" style="display: none">
                <div class="come_title_3">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <h2>
                                    搜索引擎优化
                                </h2>
                            </td>
                            <td>
                                <div class="title_help">
                                    <a href="http://www.shopwe.cn/bbs/" target="_blank">
                                        <img src="../Themes/Default/Images/help_1.jpg" alt="shopwe论坛" width="50" height="20" /></a>
                                    <a href="http://help.shopwe.cn/video/AddGoods/AddGoods.htm" target="_blank">
                                        <img src="../Themes/Default/Images/video_help.jpg" alt="shopwe视频教程" width="50" height="20" /></a>
                                    <a href="http://help.shopwe.cn/help/Show.asp?id=46" target="_blank">
                                        <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="k_all6">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px; height: 36px;">
                                商品页面标题：
                            </td>
                            <td>
                                <asp:TextBox ID="TextSEOTitle" CssClass="input" runat="server" Width="350px"></asp:TextBox>
                                <h4>
                                    <img src="../css/images/help.png" />
                                    <span style="color: #999999">留空则默认显示商品名称</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 80px;">
                                页面关键词：
                            </td>
                            <td>
                                <asp:TextBox ID="TextSEOKeywords" CssClass="input" runat="server" Width="350px" Height="50px"></asp:TextBox>
                                <h4>
                                    <img src="../css/images/help.png" />
                                    <span style="color: #999999">留空则默认显示商品名称</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 80px;">
                                页面描述：
                            </td>
                            <td>
                                <asp:TextBox ID="TextSEOContent" CssClass="input" runat="server" Width="350px" Height="70px"></asp:TextBox>
                                <h4>
                                    <img src="../css/images/help.png" />
                                    <span style="color: #999999">留空则默认显示商品名称</span></h4>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </asp:Panel>
    </div>
    <div class="sub">
        <asp:Button ID="Submit" runat="server" Text="确认提交" OnClick="Submit_Click" CssClass="but_add" />
    </div>
    </form>
</body>
</html>
