<!--#include file="inc/config.asp"-->
<!--#include file="inc/ListPager.asp"-->
<!--#include file="inc/sub.asp"-->
<%
	'''''''本系统无限分类解决方案
H_title=request.QueryString("H_title")
Dim nTime : nTime = Timer()
Dim arrParam
arrParam = split(Request.QueryString("ListParam"), ",")
Dim conn, myListPager
Set conn = server.CreateObject("ADODB.Connection")
conn.open conndata
Set myListPager = new ListPager
with myListPager
	.Connection = conn
	.Table = "H_autoing"
	.PrimaryKey = "ID" 
	.Fields = "ID,H_pic,H_title,Rdate,H_Costs,UID" '显示字段
	.PageSize = 21
	if H_title<>"" then
	.AddWhere" H_title like'%"&H_title&"%' "
	end if
	.AddOrder "ID"," desc"
	.Cache = 10	
	.Init()
end with
%>
<!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><%=W_title%>,网站首页</title>
<meta name="keywords" content="<%=W_keywords%>" />
<meta name="description" content="<%=W_description%>" />
<link href="images/css.css" rel="stylesheet" type="text/css" /></head>
<body>
<!--#include file="top.asp"-->
<table width="950" height="10" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="728" align="left" valign="top"><table width="720" border="0" cellpadding="0" cellspacing="1" bgcolor="#FEDA6A" class="scaview3">
        <tr>
          <td valign="top" bgcolor="#FFFFFF"><!--==================-->
              <table width="720" border="0" cellspacing="0" cellpadding="5" align="center">
                <tr bgcolor="#EFEFEF">
                  <td width="481" height="12" align="left" bgcolor="#FEFAF4">汽车报价</td>
                  <td width="219" align="left" bgcolor="#FEFAF4">&nbsp;</td>
                </tr>
                <tr>
                  <td height="1" colspan="2" bgcolor="#E8E8E8"></td>
                </tr>
         
                <tr >
                  <td height="25" colspan="2" align="center">
				  
			
		  <table width="98%" height="30" border="0" align="center" cellpadding="0" cellspacing="0" style="padding-top:5px; padding-bottom:5px;">
        <tr>
			<%
					
					if myListPager.RecordCount>0 then
					Dim arrList,intList,i
					arrList = myListPager.GetRows()
					intList = Ubound(arrList,2)
					for i=0 to intList
					n=n+1
					H_name=conn.execute("select H_name from H_autoshop where Uid="&arrlist(5,i)&" ")("H_name")
%>

          <td width="138"><table width="220" height="75" border="0" cellpadding="0" cellspacing="0" class="miaobian">
                  <tr>
                    <td rowspan="4" align="center"><table width="80" height="61" border="0" cellpadding="0" cellspacing="1" bgcolor="#EBEBEB">
                      <tr>
                        <td bgcolor="#FFFFFF"><a href="auto_read.asp?id=<%=arrlist(0,i)%>" target="_blank"><img src="UpLoadUC/<%=arrlist(1,i)%>" width="74" height="55" /></a></td>
                      </tr>
                      
                    </table></td>
                    <td width="108" align="left"><strong><a href="auto_read.asp?id=<%=arrlist(0,i)%>" target="_blank"><%=left(arrlist(2,i),16)%></a></strong></td>
                  </tr>
                  <tr>
                    <td align="left"></td>
                  </tr>
                  <tr>
                    <td align="left"><font color="#993300"><%=arrlist(4,i)%></font></td>
                  </tr>
                  <tr>
                    <td align="left"><%=left(H_name,6)%></td>
                  </tr>
              </table></td>
		  <%
	if n mod 3=0 then response.write("</tr><tr>")
	next
				end if
				
	%>
        </tr>
      </table>
	  
	  
     			  </td>
                </tr>
                <tr>
                  <td height="4" colspan="2">
				  
				  

	<%
					with myListPager
							Response.Write("<script type=""text/javascript"" src=""../inc/styles/ListStyle.js""></script>")
							Response.Write("<script type=""text/javascript"">pageTurn(" & .RecordCount & ", " & .PageSize & ", " & .PageCount & ", " & .CurrentPage & ", """ & .QueryString & """);</script>")
					end with
					%>
				  
				  </td>
                </tr>
            </table></td>
        </tr>
      </table>
    </td>
    <td width="222" valign="top"><table width="222" border="0" cellpadding="0" cellspacing="1" bgcolor="#DDDDDD">
      <tr>
        <td height="24" align="center" bgcolor="#F5F5F5"><strong>搜索</strong></td>
      </tr>
      <tr>
        <td height="0" valign="top" bgcolor="#FFFFFF">
		
		
		
		<table width="210" border="0" align="center" cellpadding="0" cellspacing="0">
		<form action="pc_serach.asp"   target="_self">		
          <tr>
            <td height="30" colspan="2"><input name="H_title" type="text" id="H_title" value="输入产品名称" /></td>
            </tr>
          
          <tr>
            <td height="30" colspan="2"><input type="image"  src="images/loves.gif" style="border:0" /> </td>
            </tr>
			</form>
        </table>
		
		
		
		
		
		</td>
      </tr>
    </table>
      <table width="180" height="5" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td></td>
        </tr>
      </table>
      <table width="222" border="0" cellpadding="0" cellspacing="1" bgcolor="#DDDDDD">
        <tr>
          <td height="24" align="center" bgcolor="#F5F5F5"><strong>推荐报价</strong></td>
        </tr>
        <tr>
          <td height="0" valign="top" bgcolor="#FFFFFF"><table width="210" border="0" align="center" cellpadding="0" cellspacing="0">
		<%set rs=server.createobject("adodb.recordset")
sql="select top 6 id,H_title,H_Costs from H_autoing where H_Recommend=1 order by id desc "
rs.open sql,conn,1,1
if not rs.eof then
i=0
do while not rs.eof
i=i+1
%>
                <tr>
                  <td width="28"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" background="images/slidingTag1.gif">
                    <tr>
                      <td><font color="#FFFFFF"><%=i%></font></td>
                    </tr>
                  </table></td>
                  <td width="182" align="left"><a href="auto_read.asp?id=<%=rs("id")%>" target="_blank"><%=left(rs("H_title"),10)%></a> <font color="#FF9933"><%=rs("H_Costs")%></font> 
				  
				    </td>
                </tr>
           	   <%
		rs.movenext 
				loop
				rs.close
				end if
				%>   
          </table>
		  
		  
		  </td>
        </tr>
      </table>
      <table width="180" height="5" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td></td>
        </tr>
      </table>
      <table width="222" border="0" cellpadding="0" cellspacing="1" bgcolor="#DDDDDD">
        <tr>
          <td height="24" align="center" bgcolor="#F5F5F5"><strong>最新报价</strong></td>
        </tr>
        <tr>
          <td height="0" valign="top" bgcolor="#FFFFFF"><table width="210" border="0" align="center" cellpadding="0" cellspacing="0">
		<%set rs=server.createobject("adodb.recordset")
sql="select top 6 id,H_title,H_Costs from H_autoing order by id desc "
rs.open sql,conn,1,1
if not rs.eof then
i=0
do while not rs.eof
i=i+1
%>
                <tr>
                  <td width="28"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" background="images/slidingTag1.gif">
                    <tr>
                      <td><font color="#FFFFFF"><%=i%></font></td>
                    </tr>
                  </table></td>
                  <td width="182" align="left"><a href="auto_read.asp?id=<%=rs("id")%>" target="_blank"><%=left(rs("H_title"),10)%></a> <font color="#FF9933"><%=rs("H_Costs")%></font> 
				  
				    </td>
                </tr>
           	   <%
		rs.movenext 
				loop
				rs.close
				end if
				%>   
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="950" height="5" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<!--#include file="end.asp"-->
</body>
</html>
