<!--#include file="conn.asp"-->
<%
  if session("admin")="" then
  response.redirect "admin_login.asp"
  else
	if session("flag")>1 then
		response.write "<br><p align=center>您没有操作的权限</p>"
		response.end
	end if
  end if
  %>
<% if request("type")=""then
response.write("<script language=""JavaScript"">alert(""请填写完整信息！"");history.go(-1)</script>")
response.end
end if %>
<%
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "Select * From type where t_id="&request("ID"),conn,1,3
rs.update
rs("type")=request("type")
rs.update
response.redirect "type.asp"%>