<!--#include file="conn.asp"-->
<!--#include file="denlu.asp"-->
<%
id=request("id")
set rec=server.createobject("adodb.recordset")
rec.open "select * from cbgl where id="&id,conn,3
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel=stylesheet type="text/css" href="js/css.css">
<script language="JavaScript" src="js/whir.js"></script>
<link rel=stylesheet type="text/css" href="js/media.css">
<link rel=stylesheet type="text/css" href="js/form_media.css">
<title>无标题文档</title>
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
</head>

<script language=javascript>
function aa() {

if (document.form3.cbxn.value=="")
	{
	  alert("请选择产品类别！")
	  document.form3.cbxn.focus()
	  return false
	 }
if (document.form3.jxmc.value=="")
	{
	  alert("请输入产品名称！")
	  document.form3.jxmc.focus()
	  return false
	 }
 
if (document.form3.fbtime.value=="")
	{
	  alert("请选择发布日期！")
	  document.form3.fbtime.focus()
	  return false
	 }
}
</script>	
<body leftmargin="0" topmargin="0">
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="35"><font color="#FF0000">当前位置：产品数据库 -> 产品修改</font><font color="#FF0000">　　</font>（带“<font color="#FF0000">*</font>”为必填项） </td>
  </tr>
</table>
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
    <TR> 
      <TD HEIGHT="1" COLSPAN="2" BGCOLOR="#4E6A82"></TD>
    </TR>


  <form action="cbgl_modiok.asp" method="post" name="form3" onsubmit="return aa()">
    <tr>
      <td height="30" colspan="2" align="right">&nbsp;</td>
    </tr>
    <tr>
      <td width="35%" height="25" align="right">产品类别：</td>
      <td height="25">
<%
set rs1=server.createobject("adodb.recordset")          
rs1.open "select * from productsort where levels=0 order by orderid",conn,3
%>
<select name="cbxn" id="cbxn" style="background-color: rgb();font-size: 9pt;border:1px double rgb(255,255,255);width:200px;">
  <%
set rs=server.createobject("adodb.recordset")          
rs.open "select * from productsort where levels=0 order by orderid",conn,3
if rs.bof and rs.eof then
%>
  <option value="">暂无产品类别！</option>
  <%else%>
  <option value="" selected>请选择产品类别!</option>
  <%										
for i=0 to rs.recordcount-1
if rs.eof then
exit for
end if
%>
  <option value="<%=rs("id")%>" <%if rec("ssxn")=rs("id") then%>selected<%end if%>><%=rs("SortName")%></option>
<%
rs.movenext
next
end if
%>
</select>
<span class="style1">*</span>
</td>
    </tr>
    <tr> 
      <td height="25" align="right">产品名称（中文）：</td>
      <td height="25"> <input name="jxmc" type="text" class="text" id="jxmc" value="<%=rec("jxmc")%>" size="34" maxlength="50">
        <span class="style1">*</span> </td>
    </tr>
    <tr align="center">
      <td height="25"><div align="right">产品名称（英文）：</div></td>
      <td height="25">
        <div align="left">
          <input name="jxmc_eng" type="text" class="text" id="jxmc_eng" value="<%=rec("jxmc_eng")%>" size="34" maxlength="100">
        </div></td>
    </tr>
    <tr>
      <td height="25" align="right">主要成份（中文）：</td>
      <td height="25"><input name="cf" type="text" class="text" id="cf" value="<%=rec("cf")%>" size="40" maxlength="50"></td>
    </tr>
    <tr>
      <td height="25" align="right">主要成份（英文）：</td>
      <td height="25"><input name="cf_eng" type="text" class="text" id="cf_eng" value="<%=rec("cf_eng")%>" size="40" maxlength="100"></td>
    </tr>
    <tr>
      <td height="25" align="right">包装（中文）：</td>
      <td height="25"><input name="bz" type="text" class="text" id="bz" value="<%=rec("bz")%>" size="40" maxlength="50"></td>
    </tr>
    <tr>
      <td height="25" align="right">包装（英文）：</td>
      <td height="25"><input name="bz_eng" type="text" class="text" id="bz_eng" value="<%=rec("bz_eng")%>" size="40" maxlength="100"></td>
    </tr>
    <tr>
      <td height="25" align="right">光泽（中文）：</td>
      <td height="25"><input name="gz" type="text" class="text" id="gz" value="<%=rec("gz")%>" size="40" maxlength="50"></td>
    </tr>
    <tr>
      <td height="25" align="right">光泽（英文）：</td>
      <td height="25"><input name="gz_eng" type="text" class="text" id="gz_eng" value="<%=rec("gz_eng")%>" size="40" maxlength="100"></td>
    </tr>
    <tr>
      <td height="25" align="right">性能（中文）：</td>
      <td height="25"><input name="xn" type="text" class="text" id="xn" value="<%=rec("xn")%>" size="40" maxlength="50"></td>
    </tr>
    <tr>
      <td height="25" align="right">性能（英文）：</td>
      <td height="25"><input name="xn_eng" type="text" class="text" id="xn_eng" value="<%=rec("xn_eng")%>" size="40" maxlength="100"></td>
    </tr>
    <tr>
      <td height="25"  align="center" colspan="2">产品描述（中文）：</td>
    </tr>
    <tr>
      <td height="25" colspan="2" align="center"><textarea name="sy" class="css" style="display:'none'" cols="6" rows="2"><%=rec("sy")%></textarea>
            <IFRAME NAME=EditBox ID="eWebEditor" src="edit/ewebeditor.htm?id=sy" frameborder="0" scrolling="no" width="550" height="350"></IFRAME></td>
    </tr>	
    <tr>
      <td height="25"  align="center" colspan="2">产品描述（英文）：</td>
    </tr>
    <tr>
      <td height="25" colspan="2"  align="center"><textarea name="sy_eng" class="css" style="display:'none'" cols="6" rows="2"><%=rec("sy_eng")%></textarea>
            <IFRAME NAME=EditBox ID="eWebEditor" src="edit/ewebeditor.htm?id=sy_eng" frameborder="0" scrolling="no" width="550" height="350"></IFRAME></td>
    </tr>	
    <tr align="center">
      <td height="25"><div align="right">发布时间：</div></td>
      <td height="25"><div align="left">
        <input name="fbtime" type="text" id="fbtime" size="30" maxlength="25" class="text" value="<%=rec("fbtime")%>" onFocus="setday(this)" readonly>
        <span class="style1">*</span> </div></td>
    </tr>
    <tr> 
      <td height="45" colspan="2" align="center">
			 <input type="hidden" value="<%=request("topage")%>" name="topage" id="topage">
             <input type="hidden" value="<%=request("id")%>" name="id" id="id">			 
             <input name="imageField" type="image" src="images/modi.gif" width="72" height="21" border="0">	    　 <img src="images/back.jpg" width="72" height="21" onclick="javascript:history.go(-1)"> </td>
    </tr>
  </form>
</table>
</body>
</html>
