<!--#include file="../here99login/0.asp"--><!--#include file="../conn/zkconn.asp" -->
<html>
<head>
<title>编辑类别</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" href="../css/css.css" type="text/css">
</head>
<script language="javascript">
<!--
   function check() {
       if (form1.newTitle.value == "")
       {
	   alert("请填写类别名称");
	   form1.newTitle.focus();
	   return false;	   
	   }
       return true;
    }
//-->
</script>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%
Select case Request("action")
	case "Aedit"
%>
<% sql="select * from lb where lbid="&request("id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%> 

<form method="POST" action="ok-xiugai-lb.asp?action=step1" align="center" onsubmit="return check();" name="form1">
  <input type="hidden" name="id" value="<%=Request("id")%>">
  <table width="100%" cellspacing="0" cellpadding="3" align="center">
    <tr align="center">
      <td><font color="#FF3333">&gt;&gt;编辑大类别</font></td>
    </tr>
    <tr align="center"> 
      <td>
        <p>类别名称： 
          <input type="text" name="newTitle" size="20" class=wenbenkuang value="<%=rs("lbname")%>">
          <input type="submit" value="修改" class="go-wenbenkuang" name="B3">
      </td>
    </tr>
  </table>
</form>
<%Case "Nedit"%>
<% sql="select * from xlb where xlbid="&request("id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<form method="POST" action="ok-xiugai-lb.asp?action=step2" align="center" onsubmit="return check();" name="form1">
  <input type="hidden" name="id" value="<%=Request("id")%>">
  <table width="100%" cellspacing="0" cellpadding="3" align="center">
    <tr align="center">
      <td><font color="#FF3333">&gt;&gt;编辑小类别</font></td>
    </tr>
    <tr align="center"> 
      <td>
        <p>类别名称：
          <input type="text" name="newTitle" size="20" class=wenbenkuang value="<%=rs("xlbname")%>">
          <input type="submit" value="修改" class="go-wenbenkuang" name="B3">
      </td>
    </tr>
  </table>
</form>
<%Case "sedit"%>
<% sql="select * from slb where slbid="&request("id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<form method="POST" action="ok-xiugai-lb.asp?action=step3" align="center" onsubmit="return check();" name="form1">
  <input type="hidden" name="id" value="<%=Request("id")%>">
  <table width="100%" cellspacing="0" cellpadding="3" align="center">
    <tr align="center">
      <td><font color="#FF3333">&gt;&gt;编辑小类别</font></td>
    </tr>
    <tr align="center"> 
      <td>
        <p>类别名称：
          <input type="text" name="newTitle" size="20" class=wenbenkuang value="<%=rs("slbname")%>">
          <input type="submit" value="修改" class="go-wenbenkuang" name="B3">
      </td>
    </tr>
  </table>
</form>
<%End Select%>
<div align="center">
  <input type="button" name="button" value="关闭窗口" OnClick="Javascript:window.close();" class="go-wenbenkuang">
</div>
</body>
</html>
<% rs.close
set rs=nothing%>
