<body bgcolor="#FFFFFF" text="#000000">
<%id=request("id")
a=split(id,",")
if id="" then
%>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" align="center">没有任何选中的记录!</td>
</tr>
<tr>
<td height="30" align="center"><a href="javascript:history.back(-1)">返回</a></td>
</tr>
</table>
<%else%>
<table width="600" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#CCCC99">
<tr>
<td align="center" height="64">
<table border="0" cellspacing="0" cellpadding="0" >
<tr>
<% row_count=1
for i=0 to request("id").count-1
set rs=server.createobject("adodb.recordset")
sql="select * from collection where id="&a(i)&""
rs.open sql,conn,1,1
class_2=rs("class_2")
age=rs("age")
set rs_1=server.createobject("adodb.recordset")
sql_1="select * from collect_pic where class_2='"&class_2&"' and age='"&age&"'"
rs_1.open sql_1,conn,1,1
response.write rs_1("class_2")
do while not rs_1.eof
%>
<td width="250" align="center"><br><%=rs_1("class_2")%><%=rs_1("age")%>的藏品<img src="<%=rs_1("collect_pic")%>" border="1"><br>
<br>
</td>
<td width="10"></td>
<%if row_count mod 2=0 then%>
</tr>
<tr>
<%end if %>
<%rs_1.movenext
row_count=row_count+1
loop
next
end if
%>
</tr>
</table>
</td>
</tr>
<tr>
</tr>
</table>
</body>
</html>