<!--#include file="top.asp" -->
<!--#include file="../md5.asp"-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180" valign="top" style="background:url(images/menu_1.jpg);background-repeat:no-repeat"><!--#include file="menu.asp" --></td>
<td valign="top" style="padding:5px">
<%dim action
action=request.QueryString("action")
select case action
case ""%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" class="proindex" style="padding-left:20px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><%response.write"<a href='index_pro.asp'>会员商品</a>"
if request("anclassid")<>"" then
set rs=server.createobject("adodb.recordset")
rs.open"select * from shop_anclass where anclassid="&request("anclassid")&" ",conn,1,1
if not rs.eof then
response.write" > <a href='index_pro.asp?anclassid="&rs("anclassid")&"'>"&rs("anclass")&"</a>"
end if
rs.close
if request("nclassid")<>"" then
rs.open"select * from shop_nclass where nclassid="&request("nclassid")&"",conn,1,1
if not rs.eof then
response.write" > <a href='index_pro.asp?anclassid="&rs("anclassid")&"&nclassid="&rs("nclassid")&"'>"&rs("nclass")&"</a>"
end if
rs.close
set rs=nothing
end if
end if%></td>
<td align="right"><a href="index_promore.asp?Uid=<%=request("Uid")%>">更多</a>...</td>
</tr>
</table></td>
</tr>
<tr>
<td><%set rs=server.createobject("adodb.recordset")
if request("Uid")<>"" then
rs.open"select top 10 * from price_user where userid="&request("Uid")&" order by datetime desc",conn,1,1
else
rs.open"select top 10 * from price_user order by datetime desc",conn,1,1
end if
response.write"<table border=0 cellspacing=0 cellpadding=3>"
response.write"<tr><td colspan=6 height=2></td></tr>"
while not rs.eof
response.write"<tr>"
response.write"<td width=22 bgcolor='#f7f7f7' align=center><a href='index_promore.asp'>更新产品</a></td>"

if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价-"&rs("money")&"元</font></td>"
rs.movenext
end if
if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价--"&rs("money")&"元</font></td>"
rs.movenext
end if
if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价--"&rs("money")&"元</font></td>"
rs.movenext
end if
if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价--"&rs("money")&"元</font></td>"
rs.movenext
end if
if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价--"&rs("money")&"元</font></td>"
response.write"</tr>"
rs.movenext
end if
wend
response.write"</table>"
rs.close
set rs=nothing%></td>
</tr>
<tr>
<td><%set rs1=server.createobject("adodb.recordset")
rs1.open"select distinct(anclassid),anclassid,datetime from price_user order by datetime desc",conn,1,1
if not rs1.eof then
i=0
do while not rs1.eof
set rs2=server.createobject("adodb.recordset")
rs2.open"select * from shop_anclass where anclassid="&rs1("anclassid")&"",conn,1,1
set rs=server.createobject("adodb.recordset")
if request("Uid")<>"" then
rs.open"select top 5 * from price_user where anclassid="&rs1("anclassid")&" and userid="&request("Uid")&" order by datetime desc",conn,1,1
else
rs.open"select top 5 * from price_user where anclassid="&rs1("anclassid")&" order by datetime desc",conn,1,1
end if
response.write"<table border=0 cellspacing=0 cellpadding=3>"
response.write"<tr><td colspan=6 height=2></td></tr>"
while not rs.eof
response.write"<tr>"
response.write"<td width=22 style='background:url(images/menu_3.jpg)' align=center><a href='index_promore.asp?anclassid="&rs2("anclassid")&"&Uid="&request("Uid")&"'>"&rs2("anclass")&"</a></td>"

if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价-"&rs("money")&"元</font></td>"
rs.movenext
end if
if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价--"&rs("money")&"元</font></td>"
rs.movenext
end if
if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价--"&rs("money")&"元</font></td>"
rs.movenext
end if
if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价--"&rs("money")&"元</font></td>"
rs.movenext
end if
if not rs.eof then
response.write"<td align=center><a href='productlist.asp?id="&rs("id")&"'><img src='../"&rs("pic")&"' height=90 width=110 class=img></a><br><br><b>"&rs("bookname")&"</b><br><font color=red>出价--"&rs("money")&"元</font></td>"
response.write"</tr>"
rs.movenext
end if
wend
response.write"</table>"
rs1.movenext
i=i+1
if i>=6 then exit do
loop
end if
rs.close
set rs=nothing
rs1.close
set rs1=nothing
rs2.close
set rs2=nothing%></td>
</tr>
</table>
<!--#include file="right.asp" -->
<%end select%></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="F1F1F1" style="border-top:1px solid #cccccc"><!--#include file="../copyright.asp" --></td>
</tr>
</table>