<!--#include file=CONN.ASP-->
<!--#include file=cookies.asp-->
<title>修改分类</title>
<link rel="stylesheet" type="text/css" href="../fox.CSS">
<style type=text/css>
BODY{
	margin:0px;
	FONT-SIZE: 12px;
	FONT-FAMILY: "宋体", "Verdana", "Arial", "Helvetica", "sans-serif";
	background-color: #CCCC99; 
	scrollbar-highlight-color: #CC9933; 
	scrollbar-arrow-color: #FFFFFF; 
	scrollbar-base-color: #CC9933
}
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#111111; text-decoration:none; }
a:hover { color:#384780;text-decoration:underline; }
.sec_menu { border-left:2px solid #CC3300; border-right:2px solid #CC3300; border-bottom:2px solid #CC3300; overflow:hidden; background:#ffffff; }
.menu_title {background-color: #335EA8;color: white;font-size: 12px;font-weight:bold;height: 25; }
.menu_title span { position:relative; top:2px; left:8px; color:#FFFF00; font-weight:bold; }
.menu_title2 {background-color: #335EA8;color: white;font-size: 12px;font-weight:bold;height: 25; }
.menu_title2 span { position:relative; top:2px; left:8px; color:#FEFEFE; font-weight:bold; }
input,select,Textarea{
font-family:宋体,Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
</style>

<body topmargin="0" leftmargin="0">
<div align="center">
  <center>
  <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#CCCCCC" width="325" height="68">
    <form action="fenlei_2editchk.asp?classid=<%=request("classid")%>" name="fox" method="POST">
    <tr>
    <td height="25" bgcolor="#BDBEDE" width="323">
    <p align="center">所属大类：
<select name="class1" size="1" style="font-size: 9pt">
<%
dim rs,sql,class1,fox,id
class1=request("class1")
set rs = Server.CreateObject("ADODB.RecordSet")
sql="select * from [FOX_class1] order by paixu desc" 
rs.open sql,conn,1,1
if rs.eof then
response.write "没有类别请添加！"
response.end
else
Do while not rs.eof
   id=cstr(rs("id"))
   if trim(request("class1"))=id then
      fox="selected"
   else
      fox=""
   end if
   response.write "<option " & fox & " value=" +  Cstr(rs("id")) + ">" + rs("class1") + "</option>"
   rs.MoveNext
Loop
end if
rs.close
set rs=nothing
closedb
%>
      </select>
    </td>
    </tr>
    <tr>
    <td height="25" style="border-bottom-style: none; border-bottom-width: medium" width="323">

<p align="center">分类名称：<input type="text" name="class2" size="19" value="<%=request("class2")%>"></p>

      </td>
    </tr>
    <tr>
      <td height="25" align="center" style="border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" width="323">
<p>排序数字：<input type="text" name="paixu" size="19" value="<%=request("paixu")%>"></td>
    </tr>
    <tr>
      <td width="323" height="25" style="border-top-style: none; border-top-width: medium">
<p align="center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<input type="submit" value="确认修改" name="B1" style="color: #000000; border: 0px solid #000000; background-color: #eeeeee"></td>
    </tr>
    </form>
  </table>
  </center>
</div>