<!--#include file="Head.asp"-->

<!--#include file="Config.asp"-->
<!--#include file="admin.asp"-->
<%call saycardd("友链分类修改")
 dim rs,sql,id
id=request.querystring("id")
set rs=server.createobject("adodb.recordset")
sql = "select * from linkclass where classid="&id
rs.open sql,conn,1,1
if rs.bof and rs.eof then
    	response.write "没有此类别！<br/>"
else
if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""Editclasscl.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;id="&id&""">"%>
分类名称:<input name="class" value="<%=usb(rs("class"))%>" size="10"/><br/>
分类排序:<input name="pid" value="<%=rs("pid")%>" size="10"/><br/>
		分类换行:<select name="br" value="<%=rs("br")%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
分类名称:<input name="class<%=tt%>" value="<%=usb(rs("class"))%>" size="10"/><br/>
分类排序:<input name="pid<%=tt%>" value="<%=rs("pid")%>" size="10"/><br/>
		分类换行:<select name="br<%=tt%>" value="<%=rs("br")%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
<anchor>确认提交<go href="Editclasscl.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
<postfield name="class" value="$(class<%=tt%>)"/>
<postfield name="pid" value="$(pid<%=tt%>)"/>
<postfield name="br" value="$(br<%=tt%>)"/>
</go></anchor><br/><%end if%>
<%end if%><a href="Link_class.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[分类管理]</a><br/>
<a href='Admin_index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>[友链管理]</a><br/>
<a href="../index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a>
<%call headsay()
call ALLClose()%>



