%
Dim cid,str
cid=RequestQueryNum("cid")
If cid=1 Then
str="音乐"
ElseIf cid=2 then
str="视频"
ElseIf cid=3 Then
str="FLASH"
End If
%>
多媒体
<%=str%>
<%
If cid<>0 Then
Call more()
Else
Call show()
End If
%>
<%
Sub more()
%>
<%
If cid<>0 Then
sql="Select * From multimedia Where categoryid="& cid
Set mypage=new xdownpage '创建对象
mypage.getconn=conn '得到数据库连接
mypage.getsql=sql
mypage.pagesize=20 '设置每一页的记录条数据为5条
set rs=mypage.getrs() '返回Recordset
for i=1 to mypage.pagesize
If rs.eof Then
Response.Write "