<!--#include file="include/conn.asp"-->
<%
'无线级分类
Dim sWx
Set oRs = oConn.Execute("SELECT Id,ArrCont FROM [LstProCC] ORDER BY Id asc")
If Not oRs.EOF Then sWx= oRs.GetRows
Set oRs = Nothing

%>
<html>
<title>商品信息管理</title>
<head>
<link href="images/lst.css" rel="stylesheet" type="text/css" />
<script charset="utf-8" src="/editor/kindeditor.js"></script>
<script charset="utf-8" src="/editor/lang/zh_CN.js"></script>
<script type="text/javascript" src="Js/addpro.js"></script>
<script charset="utf-8" src="js/img1.js"></script>
<script charset="utf-8" src="js/img2.js"></script>
<%
dim rs
dim sql
dim count
dim conn
set rs=server.createobject("adodb.recordset")
sql = "select * from LstProCs order by ID asc"
rs.open sql,oconn,1,1
%>
<script language = "JavaScript">
var onecount;
subcat = new Array();
<%
count = 0
do while not rs.eof 
%>
subcat[<%=count%>] = new Array("<%= trim(rs("SmallName"))%>","<%= trim(rs("BigId"))%>","<%= trim(rs("Id"))%>");
<%
count = count + 1
rs.movenext
loop
rs.close
%>
onecount=<%=count%>;
function changelocation(locationid)
{
document.myform.SmallClassName.length = 1; 
var locationid=locationid;
var i;
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{ 
document.myform.SmallClassName.options[document.myform.SmallClassName.length] = new Option(subcat[i][0], subcat[i][2]);
}        
}
} 
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</script>
<%
dim rs3
dim sql3
dim count3
dim conn3
set rs3=server.createobject("adodb.recordset")
sql3 = "select * from LstProCss order by ID asc"
rs3.open sql3,oconn,1,1
%>
<script language = "JavaScript">
var onecount3;
subcat3 = new Array();
<%
count3 = 0
do while not rs3.eof 
%>
subcat3[<%=count3%>] = new Array("<%= trim(rs3("SmallName3"))%>","<%= trim(rs3("SmallId"))%>","<%= trim(rs3("Id"))%>");
<%
count3 = count3 + 1
rs3.movenext
loop
rs3.close
%>
onecount3=<%=count3%>;
function changelocation3(locationid3)
{
document.myform.SmallClassName3.length = 1; 
var locationid3=locationid3;
var i;
for (i=0;i < onecount3; i++)
{
if (subcat3[i][1] == locationid3)
{ 
document.myform.SmallClassName3.options[document.myform.SmallClassName3.length] = new Option(subcat3[i][0], subcat3[i][2]);
}        
}
} 
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</script>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<!----头文件---->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="17" height="29" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
<td height="29" valign="top" background="images/content-bg.gif">
<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2"><tr><td height="31"><div class="titlebt">商品管理</div></td></tr></table>
</td><td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29"/></td></tr>
<tr><td valign="middle" background="images/mail_leftbg.gif"></td>
<!------------------------------------------------------>
<td valign="top">
<table border="1" width="100%" cellpadding="2" style="border-collapse: collapse" bordercolor="#B5D0D9" bgcolor="#FFFFFF">
	<tr>
		<td>
		
		
		
		
<%if gaozhen="addppp" then%>


<form name="myform" action="?action=addproinfo" method=post>
<table border="1" width="100%" id="table3" cellspacing="3" cellpadding="3" style="border-collapse: collapse" bordercolor="#F6F6F6">
<tr>
<td height="30" align="right" width="165">产品分类：</td>
<td height="30" colspan="2">
<%
sql = "select * from LstProCb"
rs.open sql,oconn,1,1
if rs.eof and rs.bof then
	response.write "请先添加栏目。"
else
%>
<select name="BigClassName" onChange="changelocation(document.myform.BigClassName.options[document.myform.BigClassName.selectedIndex].value)" size="1">
<option selected value="<%=trim(rs("Id"))%>"><%=trim(rs("Bigname"))%></option>
<%
dim selclass
selclass=rs("Id")
rs.movenext
do while not rs.eof
%>
<option value="<%=trim(rs("Id"))%>"><%=trim(rs("Bigname"))%></option>
<%
rs.movenext
loop
end if
rs.close
%>
</select>
<select name="SmallClassName" onChange="changelocation3(document.myform.SmallClassName.options[document.myform.SmallClassName.selectedIndex].value)">
<option value="0" selected>不指定小类</option>
<%
sql="select * from LstProCs where BigId=" & selclass & ""
rs.open sql,oconn,1,1
if not(rs.eof and rs.bof) Then
Dim selclass3
selclass3=rs("Id")
%>
<option value="<%=rs("Id")%>"><%=rs("SmallName")%></option>
<%
rs.movenext
do while not rs.eof%>
<option value="<%=rs("Id")%>"><%=rs("SmallName")%></option>
<%
rs.movenext
loop
end if
rs.close
%>
</select>
<select name="SmallClassName3" >
<option value="0" selected>不指定三级</option>
<%
If selclass3="" Then selclass3=1
sql3="select * from LstProCss where SmallId=" & selclass3 & ""
rs3.open sql3,oconn,1,1
if not(rs3.eof and rs3.bof) then
%>
<option value="<%=rs3("Id")%>"><%=rs3("SmallName3")%></option>
<%
rs3.movenext
do while not rs3.eof%>
<option value="<%=rs3("Id")%>"><%=rs3("SmallName3")%></option>
<%
rs3.movenext
loop
end if
rs3.close
%>
</select></td>
</tr>
<tr>
<td height="30" align="right" width="165">无限级属性：</td>
<td height="30" colspan="2">




<%if Isarray(sWx) Then%>
<%for i=0 to UBound(sWx,2)%>
<select name="prowx">
<%
For k=0 To UBound(split(sWx(1,i),"|"))%>
<option value=<%=split(sWx(1,i),"|")(k)%>><%=split(sWx(1,i),"|")(k)%></option>
<%next%>
</select>
<%Next 
End if%>








</td>
</tr>
<tr>
<td height="30" align="right" width="165">产品名称：</td>
<td height="30" colspan="2"><input name="PTitle" value="" size="37"></td>
</tr>
<tr>
<td height="30" align="right" width="165">淘宝地址：</td>
<td height="30" colspan="2"><input name="ProTaobao" value="" size="37"> * 该商品在淘宝商城的地址。</td>
</tr>
<tr>
<td height="30" align="right" width="165">产品缩略图：</td>
<td height="30" width="21%"><input name="Images" value="" size="35"></td>
<td height="30" width="64%"><input type="button" id="image" value="选择图片" /></td>
</tr>
<tr>
<td height="30" align="right" width="165">产品编号：</td>
<td height="30" colspan="2"><input name="PNum" value="YUNAN20120630" size="20"> * 
产品的唯一编码</td>
</tr>
<tr>
<td height="30" align="right" width="165">库存量：</td>
<td height="30" colspan="2"><input name="PCun" value="100" size="8"> * 
多少库存量</td>
</tr>
<tr>
<td height="30" align="right" width="165">规格：</td>
<td height="30" colspan="2"><input name="PGe" value="芳香型" size="30"></td>
</tr>
<tr>
<td height="30" align="right" width="165">尺寸：</td>
<td height="30" colspan="2"><input name="PSize" value="L|XL|XXL" size="30"></td>
</tr>
<tr>
<td height="30" align="right" width="165">颜色：</td>
<td height="30" colspan="2"><input name="PColor" value="黑|白|紫|黄|蓝|军绿" size="30"> * 
以什么颜色为主，用“|”隔开。</td>
</tr>
<tr>
<td height="30" align="right" width="165">重量：</td>
<td height="30" colspan="2"><input name="ProKG" value="20克" size="15"> * 
请写上重量</td>
</tr>
<tr>
<td height="30" align="right" width="165">市场价格：</td>
<td height="30" colspan="2"><input name="PSmoney" value="0" size="10"> * 
直接输入数字即可</td>
</tr>
<tr>
<td height="30" align="right" width="165">会员价格：</td>
<td height="30" colspan="2"><input name="PHmoney" value="0"  onclick=this.value=Math.round(PSmoney.value*PZk.value*0.1)  size="10"></td>
</tr>
<tr>
<td height="30" align="right" width="165">价格范围：</td>
<td height="30" colspan="2"><select name="ProMoney">
<%if Isarray(Cmmm) Then%>
<%for i=0 to UBound(Cmmm,2)%>
<option value="<%=Cmmm(1,i)%>"><%=Cmmm(1,i)%></option>
<%Next 
End if%>
</select> * 选择价格范围.</td>
</tr>
<tr>
<td height="30" align="right" width="165">出自产地：</td>
<td height="30" colspan="2"><select name="ProRRR">
<%if Isarray(Crrr) Then%>
<%for i=0 to UBound(Crrr,2)%>
<option value="<%=Crrr(1,i)%>"><%=Crrr(1,i)%></option>
<%Next 
End if%>
</select> * 选择出自产地.</td>
</tr>
<tr>
<td height="30" align="right" width="165">所属品牌：</td>
<td height="30" colspan="2"><select name="ProPPP">
<%if Isarray(Cppp) Then%>
<%for i=0 to UBound(Cppp,2)%>
<option value="<%=Cppp(1,i)%>"><%=Cppp(1,i)%></option>
<%Next 
End if%>
</select> * 选择所属品牌.</td>
</tr>
<tr>
<td height="30" align="right" width="165">上架年份：</td>
<td height="30" colspan="2"><select name="ProYYY">
<%if Isarray(Cyyy) Then%>
<%for i=0 to UBound(Cyyy,2)%>
<option value="<%=Cyyy(1,i)%>"><%=Cyyy(1,i)%></option>
<%Next 
End if%>
</select> * 选择上架年份.</td>
</tr>
<tr>
<td height="30" align="right" width="165">折扣：</td>
<td height="30" colspan="2"><input name="PZk" value="10" size="5"> * 
直接输入数字,几折?10为不折扣。</td>
</tr>
<tr>
<td height="30" align="right" width="165">是否热销：</td>
<td height="30" colspan="2"><select name="ProHot">
<option value="0">非热销</option>
<option value="1">热销商品</option>
</select> * 是否热销,不选择,为不热销.</td>
</tr>
<tr>
<td height="30" align="right" width="165">是否推荐：</td>
<td height="30" colspan="2"><select name="ProTop">
<option value="0">非推荐</option>
<option value="1">推荐商品</option>
</select> * 是否推荐,不选择,为不推荐.</td>
</tr>
<tr>
<td height="30" align="right" width="165">是否特价：</td>
<td height="30" colspan="2"><select name="PTe">
<option value="0">非特价</option>
<option value="1">特价商品</option>
</select> * 是否特价,不选择,以下价格无效.</td>
</tr>
<tr>
<td height="30" align="right" width="165">特价价格：</td>
<td height="30" colspan="2"><input name="PTeMoney" value="0" size="15"> * 
直接输入数字即可.</td>
</tr>
<tr>
<td height="30" align="right" width="165">是否团购：</td>
<td height="30" colspan="2"><select name="PTuan">
<option value="0">非团购</option>
<option value="1">团购商品</option>
</select> * 是否团购,不选择,以下团购设置无效.</td>
</tr>
<tr>
<td height="30" align="right" width="165">团购图片：</td>
<td height="30"><input name="Images2" value="" size="35"></td>
<td height="30"><input type="button" id="image2" value="选择图片" /></td>
</tr>
<tr>
<td height="30" align="right" width="165">团购价格：</td>
<td height="30" colspan="2">
<input name="PTuanMoney" value="0" size="15"> * 
直接输入数字即可.</td>
</tr>
<tr>
<td height="30" align="right" width="165">团购描述：</td>
<td height="30" colspan="2">
<textarea class="input500" id="PTuanCont" name="PTuanCont" rows="6" cols="63"></textarea> 
* 团购的描述,务必保证100字左右.</td>
</tr>
<tr>
<td height="30" align="right" width="165">开始时间：</td>
<td height="30" colspan="2">
<input name="PTuanATime" value="<%=now()%>" size="30"></td>
</tr>
<tr>
<td height="30" align="right" width="165">结束时间：</td>
<td height="30" colspan="2">
<input name="PTuanEtime" value="<%=now()%>" size="30"></td>
</tr>
<tr>
<td height="30" align="right" width="165">详细介绍：<script>
var editor;
KindEditor.ready(function(K) {
editor = K.create('#PContent');
html = editor.html(); 
});
</script>
</td>
<td height="30" colspan="2">
<textarea class="input500" id="PContent" name="PContent" rows="20" cols="100"></textarea></td>
</tr>
<tr>
<td height="30" align="right" width="165">重要说明：<script>
var editor;
KindEditor.ready(function(K) {
editor = K.create('#PSming');
html = editor.html(); 
});
</script>
</td>
<td height="30" colspan="2">
<textarea class="input500" id="PSming" name="PSming" rows="20" cols="100"></textarea></td>
</tr>
<tr>
<td height="30" width="165">　</td>
<td height="30" colspan="2"><input type="submit" value="添加商品"></td>
</tr>
</table>
</form>		

<%end if%>		
<%if gaozhen="eddppp" then%>			
<%
Set oRs = server.CreateObject ("adodb.recordset")
sSql="select * from LstPro where Id="& Id
oRs.open sSql,oConn,1,1
%>			
<form name="myform" action="?action=eddproinfo&Id=<%=oRs("Id")%>" method=post>			
<table border="1" width="100%" id="table3" cellspacing="3" cellpadding="3" style="border-collapse: collapse" bordercolor="#F6F6F6">
<tr>
<td height="30" align="right" width="200">产品分类：</td>
<td height="30" colspan="2">
<%
sql = "select * from LstProCb"
rs.open sql,oconn,1,1
if rs.eof and rs.bof then
response.write "请先添加栏目。"
else
%>
<select name="BigClassName" onChange="changelocation(document.myform.BigClassName.options[document.myform.BigClassName.selectedIndex].value)" size="1">
<option value="<%=oRs("PBId")%>"><%=CLASSBNAME(oRs("PBId"))%></option>
<option value="0">选择分类</option>
<%
selclass=rs("Id")
rs.movenext
do while not rs.eof
%>
<option value="<%=trim(rs("Id"))%>"><%=trim(rs("Bigname"))%></option>
<%
rs.movenext
loop
end if
rs.close
%>
</select>
<select name="SmallClassName" onChange="changelocation3(document.myform.SmallClassName.options[document.myform.SmallClassName.selectedIndex].value)">
<option value="<%=oRs("PSId")%>"><%=CLASSSNAME(oRs("PSId"))%></option>
<option value="0">选择分类</option>
<%
sql="select * from LstProCs where BigId=" & selclass & ""
rs.open sql,oconn,1,1
if not(rs.eof and rs.bof) Then
selclass3=rs("Id")
%>
<option value="<%=rs("Id")%>"><%=rs("SmallName")%></option>
<%
rs.movenext
do while not rs.eof%>
<option value="<%=rs("Id")%>"><%=rs("SmallName")%></option>
<%
rs.movenext
loop
end if
rs.close
%>
</select>
<select name="SmallClassName3" >
<option value="<%=oRs("PSId3")%>"><%=CLASSSNAME3(oRs("PSId3"))%></option>
<option value="0">不指定三级</option>
<%
If selclass3="" Then selclass3=1
sql3="select * from LstProCss where SmallId=" & selclass3 & ""
rs3.open sql3,oconn,1,1
if not(rs3.eof and rs3.bof) then
%>
<option value="<%=rs3("Id")%>"><%=rs3("SmallName3")%></option>
<%
rs3.movenext
do while not rs3.eof%>
<option value="<%=rs3("Id")%>"><%=rs3("SmallName3")%></option>
<%
rs3.movenext
loop
end if
rs3.close
%>
</select>
</td>
</tr>


<tr>
<td height="30" align="right" width="165">目前分类：</td>
<td height="30" colspan="2">
<input type=hidden name="prowxold" value="<%=oRs("ProArrId")%>">
<%=oRs("ProArrId")%></td>
</tr>
<tr>
<td height="30" align="right" width="165">无限级属性：</td>
<td height="30" colspan="2">

<%if Isarray(sWx) Then%>
<%for i=0 to UBound(sWx,2)%>
<select name="prowx">
<option value="$$$">选择分类</option>
<%
For k=0 To UBound(split(sWx(1,i),"|"))%>

<option value=<%=split(sWx(1,i),"|")(k)%>><%=split(sWx(1,i),"|")(k)%></option>
<%next%>
</select>

<%Next 
End if%>

* 不更改不用选择






</td>
</tr>


<tr>
<td height="30" align="right" width="200">产品名称：</td>
<td height="30" colspan="2">
<input name="PTitle" value="<%=oRs("PTitle")%>" size="37"></td>
</tr>
<tr>
<td height="30" align="right" width="165">淘宝地址：</td>
<td height="30" colspan="2"><input name="ProTaobao" value="<%=oRs("ProTaobao")%>" size="37"> * 该商品在淘宝商城的地址。</td>
</tr>
<tr>
<td height="30" align="right" width="200">产品缩略图：</td>
<td height="30" width="21%">
<input name="Images" value="<%=oRs("PSmallPic")%>" size="35"></td>
<td height="30" width="63%">
<input type="button" id="image" value="选择图片" /></td>
</tr>
<tr>
<td height="30" align="right" width="200">产品编号：</td>
<td height="30" colspan="2">
<input name="PNum" value="<%=oRs("PNum")%>" size="20"></td>
</tr>
<tr>
<td height="30" align="right" width="200">库存量：</td>
<td height="30" colspan="2">
<input name="PCun" value="<%=oRs("PCun")%>" size="8"></td>
</tr>
<tr>
<td height="30" align="right" width="200">规格：</td>
<td height="30" colspan="2">
<input name="PGe" value="<%=oRs("PGe")%>" size="15"></td>
</tr>
<tr>
<td height="30" align="right" width="200">尺寸：</td>
<td height="30" colspan="2">
<input name="PSize" value="<%=oRs("PSize")%>" size="15"></td>
</tr>
<tr>
<td height="30" align="right" width="200">颜色：</td>
<td height="30" colspan="2">
<input name="PColor" value="<%=oRs("PColor")%>" size="15"></td>
</tr>
<tr>
<td height="30" align="right" width="165">重量：</td>
<td height="30" colspan="2"><input name="ProKG" value="<%=oRs("ProKG")%>" size="15"> * 
请写上重量</td>
</tr>
<tr>
<td height="30" align="right" width="200">市场价格：</td>
<td height="30" colspan="2">
<input name="PSmoney" value="<%=oRs("PSmoney")%>" size="10"></td>
</tr>
<tr>
<td height="30" align="right" width="200">会员价格：</td>
<td height="30" colspan="2">
<input name="PHmoney" value="<%=oRs("PHmoney")%>" onclick=this.value=Math.round(PSmoney.value*PZk.value*0.1) size="10"></td>
</tr>
<tr>
<td height="30" align="right" width="165">价格范围：</td>
<td height="30" colspan="2"><select name="ProMoney">
<option value="<%=oRs("ProMoney")%>"><%=oRs("ProMoney")%></option>
<%if Isarray(Cmmm) Then%>
<%for i=0 to UBound(Cmmm,2)%>
<option value="<%=Cmmm(1,i)%>"><%=Cmmm(1,i)%></option>
<%Next 
End if%>
</select> * 选择价格范围.</td>
</tr>
<tr>
<td height="30" align="right" width="165">出自产地：</td>
<td height="30" colspan="2"><select name="ProRRR">
<option value="<%=oRs("ProRRR")%>"><%=oRs("ProRRR")%></option>
<%if Isarray(Crrr) Then%>
<%for i=0 to UBound(Crrr,2)%>
<option value="<%=Crrr(1,i)%>"><%=Crrr(1,i)%></option>
<%Next 
End if%>
</select> * 选择出自产地.</td>
</tr>
<tr>
<td height="30" align="right" width="165">所属品牌：</td>
<td height="30" colspan="2"><select name="ProPPP">
<option value="<%=oRs("ProPPP")%>"><%=oRs("ProPPP")%></option>
<%if Isarray(Cppp) Then%>
<%for i=0 to UBound(Cppp,2)%>
<option value="<%=Cppp(1,i)%>"><%=Cppp(1,i)%></option>
<%Next 
End if%>
</select> * 选择所属品牌.</td>
</tr>
<tr>
<td height="30" align="right" width="165">上架年份：</td>
<td height="30" colspan="2"><select name="ProYYY">
<option value="<%=oRs("ProYYY")%>"><%=oRs("ProYYY")%></option>

<%if Isarray(Cyyy) Then%>
<%for i=0 to UBound(Cyyy,2)%>
<option value="<%=Cyyy(1,i)%>"><%=Cyyy(1,i)%></option>
<%Next 
End if%>
</select> * 选择上架年份.</td>
</tr>
<tr>
<td height="30" align="right" width="200">折扣：</td>
<td height="30" colspan="2">
<input name="PZk" value="<%=oRs("PZk")%>" size="5"></td>
</tr>
<tr>
<td height="30" align="right" width="165">是否推荐：</td>
<td height="30" colspan="2"><select name="ProTop">
<option value="<%=oRs("ProTop")%>"><%if oRs("ProTop")=0 then%>非推荐<%else%>推荐商品<%end if%></option>
<option value="0">非推荐</option>
<option value="1">推荐商品</option>
</select> * 是否推荐,不选择,为不推荐.</td>
</tr>
<tr>
<td height="30" align="right" width="165">是否热销：</td>
<td height="30" colspan="2"><select name="ProHot">
<option value="<%=oRs("ProHot")%>"><%if oRs("ProHot")=0 then%>非热销<%else%>热销商品<%end if%></option>
<option value="0">非热销</option>
<option value="1">热销商品</option>
</select> * 是否热销,不选择,为不热销.</td>
</tr>
<tr>
<td height="30" align="right" width="200">是否特价：</td>
<td height="30" colspan="2"><select name="PTe">
<option value="<%=oRs("PTe")%>"><%if oRs("PTe")=0 then%>非特价<%else%>特价商品<%end if%></option>
<option value="0">非特价</option>
<option value="1">特价商品</option>
</select> * 是否特价,不选择,以下价格无效.
</td>
</tr>

<tr>
<td height="30" align="right" width="200">特价价格：</td>
<td height="30" colspan="2">
<input name="PTeMoney" value="<%=oRs("PTeMoney")%>" size="15"></td>
</tr>
<tr>
<td height="30" align="right" width="200">是否团购：</td>
<td height="30" colspan="2"><select name="PTuan">
<option value="<%=oRs("PTuan")%>"><%if oRs("PTuan")=0 then%>非团购<%else%>团购商品<%end if%></option>
<option value="0">非团购</option>
<option value="1">团购商品</option>
</select></td>
</tr>
<tr>
<td height="30" align="right" width="200">团购图片：</td>
<td height="30">
<input name="Images2" value="<%=oRs("PTuanPic")%>" size="35"></td>
<td height="30">
<input type="button" id="image2" value="选择图片" /></td>
</tr>
<tr>
<td height="30" align="right" width="200">团购价格：</td>
<td height="30" colspan="2">
<input name="PTuanMoney" value="<%=oRs("PTuanMoney")%>" size="8"></td>
</tr>
<tr>
<td height="30" align="right" width="200">团购描述：</td>
<td height="30" colspan="2">
<textarea class="input500" id="PTuanCont" name="PTuanCont" rows="6" cols="63"><%=oRs("PTuanCont")%></textarea></td>
</tr>
<tr>
<td height="30" align="right" width="200">开始时间：</td>
<td height="30" colspan="2">
<input name="PTuanATime" value="<%=oRs("PTuanATime")%>" size="30"></td>
</tr>
<tr>
<td height="30" align="right" width="200">结束时间：</td>
<td height="30" colspan="2">
<input name="PTuanEtime" value="<%=oRs("PTuanEtime")%>" size="30"></td>
</tr>
<tr>
<td height="30" align="right" width="200">详细介绍：<script>
var editor;
KindEditor.ready(function(K) {
editor = K.create('#PContent');
html = editor.html(); 
});
</script>
</td>
<td height="30" colspan="2">
<textarea class="input500" id="PContent" name="PContent" rows="20" cols="100"><%=oRs("PContent")%></textarea></td>
</tr>
<tr>
<td height="30" align="right" width="200">重要说明：<script>
var editor;
KindEditor.ready(function(K) {
editor = K.create('#PSming');
html = editor.html(); 
});
</script>
</td>
<td height="30" colspan="2">
<textarea class="input500" id="PSming" name="PSming" rows="20" cols="100"><%=oRs("PSming")%></textarea></td>
</tr>
<tr>
<td height="30" width="200"></td>
<td height="30" colspan="2"><input type="submit" value="编辑商品"></td>
</tr>
</table>
</form>	
<%end if%>     
	
		
		
		
		
		
		</td>
	</tr>
</table>
</td>
<!------------------------------------------------------>
<!----尾文件---->
<td background="images/mail_rightbg.gif"></td></tr><tr>
<td valign="middle" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
<td height="17" valign="top" background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17" /></td>
<td background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td></tr>
</table>
</body>
</html>
<!--#include file="v.asp"-->