<!--#include file="userCheck.asp"-->
<!--#include file="conn.asp"-->
<%
page = request.QueryString("page")
if page="" or isnumeric(page)=false then page=1

sql="select * from product where userId="& session("userId23") &" and fa_chuqiu = '求购' order by id desc"
rs.open sql,conn,1

if not rs.eof then
	page_size       = 15
	have            = 1
	rs.pagesize     = page_size
	rs.absolutePage = page
	recordCountNum  = rs.recordcount
else
	have = 0
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>会员管理中心</title>
<link href="css/comm.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="inc/showo_page.js" type="text/javascript"></script>
<style type="text/css">
a:link{color:#333333; text-decoration:none;}
a:visited{color:#333333; text-decoration:none;}
a:hover{color:#FF6600; text-decoration:none;}
</style>
</head>

<body>
<table width="910" border="0" align="center" cellpadding="0" cellspacing="0">
  
  <tr>
    <td height="2" colspan="2"><!--#include file="user_top.asp"--></td>
  </tr>
  <tr>
    <td width="178" style="border-right:dotted 1px #CCCCCC; background-color:#F8F8F6;" height="200" valign="top">
    <!--#include file="user_left.asp"-->
    </td>
    <td width="732" valign="top">
	  <div style=" margin-top:2px;">
	  <div style="font-weight:bold; text-align:center; line-height:30px;">求购信息管理&nbsp;<a href="user_buy.asp">添加</a></div>
<table width="100%" height="63" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ABABAB">
  <tr bgcolor="#dedede"> 
  <td>编号</td>
  <td>品牌型号</td>
  <td>欲购买价格</td>
  <td>发布日期</td>
  <td>审核</td>
  <td>修改</td>
</tr>
		<%
		dim i
		i = 1
		do while not rs.eof and i <= page_size
		%>
        <tr bgcolor="#FFFFFF">
          <td><%=rs("id")%></td>
          <td><%="<a href='view2Car.asp?id="& rs("id") &"' target='_blank'>"&exportpinp(rs("productSort"),"pinpaiandxinghao")&"</a>"%></td>
          <td><%=rs("qgprice")&"元"%></td>
          <td><%=rs("fa_time")%></td>
          <td><%if rs("fabu")=1 then response.Write "通过" else response.Write "待审核"%></td>
          <td><a href="user_buy.asp?action=xiugai&carId=<%=rs("id")%>">修改</a></td>
        </tr>
		<%
		i = i + 1
		rs.movenext
		loop
		rs.close
		%>
      </table>

<%if have = 1 then%>
<div><Script Language="JavaScript">
ShowoPage("<table style='BORDER-COLLAPSE: collapse' borderColor='#111111' height='10' cellSpacing='0' cellPadding='0' width='95%' border='0'><tr><td vAlign='bottom'  style='font-family: Verdana,宋体; font-size: 11.5px; line-height: 15px'>","</td></tr></table>","页次:<font color='red'>","</font>/","","&nbsp;","&nbsp;每页<font color='red'>","</font>&nbsp;","&nbsp;共计:<font color='red'>","</font></td><td vAlign='bottom' align='right'  style='font-family: Verdana,宋体; font-size: 11.5px; line-height: 15px'>","<font face=webdings>9</font>","<font face=webdings>7</font>","<font face=webdings>8</font>","<font face=webdings>:</font>","&nbsp;&nbsp;跳转:","<font color='orange'>[","]</font>","","","<font color='red'>","</font>","","",<%=recordCountNum%>,<%=page_size%>,4,"?p=parm1&<%=prm%>")
</Script></div>
<%end if%>

	  </div>
	  </td>
  </tr>
</table>
<table width="910" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="model_bottom.asp"--></td>
  </tr>
</table>

</body>
</html>