<%@ page language="VB" autoeventwireup="false" inherits="qiye_admin_admin_update_cp, App_Web_admin_update_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/css.css" rel="stylesheet" type="text/css" />
<link href="css/text.css" rel="stylesheet" type="text/css" />
<link href="css/button.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('up_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>
                                <td width="9%" valign="bottom" class="huise12"><a href="admin_changpin.aspx?page_ye=<%=ubb.query_string("page_ye")%>&sou=<%=server.urlencode(ubb.query_string("sou"))%>&sou_flei=<%=Server.UrlEncode(ubb.query_string("sou_flei")) %>&sou_zlei=<%=Server.UrlEncode(ubb.query_string("sou_zlei")) %>&sou_px=<%=Server.UrlEncode(ubb.query_string("sou_px")) %>">返回</a></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="15%" height="30" align="center" bgcolor="#F6F6F6" class="hongse12">产品分类： </td>
    <td width="85%" height="25" ><asp:DropDownList ID="up_cp_lei" runat="server" AutoPostBack="True"></asp:DropDownList>
        
        <asp:DropDownList ID="up_cp_zlei" runat="server" Visible="False" 
            AutoPostBack="True"></asp:DropDownList>
  </td>
  </tr>
  <tr>
    <td width="12%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">品牌分类：</td>
    <td width="85%" height="25" class="hongse12"><asp:DropDownList ID="up_cp_pp_lei" runat="server" AutoPostBack="True"></asp:DropDownList>
        
        <asp:DropDownList ID="up_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="15%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">商品销售类别：</td>
    <td height="25" colspan="3" class="wuse12"><asp:CheckBox ID="up_cp_zt" runat="server" 
                                                      Text='店长主推' />
        <asp:CheckBox ID="up_cp_newzt" runat="server" 
                                                      Text='新品主推' />  
        <asp:CheckBox ID="up_cp_goodzt" runat="server" 
                                                      Text='精品主推' />  
        <asp:CheckBox ID="up_cp_hotzt" runat="server" 
                                                      Text='热买主推' />  
        <asp:CheckBox ID="up_cp_vipdz" runat="server" Text='加入会员打折计划' />  
    </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="15%" height="30" align="center" bgcolor="#F6F6F6" class="hongse12">商品名称：</td>
    <td height="30" colspan="2" class="hongse12"><asp:TextBox ID="up_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="30" colspan="2" class="hongse12">
      <asp:FileUpload ID="up_cp_image" runat="server" 
                                          CssClass="text_autox22_cccccc" Width="240px" />
      <asp:TextBox CssClass="text1x1" ID="up_cp_image_url" runat="server" 
                             ></asp:TextBox>
      * 不更换产品图片请留空！　图片限制为<%=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 width="350" height="30" class="hongse12"><asp:TextBox ID="up_cp_jg" runat="server" 
                                              CssClass="text_autox22_cccccc" onkeydown="intjs()" Width="150px"></asp:TextBox>
      *</td>
    <td rowspan="5"><div style="overflow: hidden;height: 151px;width: 258px;">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="121" align="center" valign="middle"><asp:Image ID="up_cp_img" runat="server" /></td>
        </tr>
      </table>
    </div></td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">特价销售：</td>
    <td height="30"><table border="0" cellspacing="2" cellpadding="0">
      <tr>
        <td><asp:CheckBox ID="up_cp_tj" runat="server"/>
        </td>
        <td class="hongse12">特价销售</td>
        <td width="70" align="right" class="wuse12">特价价格：</td>
        <td><asp:TextBox ID="up_cp_tjjg" runat="server" 
                                              CssClass="text_autox22_cccccc" Text='0' onkeydown="intjs()" Width="50px"></asp:TextBox>
        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">运　　费：</td>
    <td height="30">
      <asp:TextBox ID="up_cp_yf" runat="server" 
                                              CssClass="text_autox22_cccccc" onkeydown="intjs()" Width="50px"></asp:TextBox>
    </td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">上市时间：</td>
    <td height="30"><asp:TextBox ID="up_cp_ss" runat="server" 
                                              CssClass="text_autox22_cccccc" Width="150px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">产品成色：</td>
    <td height="30"><asp:DropDownList ID="up_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="30" colspan="2"><asp:TextBox CssClass="text_autox22_cccccc" ID="up_cp_bz" 
                                              MaxLength="100" 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="30" colspan="2" class="wuse12"><asp:TextBox ID="up_shop_url" runat="server" 
                                                          CssClass="text_autox22_cccccc" Width="450px" MaxLength="255"></asp:TextBox>
      非外部链接请保留为空</td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">SEO关键字：</td>
    <td height="30" colspan="2"><asp:TextBox ID="up_cp_keywords" runat="server" 
                                                          CssClass="text_autox22_cccccc" Width="450px" MaxLength="255"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">SEO简介：</td>
    <td height="30" colspan="2"><asp:TextBox ID="up_cp_description" runat="server" 
                                                          CssClass="text_autox22_cccccc" Width="450px" 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;">
    <%  
        Dim shop_annex_items() As String
        If up_cp_dt.Rows(0).Item("cp_annex") <> "" Then
            shop_annex_items = up_cp_dt.Rows(0).Item("cp_annex").split("‖")
            
        End If
        For i = 0 To shop_array.Length - 1
            
            Dim item_values As String = ""
            Try
                item_values = shop_annex_items(i).Split("∷")(1)
            Catch ex As Exception

            End Try
            
            %>
  <tr>
    <td width="15%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12"><%= shop_array(i).Split(",")(0)%>：</td>
    <td 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), item_values)%></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" cellpadding="0" cellspacing="2" bordercolor="#E7E7E7" style="margin-top:5px;">
  <tr>
    <td colspan="2" style="word-break: break-all"><asp:TextBox  ID="up_cp_nr" runat="server" width="100%" Height="350px"></asp:TextBox>    </td>
    </tr>
  <tr>
    <td width="17%" height="30" align="center" ><asp:CheckBox runat="server" ID="loadwebfile" CssClass="wuse12" 
                                                        Text="下载远程图片" ></asp:CheckBox></td>
    <td ><asp:Button ID="up_cp_ok" runat="server" CssClass="btn" Text="提交修改" />    
      &nbsp;&nbsp;<input name="Submit2" type="reset" class="btn" value=" 重置 " />
      &nbsp;&nbsp;<asp:Label CssClass="hongse12" ID="up_cp_ts" runat="server"></asp:Label></td>
  </tr>
</table>
</fieldset>

</form>
</body>
</html>