<!--#include file="conn.asp" -->
<% adm_power_page=3 '分配本页的用户访问权限 %>
<!--#include file="admin_dn.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>:::管理页面:::</title>
<link href="css.css" rel="stylesheet" type="text/css">
<% 
if Trim(Request.QueryString("w"))="save" then
  rs.open "select * from paget_2 where id="&request("id"),conn,2,3
  rs("bm")=request("bm")
  rs("title")=request("title")
  rs("body")=replace(request("body"),vbcrlf,"<br>")
  rs("je1")=request("je1")
  rs("je2")=request("je2")
  rs("je3")=request("je3")
   rs("je4")=request("je4")
  rs("je5")=request("je5")
  rs.update
 rs.close

 %>
 <script language="VBScript" type="text/VBScript">
msgbox "小类修改成功!!!!"
</script>


 
<%  
end if 
%>
</head>

<body leftmargin="2" topmargin="0">
<p>修改小类别:</p>
<% 
rs.open "select * from paget_2 where id="&request("id"),conn,1,1
if not rs.eof then

 %>
<form name="form1" method="post" action="adm_13_x1.asp?w=save">
  <table width="90%" height="276" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#F0F9FF"> 
      <td height="18" colspan="2"><font color="#000099"><strong><img src="images/agent12.gif" width="14" height="14"> 
        小类修改</strong></font></td>
    </tr>
    <tr> 
      <td width="19%" height="23">所属大类：</td>
      <td width="81%"> <input name="id" type="hidden" id="id" value="<%=Request("id")%>"> 
        <input name="dl" type="hidden" id="dl" value="<%=request(title)%>">
        <%= rs("dl") %></td>
    </tr>
    <tr> 
      <td height="23">产品编号：</td>
      <td><input name="bm" type="text" id="bm" value="<%=rs("bm")%>" size="15"></td>
    </tr>
    <tr> 
      <td height="25">产品名称：</td>
      <td><input name="title" type="text" id="title" value="<%=rs("title")%>"></td>
    </tr>
    <tr> 
      <td>产品介绍：</td>
      <td><textarea name="body" cols="40" rows="5" id="body"><%=rs("body")%></textarea></td>
    </tr>
    <tr> 
      <td>产品价格1：</td>
      <td><input name="je1" type="text" id="je1" value="<%=rs("je1")%>" size="10">
        元/年 <font color="#FF0000">只能为数字</font> </td>
    </tr>
    <tr> 
      <td height="24">产品价格2：</td>
      <td><input name="je2" type="text" id="je2" value="<%=rs("je2")%>" size="10">
        元/年 <font color="#FF0000">只能为数字</font> </td>
    </tr>
    <tr> 
      <td>产品价格3：</td>
      <td><input name="je3" type="text" id="je3" value="<%=rs("je3")%>" size="10">
        元/年 <font color="#FF0000">只能为数字</font> </td>
    </tr>
    <tr> 
      <td>产品价格4：</td>
      <td><input name="je4" type="text" id="je4" value="<%=rs("je4")%>" size="10">
        元/年<font color="#FF0000"> 只能为数字</font></td>
    </tr>
    <tr> 
      <td>产品价格5：</td>
      <td><input name="je5" type="text" id="je5" value="<%=rs("je5")%>" size="10">
        元/年<font color="#FF0000"> 只能为数字</font></td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
      <td><p>&nbsp;</p>
        <p> 
          <input type="submit" name="Submit" value="修改">
        </p>
        <p>&nbsp;</p></td>
    </tr>
  </table>
</form>
<div align="center">
  <% else
Response.Write("参数有误")
end if
rs.close
 %>
  [<a href="adm_13_edit.asp">返回管理页</a>] </div>
<p>&nbsp; </p>
</body>
</html>
