<!--#include file=admin_conn.asp-->
<%
if request("news_flm")=""  then
response.write "<script LANGUAGE='javascript'>alert('请输入分类名！');history.go(-1);</script>"
response.End
end if
if request("news_px")="" then
response.write "<script LANGUAGE='javascript'>alert('请输入排序数！');history.go(-1);</script>"
response.End
end if
dim id 
id=request("id")
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open "SELECT  * From news_flm where id="&id ,conn,1,3
rs("news_flm")=request("news_flm")
rs("news_px")=request("news_px")
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.write "<script language='javascript'>"
response.write "alert('修改成功！');"
response.write "location.href='wzfl.asp';"			
response.write "</script>"
%>
 
