<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%call ling()
Call Head()
Call saycardd("文章分类")
%>
请选择要移动的分类:<br/>
<%id=int(request.QueryString("id"))
CLASSid=int(request.QueryString("CLASSid"))
	Set Rs = Server.CreateObject("Adodb.Recordset")
	Sql = "SELECT * from wzclass order by classid desc"
	Rs.Open Sql,conn,1,1
	If Not rs.eof	Then
	PageSize=10						
	Dim Count,page,pagecount,gopage,parent			
	gopage="move.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;"
	Count=rs.recordcount
	page=int(request.QueryString ("page"))
	if page<=0 or page="" then page=1		
	pagecount=(count+pagesize-1)\pagesize	
        if page>pagecount then page=pagecount	
	rs.move(pagesize*(page-1))				
	For i=1 To PageSize       						
	If rs.eof Then Exit For				
%><a href="wzmove.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;classid=<%=rs("classid")%>&amp;saytk=<%=saytk%>"><%=ubb(rs("class"))%></a><br/>
<%     
	rs.moveNext
  								
	Next
	if page-pagecount<0 then response.write "<a href="""&gopage&"page="&page+1&""">下页</a>"
	if page>1 then response.write "<a href="""&gopage&"page="&page-1&""">上页</a>"
	if pagecount>1 then response.write "<br/><b>"&page&"</b>/"&pagecount&"页"
if saytk=1 then
response.write "<input name=""page"" format=""*N"" value="""&page&""" type=""text"" maxlength=""5"" emptyok=""true"" size=""3""/><a href="""&gopage&"page=$(page)"">>></a>"
end if
Else
%>
	(没有栏目)

<%end if%><br/>
<a href="adminsmscl.asp?sid=<%=sid%>&amp;id=<%=classid%>&amp;saytk=<%=saytk%>">[文章列表]</a><br/>
<a href="wzclass.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[文章分类]</a><br/>
<a href="index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[文章管理]</a><br/>
<a href="../index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a>
<%call head3()%>