<%@ page language="C#" autoeventwireup="true" validaterequest="false" inherits="admin_upload, App_Web_6wlyxa5y" %>
<!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>通用商城系统V3.0(通用网店系统),PoweredBy 蓝头网络(LANT)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="images/dlg.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="./iefirefox.js"></script>
<script type="text/javascript">
    function check(e) {
        editor.data();
        if ($("product_name") == "" || parseInt($("market_price")) == "0" || parseInt($("single_price")) == "0" || ($("packageid_array") != "0" && parseInt($("dynamic_price")) == "0")) {
            alert("商品名称,市场价,本站价,订购参数及图组至少一组,套餐商品必须输入性质价格！");
            if (getOs() == "MSIE") { e.returnValue = false; } else { e.preventDefault(); }
        }
}
</script>
<style type="text/css">
.prdpara1 {float:left;width:102px;line-height:20px;height:20px;text-align:center}
.prdpara1_ {float:left;height:20px;}
.prdpara2 {float:left;width:auto;line-height:20px;height:20px;text-align:center;padding-left:5px;padding-right:5px;}
.prdpara2_ {float:left;height:20px;}
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="bodydiv"><asp:Literal ID="LiteralHelpView" runat="server"></asp:Literal>
<table width="96%" border="0" align="center" cellspacing="1" cellpadding="2">
  <tr> 
  <td width="100"><div align="center">商品目录/分类：</div></td>
    <td height="20"><font color="#0000ff"><asp:Literal ID="Literal1" runat="server"></asp:Literal></font></td>
  </tr>
    <tr> 
      <td><div align="center">商品性质：</div></td>
      <td><asp:DropDownList ID="typeid" runat="server"></asp:DropDownList>&nbsp;商品品牌：<asp:DropDownList ID="brandid" runat="server"></asp:DropDownList>
      商品排序：<asp:TextBox ID="product_order" MaxLength="6" Width="50px" runat="server" onkeypress="if ((event.keyCode<48||event.keyCode>57) && event.keyCode!=46) event.returnValue = false;" onpaste="return false;"></asp:TextBox>&nbsp;数字大排在前面
            购买形式：<asp:DropDownList ID="cent_priceid" runat="server">
      <asp:ListItem Text="价格" Value="0"></asp:ListItem><asp:ListItem Text="积分" Value="1"></asp:ListItem>
          </asp:DropDownList></td>
    </tr>
             <tr>
              <td height="20"><div align="center">商品名称：</div></td>
              <td><asp:TextBox ID="product_name" runat="server" Width="300px" MaxLength="220"></asp:TextBox>
              &nbsp;商品编号：<asp:TextBox ID="product_no" runat="server" Width="150px" MaxLength="50"></asp:TextBox></td>
            </tr>
            <tr>
              <td height="20"><div align="center">是否首页显示：</div></td>
              <td><asp:DropDownList ID="index_showid" runat="server">
              <asp:ListItem Value="0" Text="否"></asp:ListItem><asp:ListItem Value="1" Text="是"></asp:ListItem>
              </asp:DropDownList>&nbsp;是否首页目录显示：<asp:DropDownList ID="catalog_showid" runat="server">
              <asp:ListItem Value="0" Text="否"></asp:ListItem><asp:ListItem Value="1" Text="是"></asp:ListItem>
              </asp:DropDownList>
              
              </td>
            </tr>
            <tr>
              <td height="20"><div align="center">seo标题：</div></td>
              <td><asp:TextBox ID="tag_title" runat="server" Width="500px" MaxLength="200"></asp:TextBox></td>
            </tr>
           <tr>
              <td height="20"><div align="center">seo关键字：</div></td>
              <td><asp:TextBox ID="tag_keywords" runat="server" Width="550px" MaxLength="200"></asp:TextBox></td>
            </tr>
            <tr>
              <td height="20"><div align="center">seo描述：</div></td>
              <td><asp:TextBox ID="tag_description" runat="server" Width="600px" MaxLength="220"></asp:TextBox></td>
            </tr>
             <tr>
              <td colspan="2"><asp:Literal ID="LiteralProductPara" runat="server"></asp:Literal></td>
            </tr>
             <tr>
              <td height="20"><div align="center">订购参数及图组：<br />至少上传一组图片</div></td>
              <td height="75">
              <iframe marginwidth="0" marginheight="0" src="prdparaimg.aspx?imageid=<%=imageid %>&catalogid=<%=catalogid %>&classsid=<%=classid %>" frameborder="no" width="800" scrolling="no" height="75"></iframe>
              </td>
            </tr>
               <tr>
              <td height="20"><div align="center">市场价：</div></td>
              <td><asp:TextBox ID="market_price" MaxLength="6" Width="80px" runat="server" onkeypress="if ((event.keyCode<48||event.keyCode>57) && event.keyCode!=46) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;销售价：<asp:TextBox ID="single_price" MaxLength="6" Width="80px" runat="server" onkeypress="if ((event.keyCode<48||event.keyCode>57) && event.keyCode!=46) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;性质价：<asp:TextBox ID="dynamic_price" MaxLength="6" Width="80px" runat="server" onkeypress="if ((event.keyCode<48||event.keyCode>57) && event.keyCode!=46) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;团购数量：<asp:TextBox ID="teambuy_count" MaxLength="6" Width="80px" runat="server" onkeypress="if ((event.keyCode<48||event.keyCode>57) && event.keyCode!=46) event.returnValue = false;" onpaste="return false;"></asp:TextBox>如是团购商品需折扣设置！
              </td>
            </tr>
             <tr>
              <td height="20"><div align="center">积分购买：</div></td>
              <td><asp:TextBox ID="product_cent" MaxLength="8" Width="80px" runat="server" onkeypress="if (event.keyCode<48||event.keyCode>57) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;性质积分：<asp:TextBox ID="product_cent1" MaxLength="8" Width="60px" runat="server" onkeypress="if (event.keyCode<48||event.keyCode>57) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;抢购到期日期：<asp:TextBox ID="panic_exptime" runat="server" Width="150px" MaxLength="30"></asp:TextBox>(是抢购商品必须填此项！)</td>
            </tr>
              <tr>
              <td height="20"><div align="center">折扣设置：</div></td>
              <td>买满1：<asp:TextBox ID="discount_count1" MaxLength="6" Width="50px" runat="server" onkeypress="if (event.keyCode<48||event.keyCode>57) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;折扣1：<asp:TextBox ID="discount_percent1" MaxLength="6" Width="50px" runat="server" onkeypress="if ((event.keyCode<48||event.keyCode>57) && event.keyCode!=46) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;买满2：<asp:TextBox ID="discount_count2" MaxLength="6" Width="50px" runat="server" onkeypress="if (event.keyCode<48||event.keyCode>57) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;折扣2：<asp:TextBox ID="discount_percent2" MaxLength="6" Width="50px" runat="server" onkeypress="if ((event.keyCode<48||event.keyCode>57) && event.keyCode!=46) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;买满3：<asp:TextBox ID="discount_count3" MaxLength="6" Width="50px" runat="server" onkeypress="if (event.keyCode<48||event.keyCode>57) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              &nbsp;折扣3：<asp:TextBox ID="discount_percent3" MaxLength="6" Width="50px" runat="server" onkeypress="if ((event.keyCode<48||event.keyCode>57) && event.keyCode!=46) event.returnValue = false;" onpaste="return false;"></asp:TextBox>
              </td>
            </tr>
             <tr>
              <td height="20"><div align="center">本商品套餐：</div></td>
              <td><input type="button" name="Button" value="选择套餐商品" onclick="javascript:window.open('selectpanic.aspx?packageid=1','_blank');" /><asp:TextBox ID="packageid_array" runat="server" Width="500px" MaxLength="220"></asp:TextBox>
              </td>
            </tr>
             <asp:Panel ID="Panel1" runat="server">
             <tr>
              <td height="20"><div align="center">手工关联商品：</div></td>
              <td>
              <input type="button" name="Button" value="选择关联商品" onclick="javascript:window.open('selectpanic.aspx?packageid=0','_blank');" /><asp:TextBox ID="connectiont_array" runat="server" Width="500px" MaxLength="220"></asp:TextBox>
              </td>
            </tr>
            </asp:Panel>
            <tr>
              <td height="20"><div align="center">商品文章关联：</div></td>
              <td>
              <input type="button" name="Button" value="选择关联文章" onclick="javascript:window.open('selectariticle.aspx','_blank');" /><asp:TextBox ID="articleid_array" runat="server" Width="500px" MaxLength="220"></asp:TextBox>
              </td>
            </tr>
             <tr>
              <td height="20"><div align="center">商品介绍：</div></td>
              <td><textarea name="WebEditorContent" id="WebEditorContent" style="display:none"><%=editorContent%></textarea>
    <script type="text/javascript" src="./editors.js"></script><script type="text/javascript" src="./editorico.js"></script></td>
            </tr>
    <tr> 
      <td><div align="center">
          商品缩略图：</div></td>
      <td><asp:FileUpload ID="FileUpload1" runat="server" />&nbsp;</td>
    </tr>
    <tr> 
      <td><div align="center">
          商品大图组：</div></td>
      <td><iframe marginwidth="0" marginheight="0" src="prdmaximg.aspx?imageid=<%=imageid %>" frameborder="no" width="700" scrolling="no" height="30"></iframe></td>
    </tr>
<tr> 
      <td>&nbsp;</td>
    <td height="20">&nbsp;<asp:Button ID="Button1" runat="server" OnClientClick="check(event);" Text="提交" OnClick="Button1_Click" />&nbsp;
    <asp:HiddenField ID="catalogid_" runat="server" /><asp:HiddenField ID="classid_" runat="server" /><asp:HiddenField ID="imageid_" runat="server" />
    </td>
  </tr>
</table>
    </div>
    <div class="cAuthour"><asp:Literal ID="Authour" runat="server"></asp:Literal></div>
    </form>
</body>
</html>