<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CaseEdit.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>
<script language=javascript>
function goscript(erli,txt)//初始化值
{
ddlBigEr(erli);
ddlFl(txt);
}
</script>
</head>
<body class="btn" vlink="#1000">
   <div class="tright">
	<li><a href="#">商品管理</a></li>

</div>
   
    <form id="form1" runat="server">
    <div>
        <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="ooihx" style="width: 150%; height: 19px;" align="right">
    <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn" OnClick="LinkButton2_Click">保存</asp:LinkButton><a href="#" 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; width: 361px;" valign="baseline">
                        <asp:TextBox ID="Products" runat="server" CssClass="input1" Width="250px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Products"
                            Display="Dynamic" ErrorMessage="*" Width="18px"></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="*" Width="18px"></asp:RequiredFieldValidator><br />
                        &nbsp;<span style="color: #999999">可以是商品货号、条形码号等，方便查货发货；</span></td>
                </tr>
                <tr>
                    <td style="width: 149px; height: 70px" valign="baseline" align="center">
                        &nbsp;是否发布：</td>
                    <td style="width: 361px; 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: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>
                </tr>
                <tr>
                    <td style="width: 149px; height: 63px;" align="center" valign="baseline">
                        &nbsp;商品品牌：</td>
                    <td style="width: 361px; 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;简单描述：</td>
                    <td style="width: 353px; height: 63px;" 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="*" Width="18px"></asp:RequiredFieldValidator><br />
                        <span  style="color: #999999">商品简单描述，顾客不用点击商品详情就能大致了解商品的部分属性； </span>
                    </td>
                </tr>
                <tr>
                    <td style="width: 149px; height: 90px;"  valign="baseline" align="center">
                        &nbsp;计量单位：</td>
                    <td style="width: 361px; 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="*" Width="18px"></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="*" Width="18px"></asp:RequiredFieldValidator><br />
                        <span style="color: #999999">配送价格（运费）将与商品重量息息相关。如果需要根据商品重量设置运费，请按照商品实际重量填写。此处单位为kg，比如100克，可以填写为0.1kg；
                        </span>
                    </td>
                </tr>
                <tr>
                    <td align="center" style="width: 149px; height: 93px" valign="top">
                        <br />
                        详细描述：</td>
                    <td colspan="3" style="height: 93px" valign="baseline">
                        &nbsp;<DNTB:WebEditor id="Content" Skin="skin/xp/" runat="server" Width="600px"></DNTB:WebEditor>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="Content"
                            ErrorMessage="*" Width="18px"></asp:RequiredFieldValidator>
                        </td>
                    <td colspan="1" style="height: 93px" valign="baseline">
                    </td>
                </tr>
            </table>
</div>
</td>

  </tr>

  <tr style="display: none">

    <td style="width: 397px; height: 80px;" valign="top">
        <br />
    <table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" class="tdline">
        <tr>
            <td align="center" style="width: 102px; height: 38px" valign="top">
                商品分类：</td>
            <td colspan="3" style="height: 38px; width: 549px;" valign="top">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 50px; height: 22px;">
                <asp:DropDownList ID="BigProduct" runat="server"  onchange="ddlBig()" CssClass="input1">
                </asp:DropDownList></td>
                            <td style="width: 76px; height: 22px;">

                            <div id="erli" align=center runat=server>
                                <asp:DropDownList ID="xlddl" runat="server">
                                </asp:DropDownList>&nbsp;</div>
                            </td>
                            <td style="width: 76px; height: 22px">
                                <asp:TextBox ID="SmallProductId" runat="server" Width="1px" Height="1px"></asp:TextBox></td>
                        </tr>
                    </table>
            </td>
            <td colspan="1" style="height: 38px" valign="top">
            </td>
            <td colspan="1" style="height: 38px" valign="baseline">
            </td>
            <td colspan="1" style="height: 38px" valign="baseline">
            </td>
        </tr>
        <tr>
            <td valign="baseline" align="center" colspan="4" rowspan="5">
        <table border="0" cellpadding="0" cellspacing="0" width="780" align="center" class="tdline">
            <tr>
                <td align="center" style="width: 133px; height: 8px" valign="baseline">
                    商品缩略图：</td>
                <td colspan="3" style="height: 8px" valign="baseline">
                    <input id="ThumbnailsPic" style="width: 347px" type="file" class="input1" runat="server"/>&nbsp;
                    <asp:Label ID="Slab" runat="server" Font-Underline="True" ForeColor="Gray" Text="Label"></asp:Label></td>
            </tr>
            <tr style="color: #000000">
                <td style="width: 133px; height: 29px;" valign="middle" align="center">
                    商品清晰图：</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="~/WTOSYSadmin/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>
                    &nbsp;&nbsp;
                    <asp:Label ID="piclable" runat="server" Text="Label" Width="110px" Font-Underline="True" ForeColor="Gray"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 133px; height: 29px" valign="baseline" align="center">
                    <span style="color: #999999">
                    缩略图远程链接地址：</span></td>
                <td style="height: 29px; color: #999999;"  valign="baseline" colspan="3">
                    <asp:TextBox ID="RemotePicURLt" runat="server" CssClass="input1" Width="399px"></asp:TextBox></td>
            </tr>
            <tr style="color: #999999">
                <td align="center" 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>&nbsp;<br />
                    <span style="color: #000000">请以http:// 开始，如果同时上传商品图片和输入图片远程链接地址，那么前台商店会按照上传的图片显示商品图片；</span></td>
            </tr>
            <tr style="color: #000000">
                <td align="center" 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>

    <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" />
        <br />
        <input id="picMORE" runat="server" type="hidden" /></FIELDSET>
</div>
                    </td>
            </tr>
        </table>

    </td>
            <td colspan="1" style="height: 4px" valign="baseline">
            </td>
            <td colspan="1" style="height: 4px" valign="baseline">
            </td>

        </tr>
        <tr>
        </tr>
        <tr>
        </tr>
        <tr>
        </tr>
        <tr>
        </tr>
        <tr>
            <td align="center" colspan="4" style="height: 47px" valign="baseline" width="700">
                <table style="width: 628px">
                    <tr>
                        <td align="center" colspan="3" rowspan="3" style="width: 188px">
       
 
                        </td>
                    </tr>
                    <tr>
                    </tr>
                    <tr>
                    </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="center" style="width: 133px; 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"
                        ErrorMessage="*" Width="18px" Display="Dynamic"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 133px; height: 33px;" valign="top" align="center">
                    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"
                        ErrorMessage="*" Width="18px" Display="Dynamic"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td align="center" style="width: 133px; 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" ErrorMessage="*" Width="18px" Display="Dynamic"></asp:RequiredFieldValidator><br />
                    <span style="color: #999999"></span>
                </td>
            </tr>
        </table>

    </td>

  </tr>

  <tr style="display: none">

    <td style="width: 397px; height: 25px" align="center" valign="top">
        <br />

    </td>

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

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

    </td>

  </tr>

</table>
    </div>
    </form>
</body>
</html>
