
<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%call ling()
Call Head
call saycardd("添加文章栏目")
	class1=request("class1")
	cent=request("cent")
	downcent=request("downcent")
	if cent="" or isnumeric(cent)=False then
	cent=0
	end if
	if downcent="" or isnumeric(downcent)=False then
	downcent=0
	end if

        if class1="" then 
response.write "分类名称不能为空!<br/>"
response.write "<a href='tjwz.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回修改</a><br/>"
else
	set rs=server.createobject("adodb.recordset")
	sql="select * from wzclass" 
	rs.open sql,conn,2,3
	rs.addnew
	rs("class")=request("class1")
    rs("cent")=cent
    rs("pid")=downcent
	rs.update
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing

%>
文章栏目添加成功!
<%end if%>
<br/>----------<br/>
<a href='wzclass.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>[文章分类]</a><br/>

<a href="../index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a>
<%response.write""
call head3()%>
