<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%Call Head()
dim idd
 idd=request.querystring("idd")
  if idd="" or Isnumeric(idd)=False then
  Call Error("<card title=""出错""><p>ID无效！")
  end if
    dim bigclass
	Set Rs = Server.CreateObject("Adodb.Recordset")
	rs.open "SELECT name from xzCLASS Where id="&idd,conn,1,1
	if not rs.eof then
bigclass=rs("name")
end if
rs.close
set rs=nothing
%>

<%
call saycarda(""&bigclass&"平台")

	Set Rs = Server.CreateObject("Adodb.Recordset")
	Sql = "SELECT PTname,id,Classid,ptphone from symbian Where classid="&idd&" order by pid asc"
	Rs.Open Sql,conn,1,1
	If Not rs.eof	Then
	PageSize=10					
	Dim Count,page,pagecount,gopage,parent			
	gopage="symbian.asp?saytk="&saytk&"&amp;sid="&sid&"&amp;idd="&idd&"&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				
%><%=i+(page-1)*PageSize%>.<%=ubb(rs("ptname"))%><br/>型号:<%=ubb(rs("ptphone"))%><br/>
[<a href="symbianedit.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;idd=<%=idd%>&amp;id=<%=rs("id")%>">编辑</a>]
[<a href="symbiandel.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;idd=<%=idd%>&amp;id=<%=rs("id")%>">删除</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&"页<input name=""page"" format=""*N"" value="""&page&""" type=""text"" maxlength=""5"" emptyok=""true"" size=""3""/><a href="""&gopage&"page=$(page)"">>></a>"
Else
%>
	(没有添加平台)

<%end if
rs.close
set rs=nothing
conn.close
set conn=nothing%>
<br/>--------<br/>
<a href='symbianadd.asp?idd=<%=idd%>&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>'>[添加平台]</a><br/>
<a href='wjdl.asp?idd=<%=idd%>&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>'>[返回上级]</a><br/>
<a href='wjclass.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>'>[文件大类]</a><br/>
<a href='wjcl.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>'>[文件管理]</a><br/>
<a href="../index.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">[后台管理]</a>
<%call headsay()%>