
<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%call ling()
Call Head
call saycardd("文章分类修改")
dim id
id=request.querystring("id")
if id="" or IsNumeric(id) = False then
  Response.write "ID错误！"
  Response.write "<br/><anchor><prev/>返回</anchor>"
  call head3()
  Response.end
end if
set rs=server.createobject("adodb.recordset")
sql = "select * from wzclass where classid="&id
rs.open sql,conn,1,1
if rs.bof and rs.eof then
    	response.write "没有此类别！<br/>"
end if
if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""edwzclass.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"%>
修改文章栏目名称<br/>
<input name="class" maxlength="10" value="<%=rs("class")%>"/><br/>
查看文章收费<%=getcent%><br/>
<input name="cent" maxlength="10" value="<%=rs("cent")%>"/><br/>
下载文章收费<%=getcent%><br/>
<input name="downcent" maxlength="10" value="<%=rs("pid")%>"/><br/>
<input type="submit" name="Submit" value="确定提交"></form><br/>
<%else%>
修改文章栏目名称<br/>
<input name="class<%=tt%>" maxlength="10" value="<%=rs("class")%>"/><br/>
查看文章收费<%=getcent%><br/>
<input name="cent<%=tt%>" maxlength="10" value="<%=rs("cent")%>"/><br/>
下载文章收费<%=getcent%><br/>
<input name="downcent<%=tt%>" maxlength="10" value="<%=rs("pid")%>"/><br/>
<anchor>确认提交
    <go href="edwzclass.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
    <postfield name="class" value="$(class<%=tt%>)"/>
    <postfield name="cent" value="$(cent<%=tt%>)"/>
    <postfield name="downcent" value="$(downcent<%=tt%>)"/>
    </go>
</anchor><%end if%><br/>
提示：不收费请填写0
<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 head1()%>