<!--#include file="../../conn/conn2.asp"-->
<!--#include file="../inc.asp"-->
<% 
if request("qizu")="edit" then

title=request.form("ml")
classid=request.form("classid")
conn.execute("update [aclass] set class='"&title&"' Where classID ="&classid&"" )
Response.Write("栏目修改成功<a href=admin_ml.asp>返回栏目页</a>")

end if

if request("qizu")="ml" then

title=request.form("ml")
conn.execute("insert into [aclass] (class) values('"&title&"')")
Response.Write("栏目添加成功<a href=admin_ml.asp>返回栏目页</a>")

end if
%>

<%
call CloseConn()
%>