<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<%titlename="竞拍中商品"%>
<body onLoad="show(A71),show(A72)">
<!--#include file="top.asp"-->
<!--#include file="../include/page.asp"-->
<html><head>
<meta http-equiv=Content-Type content='text/html; charset=gb2312'>
<link href="/include/css.css" rel="stylesheet" type="text/css">
<title><%=my_name%>-----会员中心</title>
<%hy "login.asp"%>
<table width="772" border="0" cellspacing="0" cellpadding="0"  align=center >
  <tr>
    <td height="22" colspan="3" align="left">您的位置： <A href="../index.asp">首页</A> &gt;&gt; <a href="index.asp">会员中心</a>
    &nbsp;&gt;&gt; <font color="#000000" span class="C">您参与竞拍的商品</font></td>
  </tr>
  <tr>
   <td width="150" align="left" valign="top">
	<!--#include file="left.asp" -->   </td>
   <td width="5">&nbsp;</td>
   <td align="left" valign="top" width="600">

	<table border=0 cellpadding=0 cellspacing=0 width="100%">
	  <tr class=td>
	 	<td>


  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td><table border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
            <td width="120" align="center" background="../images/mytaobaobj1_4.gif"><font color="#FFFFFF" span class="C">已经结束的竞拍&nbsp;</font></td>
            <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
          </tr>
        </table><table border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td width="1"><IMG SRC="../images/mytaobaobj1_8.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
    <td width="120" align="center" background="../images/mytaobaobj1_9.gif"><span class="STYLE1"><a href="buying1.asp">竞拍中的商品</a><a href="?"></a></span></td>
    <td width="1"><IMG SRC="../images/mytaobaobj1_11.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
  </tr>
</table>
          </td>
    </tr>
  </table>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="4" bgcolor="1E88C1"></td>
    </tr>
  </table>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="5"></td>
    </tr>
  </table>
  <!--#include file="../include/page.asp"-->
  <table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
    <tr bgcolor="#efefef"> 
      <td width="172" height="21" align="center" background="../image/bk.gif">竞标商品</td>
            <td width="99" height="21" align="center" background="../image/bk.gif">成交价</td>
            <td width="75" height="21" align="center" background="../image/bk.gif">投标金额</td>
            <td width="50" height="21" align="center" background="../image/bk.gif">状态</td>
            <td width="150" height="21" align="center" background="../image/bk.gif">结束时间</td>
        </tr>
  <%
Set rs=Server.CreateObject("ADODB.Recordset")
sql="select id,pid,huiyuan,enddate,jg,sj,ok from paimai where huiyuan='"&Request.Cookies(Rikee)("huiyuan")&"' and datediff('n',ENDDATE,now())>1  order by sj asc"
rs.open sql,conn,3,1 
  if rs.eof then
  response.write "<tr><td colspan=5 align=center bgcolor=white height=21 valgin=bottom >您没有参加过竟拍！</td></tr>"
  else	
page1("10")
i=1
do while not rs.eof and i<=rs.pagesize%>
    <tr bgcolor="#FFFFFF"> 
      <td height="22">&nbsp;<a href="../merchandise.asp?id=<%=encode(rs("pid"))%>" target="_blank"><%=conn.execute("select mc from chanpin where id="&rs("pid")&"")(0)%></a></td>
            <td width="99" align="center"><%=conn.execute("select max(jg) from paimai where pid="&rs("pid")&"")(0)%>元</td>
            <td width="75" height="22" align="center"><%=rs("jg")%>元</td>
            <td width="50" height="22" align="center"><%if rs("ok")<>0 then Response.Write("中标") else Response.Write("出局")%></td>
            <td width="150" height="22" align="center"><%=rs("sj")%></td>
        </tr><%i=i+1
		   rs.movenext
           loop
		    
		   %>
		   <TR>
		   	<TD height="21" colspan="5" align="right" background="../image/bk1.gif"  bgcolor="efefef"><%page2("abc=paimai&")
	
	 rs.close
                   set rs=Nothing
				   end if
				   %>
		   	  &nbsp;&nbsp; </td>
		   </TR>
    </table>
		</td>
	   </tr>
	</table>   </td>
  </tr>
</table><br><br>
<!-- #include file="../bottom.asp" -->
