<%@ page language="VB" autoeventwireup="false" inherits="qiye_admin_admin_add_changpin, App_Web_admin_add_changpin.aspx.25f04327" %>
<!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>
<title>添加商品</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/button.css" rel="stylesheet" type="text/css"/>
<link href="css/css.css" rel="stylesheet" type="text/css"/>
<link href="css/text.css" rel="stylesheet" type="text/css"/>
<script src="js/intjs.js" type="text/javascript"></script>
<script charset="utf-8" src="../kindeditor/kindeditor.js" type="text/javascript"></script>
	<script charset="utf-8" src="../kindeditor/lang/zh_CN.js" type="text/javascript"></script>
     <script charset="utf-8" src="js/kindeditor_admin.js" type="text/javascript"></script>
		<script type="text/javascript">
		    KindEditor_admin('add_cp_nr',1)
			
		document.oncontextmenu=new Function('event.returnValue=false;'); 
        </script>
</head>
<body>
<form id="form1" runat="server">
  <table width="100%" border="0" cellspacing="3" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#E7E7E7"><table width="100%" border="0" cellspacing="1" cellpadding="0">
            <tr>
              <td bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="5">
                  <tr>
                    <td height="19" bgcolor="#EBEBEB"><table width="100%" border="0" cellspacing="8" cellpadding="0">
                        <tr>
                          <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                            <tr>
                              <td width="15%" height="25" align="center" class="wuse16"><strong class="16huise">管理中心</strong></td>
                              <td valign="bottom" class="huise12">添加商品</td>
                              </tr>
                          </table></td>
                        </tr>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
            
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>商品分类</strong></legend>
<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;"
>
<tr>
                                          <td width="17%" height="30" align="center" bgcolor="#F6F6F6" class="hongse12">商品分类： </td>
<td height="25" class="wuse12"><asp:DropDownList ID="add_cp_lei" runat="server" AutoPostBack="True"> </asp:DropDownList>
                                              <asp:DropDownList ID="add_cp_zlei" runat="server" 
        Visible="False" AutoPostBack="True"></asp:DropDownList>
                                              <span class="hongse12">*</span>　<span class="lanse12"><a href="admin_add_changpin_lei.aspx">添加分类</a></td>
    </tr>
                                        <tr>
                                          <td width="12%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">品牌分类：</td>
                                          <td height="25"><asp:DropDownList ID="add_cp_pp_lei" runat="server" AutoPostBack="True"> </asp:DropDownList>
                                              <asp:DropDownList ID="add_cp_pp_zlei" runat="server" Visible="False"></asp:DropDownList>                                          </td>
    </tr>
                                    </table>
 </fieldset>
                                    <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>销售设置</strong></legend>
                                    <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                                      <tr>
                                        <td width="17%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">商品销售类别：</td>
                                        <td height="25" colspan="3" class="wuse12"><asp:CheckBox ID="add_cp_zt" runat="server" 
                                                      Text='店长主推' />                              
                                            <asp:CheckBox ID="add_cp_newzt" runat="server" 
                                                      Text='新品主推' Checked="True" />                                
                                            <asp:CheckBox ID="add_cp_goodzt" runat="server" 
                                                      Text='精品主推' />                                
                                            <asp:CheckBox ID="add_cp_hotzt" runat="server" 
                                                      Text='热买主推' />                                
                                            <asp:CheckBox ID="add_cp_vipdz" runat="server" Text='加入会员打折计划' Checked="true" />                                
                                        </td>
                                      </tr>
                                  </table>
                                     </fieldset>
                                     
               <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>基本设置</strong></legend>
<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                                        <tr>
                                          <td width="17%" height="30" align="center" bgcolor="#F6F6F6" class="hongse12">商品名称：</td>
                                          <td height="25" class="hongse12">
                                              <asp:TextBox ID="add_cp_name" runat="server" 
                                          CssClass="text_autox22_cccccc" Width="350px" MaxLength="255"></asp:TextBox>
                                          * 如果留空将以图片名称做代替</td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="hongse12">产品图片：</td>
                                          <td height="25" class="hongse12">
                                            <asp:FileUpload ID="add_cp_image" runat="server" 
                                          CssClass="text_autox22_cccccc" Width="350px" />
* 图片限制为<%=ubb.xml_tables("web_config.xml", "pz_kb")%>KB 格式为GIF，JPG</td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="hongse12">销售价格：</td>
                                          <td height="25" class="hongse12"><asp:TextBox ID="add_cp_jg" runat="server" 
                                              CssClass="text_autox22_cccccc" onkeydown="intjs()" Text='0'></asp:TextBox>
                                          *</td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">特价销售：</td>
                                          <td height="25"><table border="0" cellspacing="2" cellpadding="0">
                                              <tr>
                                                <td><asp:CheckBox ID="add_cp_tj" runat="server" /></td>
                                                <td class="hongse12">特价销售</td>
                                                <td width="70" align="right" class="wuse12">特价价格：</td>
                                                <td><asp:TextBox ID="add_cp_tjjg" runat="server" 
                                              CssClass="text_autox22_cccccc" Text='0' width="60px" onkeydown="intjs()"></asp:TextBox></td>
                                              </tr>
                                          </table></td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="hongse12">运　　费：</td>
                                          <td height="25" class="hongse12">
                                            <asp:TextBox ID="add_cp_yf" runat="server" 
                                              CssClass="text_autox22_cccccc" Text='0' onkeydown="intjs()" Width="50px"></asp:TextBox>
* </td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">上市时间：</td>
                                          <td height="25"><asp:TextBox ID="add_cp_ss" runat="server" 
                                              CssClass="text_autox22_cccccc"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">产品成色：</td>
                                          <td height="25">
                                            <asp:DropDownList ID="add_cp_cs" runat="server">
                                              <asp:ListItem>全新</asp:ListItem>
                                              <asp:ListItem>二手</asp:ListItem>
                                            </asp:DropDownList>
                                            * </td>
                                        </tr>
                                        
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">备　　注：</td>
                                          <td height="25">
                                              <asp:TextBox CssClass="text_autox22_cccccc" ID="add_cp_bz" 
                                                runat="server" TextMode="MultiLine" Height="50px" Width="350px"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">商品外链：</td>
                                          <td height="25" class="wuse12">
                                          <asp:TextBox ID="add_shop_url" runat="server" CssClass="text_autox22_cccccc" 
                                                        Width="430px" MaxLength="255"></asp:TextBox>非外部链接请保留为空</td>
    </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">SEO关键字：</td>
                                          <td height="25">
                                              <asp:TextBox ID="add_cp_keywords" runat="server" CssClass="text_autox22_cccccc" 
                                                        Width="430px" MaxLength="255"></asp:TextBox>                                          </td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">SEO简介：</td>
                                          <td height="25">
                                              <asp:TextBox ID="add_cp_description" runat="server" 
                                                        CssClass="text_autox22_cccccc" Width="430px" MaxLength="255"></asp:TextBox>                                          </td>
                                        </tr>
               </table>
 </fieldset>

 <asp:Label ID="shop_annex_string" runat="server" Visible="False"></asp:Label>
 <% 
     If ubb.xml_tables("red_parrot.xml", "parrot_form") = "True" Then
         If shop_annex_string.Text <> "" Then
             Dim shop_array() = shop_annex_string.Text.ToString.Split("|")
         %>
  <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>附加表单</strong></legend>
<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
    <%   For i = 0 To shop_array.Length - 1%>
  <tr>
    <td width="17%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12"><%= shop_array(i).Split(",")(0)%>：</td>
    <td width="83%" height="25" class="wuse12"><%= form_replace_text(shop_array(i).Split(",")(1), shop_array(i).Split(",")(2), shop_array(i).Split(",")(3), i, shop_array(i).Split(",")(4))%></td>
  </tr>
    <%  Next%>
</table>
</fieldset>
<%  End If
End If%>


                                    <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>商品详情</strong><span class="huise12">&nbsp;--&nbsp;详情可调用标签：[!--商品图片--!]&nbsp;&nbsp;[!--图片路径--!]&nbsp;</span></legend>
                                    <table width="100%" border="0" cellspacing="2" cellpadding="0" style="margin-top:5px;"
>
                                  <tr>
                                    <td colspan="2" style="word-break: break-all"><asp:TextBox ID="add_cp_nr" runat="server"  width="100%" Height="350px"></asp:TextBox></td>
                                    </tr>
                                  <tr>
                                    <td width="17%" height="30" align="center" style="word-break: break-all"><asp:CheckBox runat="server" ID="loadwebfile" CssClass="wuse12"  Text="下载远程图片" ></asp:CheckBox></td>
                                    <td style="word-break: break-all"><asp:Button ID="add_cp_ok" runat="server" CssClass="btn" Text="提交添加" />                                      
&nbsp;&nbsp;
<input name="Submit2" type="reset" class="btn" value=" 重置 " />
&nbsp;&nbsp;
<asp:Label CssClass="hongse12" ID="add_cp_ts" runat="server"></asp:Label></td>
                                  </tr>
                                </table>
                                    </fieldset>                      
                                     
                                     
                                     
 </form>
</body>
</html>