<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductsAdd.aspx.cs" Inherits="PanRoor.WTOSYSadmin_Products_Products"  ValidateRequest="false"%>
<%@Register TagPrefix="dntb" Namespace="DotNetTextBox" Assembly="DotNetTextBox"%>
<html >
<head runat="server">
 <link href="../../SYSadmin/css/style.css" rel="stylesheet" type="text/css" />
 <link href="../../SYSadmin/css/neiye.css" rel="stylesheet" type="text/css" />
<style>

.uploadcontrol {
    margin:4px 0;
    border-bottom:1px solid #F0F0F0;
    width:600px; 
    
}
.tda { font-family: 宋体; font-size: 10pt;height:25px;float:left;font-weight:bold;line-height:25px;white-space:nowrap;}
.ooib { border-width: 1px; border-style: none solid solid; border-color: #B8C9D6; background-color: #ffffff;}
.ooih td { border-width: 1px; padding: 0 5; }
.ooihj { color: #CC3333; font-weight:bold; 	 height:30px; background:url(../image/001.gif) no-repeat left center; background-color: #ffffff; border-style: none none none; border-color: #B8C9D6; cursor: hand}
.ooihs { color: #404043; background-color: #ffffff;   background:url(../image/002.gif) no-repeat left center; height:30px; border-style: solid; border-color: #B8C9D6 #B8C9D6 #B8C9D6; cursor: hand}
.ooihx { border-style: none none solid; border-color: #B8C9D6; }
</style>
<script src="product.js" language="javascript"></script>

    <link href="E:\websize\moban\web/system_dntb/skin/xp/toolbar.css" rel="stylesheet"
        type="text/css" />
    <link href="E:\websize\moban\web/system_dntb/skin/xp/toolbar.css" rel="stylesheet"
        type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="E:\websize\web\Contract\ms_ct0769_com/system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
</head>
<body class="btn">
   <div class="tright">
	<li><a href="#">添加商品</a></li>
</div>
    <form id="form1" runat="server">
    <div>
        <br />
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True" EnableScriptLocalization="True">
        </asp:ScriptManager>
        <br />
    <table class="ooih" border="0" cellspacing="0" cellpadding="0" style="height: 25px;" align="center" width="95%">
  <tr>
<td class="ooihj" nowrap onclick="ghbq(this)" style="height: 19px" align="center" width="100">
    基本信息</td>
<td class="ooihs" nowrap onclick="ghbq(this)" style="height: 19px" align="center" width="100">
    类别/图片</td>
<td class="ooihs" nowrap onclick="ghbq(this)" style="height: 19px" align="center" width="100">
        搜索优化</td>
    <td class="ooihs" nowrap onclick="ghbq(this)" style="height: 19px" align="center" width="100">
        关联产品</td>
<td class="ooihx" style="width: 150%; height: 19px;" align="right">
    &nbsp;
    <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn" OnClick="LinkButton2_Click">保存</asp:LinkButton><a href="ProductsList.aspx" class="btn">返回</a></td>
  </tr>
</table>
<table class="ooib" id="obody" border="0" cellspacing="2" cellpadding="0" style="height: 366px" align="center" width="95%">
  <tr>
    <td style="height: 161px;" valign="baseline" align="center" width="100%">
        <br />
        <div align=center>
            <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" class="tdline">
                <tr>
                    <td style="height: 45px;" valign="baseline" align="center" width="10%">
                        &nbsp;商品名称：</td>
                    <td style="height: 45px;" valign="baseline" width="40%">
                        <asp:TextBox ID="Products" runat="server" CssClass="input1" Width="250px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Products"
                            Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator><br />
                        <span class="p9gray">&nbsp;<span style="color: #999999">商品前台显示的名称；</span></span></td>
                    <td style="height: 45px;" valign="baseline" align="center" width="10%">
                        &nbsp;货 &nbsp;&nbsp; 号：</td>
                    <td style="height: 45px" valign="baseline" width="40%">
                        <asp:TextBox ID="ProductsNo" runat="server" CssClass="input1" Width="250px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ProductsNo"
                            Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator><br />
                        &nbsp;<span style="color: #999999">可以是商品货号、条形码号等，方便查货发货；</span></td>
                </tr>
                <tr>
                    <td style="width: 393px; height: 70px" valign="baseline" align="center">
                        &nbsp;是否发布：</td>
                    <td style="width: 373px; height: 70px"  valign="baseline">
                        <asp:RadioButton ID="open" runat="server" Text="是" TextAlign="Left" Checked="True" GroupName="ISPublished" />
                        <asp:RadioButton ID="close" runat="server" Text="否" TextAlign="Left" GroupName="ISPublished" /><br />
                        <span style="color: #999999">选择“否”，则该商品暂时不显示在网店前台，您可以选择其他任何时间进行发布；</span></td>
                    <td style="height: 70px; width: 164px;" valign="baseline" align="center">
                        简单描述：</td>
                    <td style="height: 70px; width: 353px;" valign="baseline">
                        <asp:TextBox ID="Description" runat="server" CssClass="input1" Width="250px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Description"
                            Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator><br />
                        <span  style="color: #999999">商品简单描述，顾客不用点击商品详情就能大致了解商品的部分属性；</span></td>
                </tr>
                <tr>
                    <td style="width: 393px; height: 63px;" align="center" valign="baseline">
                        &nbsp;商品品牌：</td>
                    <td style="width: 373px; height: 63px;" valign="baseline">
                        <asp:DropDownList ID="Brand" runat="server">
                            <asp:ListItem Value="0">请选择品牌</asp:ListItem>
                            <asp:ListItem>fdsa</asp:ListItem>
                        </asp:DropDownList><br />
                        <span  style="color: #999999">该商品所属品牌，前台高级搜索中可以按照这里所填写的品牌名称进行搜索； </span>
                    </td>
                    <td style="width: 164px; height: 63px;" align="center" valign="baseline">
                        &nbsp;库存数量：&nbsp;</td>
                    <td style="width: 353px; height: 63px;" valign="baseline"><span  style="color: #999999">&nbsp;<asp:TextBox ID="Stockvolume" runat="server" CssClass="input1" Width="100px">100</asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="Stockvolume"
                            Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                        <span style="color: #999999">
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Stockvolume"
                                Display="Dynamic" ErrorMessage="* 必需为数字!" ValidationExpression="^[0-9]\d*$"></asp:RegularExpressionValidator>当商品实际库存数量小于1的时候，前台“购买”按钮将会自动显示为“到货通知”按钮；</span></span></td>
                </tr>
                <tr>
                    <td style="width: 393px; height: 90px;"  valign="baseline" align="center">
                        &nbsp;计量单位：</td>
                    <td style="width: 373px; height: 90px;"  valign="baseline">
                        <asp:TextBox ID="Unit" runat="server" CssClass="input1" Width="100px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="Unit"
                            Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                        <br />
                        <span style="color: #999999">商品实际计量单位，比如“台”、“张”、“套”等；</span></td>
                    <td style="width: 164px; height: 90px;" align="center"  valign="baseline">
                        &nbsp;单位重量：</td>
                    <td style="width: 353px; height: 90px;"  valign="baseline">
                        <asp:TextBox ID="Unitweight" runat="server" CssClass="input1" Width="250px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="Unitweight"
                            Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator><br />
                        <span style="color: #999999">配送价格（运费）将与商品重量息息相关。如果需要根据商品重量设置运费，请按照商品实际重量填写。此处单位为kg，比如100克，可以填写为0.1kg；
                        </span>
                    </td>
                </tr>
                <tr>
                    <td style="width: 393px; height: 93px;" align="center" valign="baseline">
                        &nbsp;强劲属性：</td>
                    <td style="height: 93px; width: 373px;" valign="baseline">
                        <asp:CheckBox ID="IsNew" runat="server" Text="最新" />
                        &nbsp;
                        <asp:CheckBox ID="IsHot" runat="server" Text="最热" />
                        &nbsp;
                        <asp:CheckBox ID="IsRecommended" runat="server" Text="推荐" />
                        &nbsp;
                        <asp:CheckBox ID="IsSpecials" runat="server" Text="特价" />
                        &nbsp;<br />
                        <span   style="color: #999999">★选“最新”，当前商品则会出现在首页最新商品位置；<br />
                            ★择“最热”，当前商品则会出现在首页热卖商品位置；<br />
                            ★择“推荐”，当前商品则会出现在首页商品推荐位置；<br />
                            ★择“特价”，当前商品则会出现在首页特价商品位置；<br />
                                    </span>
                    </td>
                    <td colspan="1" style="height: 93px; width: 164px;" valign="baseline" align="center">
                        商品性质：</td>
<td colspan="1" style="height: 93px; width: 353px;" valign="baseline">
    <asp:RadioButton ID="isS" runat="server" Text="实体商品" GroupName="Nature" Checked="True" />&nbsp;
    <asp:RadioButton ID="isK" runat="server" Text="虚拟卡类" GroupName="Nature" />
    <asp:RadioButton ID="isX" runat="server" Text="数字文件 " GroupName="Nature" /><br />
    <span style="color: #999999">对于点卡、装备等物品等数字形式物品请选择“虚拟卡类”，其他有形的物品为实体商品。如果是下载类商品如mp3、电子图书等请选数字文件；选择“虚拟卡类”，即可以对当前虚拟商品快速补货；</span></td>
                    <td colspan="1" style="height: 93px" valign="baseline">
                    </td>
                </tr>
                <tr>
                    <td align="center" style="width: 393px; height: 93px" valign="top">
                        <br />
                        详细描述：</td>
                    <td colspan="3" style="height: 93px" valign="baseline">
                        <DNTB:WebEditor id="Content" Skin="skin/xp/" runat="server" Width="600px"></DNTB:WebEditor>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="Content"
                            Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator></td>
                    <td colspan="1" style="height: 93px" valign="baseline">
                    </td>
                </tr>
            </table>
</div>
</td>
  </tr>
  <tr style="display: none">

    <td valign="top">
        <br />
    <table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" class="tdline">
        <tr>
            <td align="center" colspan="4" style="height: 47px" valign="baseline">
        <table border="0" cellpadding="0" cellspacing="0" width="780" align="center" class="tdline">
            <tr>
                <td align="right" style="width: 133px; height: 33px" valign="baseline">
                商品分类：</td>
                <td colspan="3" style="height: 33px" valign="baseline">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                <asp:DropDownList ID="BigProduct" runat="server"  CssClass="input1" AutoPostBack="True" OnSelectedIndexChanged="BigProduct_SelectedIndexChanged">
                </asp:DropDownList>
                            <asp:DropDownList ID="smalllb" runat="server">
                            </asp:DropDownList>
                            <span style="color: #999999">注意：如果是赠品，下面三个价格可以为空；必需填写用多少积分换此商品。</span>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    <span style="color: #999999"></span>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 133px; height: 33px" valign="baseline">
                市场价：</td>
                <td colspan="3" style="height: 33px" valign="baseline">
                <span
                        style="color: #999999">
                    <asp:TextBox ID="Sprice" runat="server" CssClass="input1" Width="144px">0.00</asp:TextBox>
                    前台显示为市场价格，告知顾客目前市面上的流通价格信息；</span></td>
            </tr>
            <tr>
                <td align="right" style="width: 133px; height: 33px" valign="baseline">
                    销售价/拍卖价：</td>
                <td colspan="3" style="height: 33px" valign="baseline">
                    <asp:TextBox ID="CountALL" runat="server" CssClass="input1" Width="144px">0.00</asp:TextBox>
                    &nbsp; 有效时间[一口价拍卖]：<asp:TextBox ID="TextBox1" runat="server" CssClass="input1" Width="193px"></asp:TextBox>
                    非一口价商品可不填<ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1">
                    </ajaxToolkit:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 133px; height: 33px" valign="baseline">
                    会员价：</td>
                <td colspan="3" style="height: 33px" valign="baseline">
                    <asp:TextBox ID="vipprice" runat="server" CssClass="input1" Width="144px">0.00</asp:TextBox></td>
            </tr>
            <tr>
                <td align="right" style="width: 133px; height: 33px" valign="baseline">
                    换此商品所需积分：</td>
                <td colspan="3" style="height: 33px" valign="baseline">
                    <asp:TextBox ID="intj" runat="server" CssClass="input1" Width="144px">0</asp:TextBox>
                    <span style="color: #999999">注意：如果不是赠品，可不用理会；直接填加即可；如是赠品此处不能为0；</span></td>
            </tr>
            <tr>
                <td align="right" style="width: 133px; height: 33px" valign="baseline">
                    商品缩略图：</td>
                <td colspan="3" style="height: 33px" valign="baseline">
                    <input id="ThumbnailsPic" style="width: 347px" type="file" class="input1"  runat="server"/></td>
            </tr>
            <tr>
                <td style="width: 133px; height: 29px;" valign="baseline" align="right">
                    商品清晰图：</td>
                <td style="height: 29px;" valign="baseline" colspan="3">
                    <asp:FileUpload ID="fup_imgb" runat="server" CssClass="input1" Width="347px" />
                    &nbsp;&nbsp;<asp:Image
                        ID="Image3" runat="server" BorderStyle="Solid" ImageAlign="AbsMiddle" ImageUrl="~/SYSadmin/image/changeimg.gif" /><a href="#" onclick="window.open ('Config_XML.aspx', 'newwindow', 'height=185, width=500, top='+(screen.availHeight-300)/2+',left='+(screen.availWidth-500)/2+', toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')">设置</a><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator8" runat="server" ControlToValidate="fup_imgb" Display="Dynamic"
                            ErrorMessage="*"></asp:RequiredFieldValidator>
                    大图请不要使用GIF格式；</td>
            </tr>
            <tr style="color: #000000">
                <td style="width: 133px; height: 29px" valign="baseline" align="right">
                    缩略图远程链接地址：</td>
                <td style="height: 29px"  valign="baseline" colspan="3">
                    <asp:TextBox ID="RemotePicURLt" runat="server" CssClass="input1" Width="399px"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right" style="width: 133px; height: 49px" valign="baseline">
                    清晰图远程链接地址：</td>
                <td colspan="3" style="height: 49px" valign="baseline">
                    <asp:TextBox ID="RemotePicURLc" runat="server" CssClass="input1" Width="400px"></asp:TextBox><span
                        style="color: #999999">&nbsp;<br />
                    </span>
                    <span style="color: #000000">请以http:// 开始，如果同时上传商品图片和输入图片远程链接地址，那么前台商店会按照上传的图片显示商品图片；</span></td>
            </tr>
            <tr style="color: #000000">
                <td align="right" style="width: 133px; height: 47px" valign="top">
                    商品更多图片上传：</td>
                <td colspan="3" style="height: 47px" valign="baseline">
                    <div id="toolbox" class="tooltip box">
	<FIELDSET id=null>
	<legend style="width: 104px" align="left" contenteditable="true" hidefocus="hideFocus">更多图片[可留空]</legend>
        图请不要使用GIF格式；<br />

    <asp:FileUpload ID="Mpic1" runat="server" CssClass="input1" Width="250px" />
    <asp:FileUpload ID="Mpic2" runat="server" CssClass="input1" Width="250px" /><br />
    <asp:FileUpload ID="Mpic3" runat="server" CssClass="input1" Width="250px" />
    <asp:FileUpload ID="Mpic4" runat="server" CssClass="input1" Width="250px" />
        <br />
    <asp:FileUpload ID="Mpic5" runat="server" CssClass="input1" Width="250px" />
    <asp:FileUpload ID="Mpic6" runat="server" CssClass="input1" Width="250px" />
    <asp:FileUpload ID="Mpic7" runat="server" CssClass="input1" Width="250px" />
    <asp:FileUpload ID="Mpic8" runat="server" CssClass="input1" Width="250px" />
    <asp:FileUpload ID="Mpic9" runat="server" CssClass="input1" Width="250px" />
    <asp:FileUpload ID="Mpic10" runat="server" CssClass="input1" Width="250px" />
</FIELDSET>
</div>
                    </td>
            </tr>
        </table>
            </td>
        </tr>
    </table>

    </td>

  </tr>

  <tr style="display: none">

    <td style="width: 397px; height: 89px;" align="center" valign="top">
        <br />
        <table border="0" cellpadding="0" cellspacing="0" align="center" class="tdline" style="width: 646px; height: 174px">
            <tr>
                <td align="right" style="height: 33px" valign="baseline">
                    页面标题：</td>
                <td colspan="3" style="height: 33px; width: 441px;" valign="baseline">
                    &nbsp;
                    <asp:TextBox ID="PageTitle" runat="server" CssClass="input1" Width="399px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="PageTitle"
                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr style="color: #000000">
                <td style="height: 33px;" valign="top" align="right">
                    META_KEYWORDS：</td>
                <td style="height: 33px; width: 441px;" valign="baseline" colspan="3">
                    &nbsp;
                    <asp:TextBox ID="META_KEYWORDS" runat="server" CssClass="input1" Height="51px" TextMode="MultiLine"
                        Width="400px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="META_KEYWORDS"
                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr style="color: #000000">
                <td align="right" style="height: 73px" valign="top">
                    META_DESCRIPTION：</td>
                <td colspan="3" style="height: 73px; width: 441px;" valign="baseline">
                    &nbsp;
                    <asp:TextBox ID="META_DESCRIPTION" runat="server" CssClass="input1" Height="51px" TextMode="MultiLine"
                        Width="400px"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator11"
                            runat="server" ControlToValidate="META_DESCRIPTION" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator><br />
                    <span style="color: #999999"></span>
                </td>
            </tr>
        </table>

    </td>

  </tr>

  <tr style="display: none">

    <td align="center" valign="top">
    <iframe src="RelatedProduct.aspx" width="100%" height="450" scrolling="auto" name="Rele" id="ifra" runat="server" frameborder=0></iframe>
        </td>

  </tr>
    <tr style="display: none">

    <td style="width: 397px; height: 49px" valign="top">

    </td>

  </tr>

</table>
    </div>
    </form>
    <script language="javascript" type="text/javascript">
 Sys.Application.add_load(
     function()
      {
           var form = Sys.WebForms.PageRequestManager.getInstance()._form;
           form._initialAction = form.action = window.location.href;
      }
 );
</script> 
</body>
</html>
