<%@ page language="C#" autoeventwireup="true" inherits="Admin_Product_Product_Add, Huibo.Net" validaterequest="false" enableviewstatemac="false" enableEventValidation="false" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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="../style/StyleSheet.css" type="text/css" rel="stylesheet" />
    <link href="../style/workplace-merge.css" rel="stylesheet" />
    <link href="../style/index-new-merge.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div style="width: 99%; text-align: center;">
            <div class="mod-wp-win">
                <div class="win-head-wrap">
                    <div class="win-head" id="mod-info-center-head">
                        <p>
                            添加商品</p>
                    </div>
                </div>
                <div class="mod-info-center clr">
                    <div class="DLBoder">
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                                <td bgcolor="#FFFFFF" style="width: 100%;">
                                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr style="height:27px;">
                                            <td width="12%" class="DLBodertd" style="height: 30px">
                                                <div align="center">
                                                    <asp:Label ID="Label2" runat="server" Text="选择分类："></asp:Label></div>
                                            </td>
                                            <td class="DLBodertd" style="height: 30px">
                                                <div align="left">
                                                    &nbsp;<asp:DropDownList ID="category" runat="server" AutoPostBack="True" Width="100px"
                                                        OnSelectedIndexChanged="category_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                    <asp:Label ID="Label1" runat="server" Text="小类："></asp:Label>
                                                    <asp:DropDownList ID="sorts" runat="server" Width="100px">
                                                    </asp:DropDownList></div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd">
                                                <div align="center">
                                                    <asp:TextBox ID="prename" runat="server" Width="80px"></asp:TextBox>
                                                </div>
                                            </td>
                                            <td class="DLBodertd">
                                                <div align="left">
                                                    &nbsp;<asp:TextBox ID="name" runat="server" Width="200px"></asp:TextBox></div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd">
                                                <div align="center">
                                                    <asp:TextBox ID="company" runat="server" Width="80px"></asp:TextBox>
                                                </div>
                                            </td>
                                            <td class="DLBodertd">
                                                <div align="left">
                                                    &nbsp;<asp:TextBox ID="mark" runat="server"></asp:TextBox>
                                                    <asp:DropDownList ID="Pinpai" AutoPostBack="True" runat="server" Width="120px" OnSelectedIndexChanged="Pinpai_SelectedIndexChanged">
                                                    </asp:DropDownList></div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd">
                                                <div align="center">
                                                    <asp:TextBox ID="other" runat="server" Width="80px"></asp:TextBox>
                                                </div>
                                            </td>
                                            <td class="DLBodertd">
                                                <div align="left">
                                                    &nbsp;<asp:TextBox ID="grade" runat="server" Width="200px"></asp:TextBox></div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd">
                                                <div align="center">
                                                    <asp:TextBox ID="intro" runat="server" Width="80px"></asp:TextBox>
                                                </div>
                                            </td>
                                            <td class="DLBodertd">
                                                <div align="left">
                                                    &nbsp;<asp:TextBox ID="introduce" runat="server" Width="200px"></asp:TextBox></div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td height="27" class="DLBodertd" align="right">
                                                <div align="center">
                                                    商品重量：</div>
                                            </td>
                                            <td class="DLBodertd" height="27">
                                                <div align="left">
                                                    &nbsp;<asp:TextBox ID="zhongliang" runat="server" Width="60px">0</asp:TextBox>
                                                    KG</div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd" height="27">
                                                <div align="center">
                                                    <asp:TextBox ID="prosize" runat="server" Width="80px"></asp:TextBox>
                                                </div>
                                            </td>
                                            <td class="DLBodertd" height="27">
                                                <div align="left">
                                                    &nbsp;<asp:TextBox ID="size" runat="server" Width="200px"></asp:TextBox>
                                                    <asp:Label ID="Label3" runat="server" Text="（不同尺寸之间用/隔开）"></asp:Label></div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd" height="27">
                                                <div align="center">
                                                    <asp:TextBox ID="procolor" runat="server" Width="80px"></asp:TextBox>
                                                </div>
                                            </td>
                                            <td class="DLBodertd" height="27">
                                                <div align="left">
                                                    &nbsp;<asp:TextBox ID="color" runat="server" Width="200px"></asp:TextBox>
                                                    <asp:Label ID="Label4" runat="server" Text="（不同颜色之间用/隔开）"></</asp:Label>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd" valign="top" style="height: 92px">
                                                <div align="center" style="margin-top: 5px;">
                                                    <asp:TextBox ID="price" runat="server" Width="80px"></asp:TextBox>
                                                </div>
                                            </td>
                                            <td class="DLBodertd" style="height: 92px">
                                                <div align="left">
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td width="12%" align="right" style="height: 25px">
                                                                <asp:Label ID="Price22" runat="server" Text="Label"></asp:Label>
                                                            </td>
                                                            <td width="84%" style="height: 25px">
                                                                &nbsp;
                                                                <asp:TextBox ID="price2" runat="server" Width="60px">1</asp:TextBox>
                                                                元</td>
                                                        </tr>
                                                    </table>
                                                    <asp:Repeater ID="Pr" runat="server">
                                                        <ItemTemplate>
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td width="12%" height="25" align="right">
                                                                        <asp:Label ID="Pr" Width="80px" runat="server" Text='<%# Eval("grpname") %>'></asp:Label>
                                                                    </td>
                                                                    <td width="84%" height="25">
                                                                        &nbsp;
                                                                        <asp:TextBox ID="Price" runat="server" Width="60px">1</asp:TextBox>
                                                                        元
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td width="12%" align="right" style="height: 25px">
                                                                <asp:Label ID="Price33" runat="server" Text="Label"></asp:Label>
                                                            </td>
                                                            <td width="84%" style="height: 25px">
                                                                &nbsp;
                                                                <asp:TextBox ID="myprice" runat="server" Width="60px">1</asp:TextBox>
                                                                元</td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd">
                                                <div align="center">
                                                    <asp:TextBox ID="prestock" runat="server" Width="80px"></asp:TextBox>
                                                </div>
                                            </td>
                                            <td class="DLBodertd">
                                                <div align="left">
                                                    &nbsp;库 存 ：
                                                    <asp:TextBox ID="stock" runat="server" Width="60px">1</asp:TextBox>
                                                    件</div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd">
                                                <div align="center">
                                                    商品中图</div>
                                            </td>
                                            <td class="DLBodertd" style="height: 25px">
                                                <div align="left">
                                                    &nbsp;<asp:TextBox ID="PhotoImage" runat="server"></asp:TextBox>
                                                    <input type="button"  style="height:22px; width:70px;" onclick="window.open('../Upload/ProUpload.aspx?P=PhotoImage&T=Pic','','status=no,scrollbars=no,top=20,left=200,width=420,height=170')"
                                                        value="上传图片" />
                                                    <%--<asp:FileUpload ID="photo" runat="server" Width="174px" />
                                        <asp:Button ID="Upload" runat="server" Text=" 上 传 " Height="20px" OnClick="Upload_Click" />--%>
                                                    <asp:HiddenField ID="Pic" runat="server" />
                                                </div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td height="9" class="DLBodertd">
                                                <div align="center">
                                                    更多图片</div>
                                            </td>
                                            <td class="DLBodertd">
                                                <div align="left">
                                                    &nbsp;<textarea id="content" cols="40" style="min-width: 400px;" rows="3" runat="server"></textarea>
                                                    <input type="button" name="Submit112" style="height:22px; width:70px;" onclick="window.open('../Upload/Uploads.aspx','','status=no,scrollbars=no,top=20,left=200,width=420,height=400')"
                                                        value="上传图片" /></div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td height="9" class="DLBodertd" valign="top">
                                                <div align="center" style="margin-top: 5px;">
                                                    <asp:TextBox ID="description" runat="server" Width="80px"></asp:TextBox>
                                                </div>
                                            </td>
                                            <td class="DLBodertd">
                                                <div align="left">
                                                    <FCKeditorV2:FCKeditor ID="FCKeditor1" Width="700px" runat="server" Height="400px">
                                                    </FCKeditorV2:FCKeditor>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td class="DLBodertd" valign="top" style="height: 22px">
                                            </td>
                                            <td class="DLBodertd" style="height: 22px">
                                                <div align="left">
                                                    &nbsp;<asp:CheckBox ID="recommend" runat="server" Text="新品" />
                                                    <asp:CheckBox ID="indextj" runat="server" Text="热卖" />
                                                    <asp:CheckBox ID="istj" runat="server" Text="特价" />
                                                    <asp:CheckBox ID="iscx" runat="server" Text="推荐" /></div>
                                            </td>
                                        </tr>
                                        <tr style="height:27px;">
                                            <td height="32" class="DLBodertd">
                                            </td>
                                            <td height="32" class="DLBodertd">
                                                &nbsp;<asp:Button ID="ReturnPage" runat="server" Text=" 返 回 " OnClick="ReturnPage_Click" />
                                                <asp:Button ID="Save" runat="server" Text=" 保 存 " OnClick="Save_Click" />
                                                <asp:Button ID="Remove" runat="server" Text=" 清 除 " OnClick="Remove_Click" /></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
