<%@ page language="C#" autoeventwireup="true" inherits="admin2_sp1a, GJ_YM" validaterequest="false" enableviewstatemac="false" enableEventValidation="false" %>
<%@ Register Src="spcz.ascx" TagName="spcz" TagPrefix="cz" %>
<head><title>无标题页</title></head><link href="css/yb.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/sbyk.js" ></script><script language="javascript" src="js/db.js" ></script>
<script  language="javascript">
var iu;
iu=0;
function cf0(id){
xz3(id);
var h1=document.getElementById("jp");
var h2=document.getElementById("xp");
var h3=document.getElementById("rm");
var h4=document.getElementById("jj");

var checkboxs1 = document.getElementById("jpy"); 
var checkboxs2 = document.getElementById("xpy"); 
var checkboxs3 = document.getElementById("rmy"); 
var checkboxs4 = document.getElementById("jjy");

if(checkboxs1.checked==true){h1.value=checkboxs1.value;}else{h1.value=0;}
if(checkboxs2.checked==true){h2.value=checkboxs2.value;}else{h2.value=0;}
if(checkboxs3.checked==true){h3.value=checkboxs3.value;}else{h3.value=0;}
if(checkboxs4.checked==true){h4.value=checkboxs4.value;}else{h4.value=0;}

sendRequest('sp1c.aspx');
}
</script>
<body>
<form id="form1" runat="server">
<input type="hidden" name="hid_xz" id="hid_xz" /><input type="hidden" name="hid_cz" id="hid_cz" />
<cz:spcz runat="server" id="ffff"/>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">
<tr style="background-color:#f2f2f2;"><td >
<div class="bt"><asp:label ID="btxs" runat="server" text="添加商品 "></asp:label>
<span style="margin-left:30px;font-weight:normal;"><a href="sp1.aspx">商品列表</a></span>
</div>
</td></tr></table>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">

 <tr style="background-color:#ffffff;"><td align="left" style="padding:8px;" valign="top">
标题：<asp:HiddenField ID="hid_bt" runat="server" />
<asp:TextBox ID="bt1" runat="server" Width="520px" ></asp:TextBox>
（商品名称/标题）<span style="color:Red;">*</span></td></tr></table>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">

<tr style="background-color:#ffffff;">
<td style="padding:8px;" colspan="2">
<table width="100%">
<tr>
<td width="25%">编号：<asp:TextBox ID="TextBox1" runat="server" Width="100px" ></asp:TextBox></td>
<td width="25%">市场价：<asp:TextBox ID="TextBox2" runat="server" Text="0" Width="60px"></asp:TextBox> 元（￥）</td>
<td width="25%">排序号：<asp:TextBox ID="TextBox3" runat="server" Text="0" Width="100px"></asp:TextBox></td>
<td width="25%">上&nbsp;&nbsp;&nbsp;&nbsp;架：<asp:DropDownList ID="DropDownList1" runat="server" Width="100px"></asp:DropDownList></td>
</tr>
<tr>
<td>库存：<asp:TextBox ID="TextBox4" runat="server" Text="0" Width="100px"></asp:TextBox></td>
<td>商城价：<asp:TextBox ID="TextBox5" runat="server" Text="0" Width="60px"></asp:TextBox> 元（￥）</td>
<td>点击数：<asp:TextBox ID="TextBox6" runat="server" Text="0" Width="100px"></asp:TextBox></td>
<td>购物券：<asp:DropDownList ID="DropDownList3" runat="server" Width="100px"></asp:DropDownList></td>
</tr>

<tr>
<td>品牌：<asp:TextBox ID="TextBox10" runat="server" Width="100px"></asp:TextBox></td>
<td colspan="3">
<asp:HiddenField ID="HiddenField1" runat="server" />
分&nbsp;&nbsp;&nbsp;&nbsp;类：<asp:TextBox ID="hrr" runat="server" Width="100px" onfocus="this.blur();"></asp:TextBox> <a href="javascript:showhr();">点击选择分类</a>&nbsp;&nbsp;&nbsp;&nbsp;
<input name="jpy" type="checkbox" id="jpy" value="1" /> 精品 <input type="hidden" name="jp" id="jp" />
<input name="xpy" type="checkbox" id="xpy" value="1" /> 新品 <input type="hidden" name="xp" id="xp" />
<input name="rmy" type="checkbox" id="rmy" value="1" /> 热销 <input type="hidden" name="rm" id="rm" />
<input name="jjy" type="checkbox" id="jjy" value="1" /> 降价 <input type="hidden" name="jj" id="jj" />
</td>

</tr>

<tr>
<td colspan="2">送达：<asp:TextBox ID="TextBox7" runat="server" Width="100px"></asp:TextBox>（该商品送达时间为，如1-2天）</td>
<td colspan="2">积&nbsp;&nbsp;&nbsp;&nbsp;分：<asp:TextBox ID="TextBox9" runat="server" Text="0" Width="100px"></asp:TextBox>（购买该商品可获得积分）</td>
</tr>
<tr>
<td colspan="2">运费：<asp:TextBox ID="TextBox11" runat="server" Width="100px" Text="0"></asp:TextBox> 元（￥）</td>
<td colspan="2">包&nbsp;&nbsp;&nbsp;&nbsp;邮：<asp:DropDownList ID="DropDownList5" runat="server" Width="100px"></asp:DropDownList>
</tr>

</table>
</td></tr>
 </table>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">
<tr style="background-color:#ffffff;"><td align="left" style="padding:8px;width:350px;" valign="top">标签：
<asp:TextBox ID="TextBox8" runat="server" Width="300px" TextMode="MultiLine" Height="65px" ></asp:TextBox> </td><td style="line-height:21px;">（商品标签，多个标签用逗号连接）<br />比如可以填写：爱情鲜花，玫瑰，传情花束，情人节<br />这样方便前台页面左侧的导购或导航设置检索商品</td></tr> 
</table>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-top:5px;">
<tr style="background-color:#f2f2f2;"><td >

<input id="Button1" type="button" value="添加" onclick="cf0('4');" style="width:80px;" onfocus="this.blur();" />
<input id="Button2" type="button" value="修改" onclick="cf0('5');" style="width:80px;" onfocus="this.blur();" />

</td></tr></table> 

<%=rfh()%>
<asp:Label ID="Label2" runat="server" Text=""></asp:Label>
<asp:Label ID="Label1" runat="server" Text=""></asp:Label>
</form>
</body>
