<!--#include file="pysjzx_conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>-首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="<%=keyword%>" name="keywords">
<meta content="<%=description%>" name="description">
<LINK href="css/style.css" rel=stylesheet type=text/css>
</head>
<!--#include file="webhead.asp"-->
<SCRIPT language=javaScript>
<!--
function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)) { 
		src.bgColor = clrOver; 
	}
}
function mOut(src,clrIn)  { 
	if (!src.contains(event.toElement)) { 
		src.bgColor = clrIn; 
	}
} 
//-->
</SCRIPT>
	<div align="center">
	<table border="0" width="780" style="border-collapse: collapse" cellpadding="0">
		<tr>
			<td width=185 valign="top" >
						<div align="center"><!--#include file="in_ad.asp"-->
							<table border="0" width="100%">
								<tr>
									<td height=5></td>
								</tr>
							</table>
						<table class="shishi" cellSpacing="0" cellPadding="0" width="191" bgColor="#f1f1f1" border="0">
							<tr>
								<td vAlign="center" align="middle" height=25>
								&nbsp;[<a target="_blank"  style="text-decoration: none; color: #000000" href="<%=ad1701url%>"><%=ad1701name%></a>] 
										</td>
							</tr>
						</table>
								</div>
			
			</td>
			<td width="410" valign="top" >
			<div align="center">
				<table border="0" width="98%" cellspacing="0" cellpadding="0">
					<tr>
						<td>
						<div align="center">
						<table class="shishi" cellSpacing="0" cellPadding="0" width="395" bgColor="#f1f1f1" border="0">
							<tr>
								<td vAlign="center" align="middle">
								<table class="text" cellSpacing="0" cellPadding="0" width="337" border="0">
									<tr>
										<td vAlign="center" align="middle" width="326">
										<font class="px14"><strong>
										<a target="_blank"  style="text-decoration: none; color: #000000" href="<%=ad1702url%>">
										<font color="#ff0000"><%=ad1702name%></font></a></strong></font></td>
									</tr>
								</table>
								<table class="text" cellSpacing="0" cellPadding="4" width="346" border="0">
									<tr>
										<td vAlign="center" align="middle">[<a target="_blank"  style="text-decoration: none; color: #000000" href="<%=ad1703url%>"><%=ad1703name%></a>] 
										[<a target="_blank"  style="text-decoration: none; color: #000000" href="<%=ad1704url%>"><font color="#000000"><%=ad1704name%></font></a>] 
										[<a target="_blank"  style="text-decoration: none; color: #000000" href="<%=ad1705url%>"><font color="#000000"><%=ad1705name%></font></a>] 
										</td>
									</tr>
								</table>
								</td>
							</tr>
						</table>
								</div>
								<table border="0" width="100%" cellspacing="0">
									<tr>
										<td height=5></td>
									</tr>
						</table>
								<table class="tb5" cellSpacing="0" cellPadding="0" width="395" align="center" border="0">
									<tr>
										<td style="font-size: 12px; color: #000000; padding: 1px" width="25">
										<table height="100" cellSpacing="0" cellPadding="0" width="23" align="center" bgColor="#dadada" border="0">
											<tr>
												<td style="line-height: 150%; font-size: 12px; color: #000000; padding-top: 10px; padding-bottom: 10px" align="middle">
												<%
      set rs2=server.createobject("adodb.recordset")
		rs2.Open "select * from newsclass where classorder=1",conn,1,1
       if rs2.eof then
       response.write "该类已删除"
       else
       classid=rs2("id")
       response.write "<a href=news.asp?class="&rs2("id")&">"&rs2("class")&"</a>"
       end if
  %></td>
											</tr>
										</table>
										</td>
										<td class="list" style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px" vAlign="top">
										<table class="aneirong" cellSpacing="2" cellPadding="0" width="100%" border="0">
											<%
												Set rs= Server.CreateObject("ADODB.Recordset")
												sql="select top 5 newsname,newsid,class,adddate,class from news where class="&classid&"  order by adddate desc"
												rs.open sql,conn,1,1
												do while not rs.eof
												%>
											<tr>
												<td height="16" style="font-size: 12px; color: #000000">
												<img height="7" src="images/b008.gif" width="6">
												<a class="aneirong" target="_blank" href="news_list.asp?id=<%=rs("newsid")%>">
												<%=(rs("newsname"))%></a>(<%
												py_month="0"&month(rs("adddate"))
												response.write  right(py_month,2)
												%>/<%
												py_day="0"&day(rs("adddate"))
												response.write right(py_day,2)
												%>)</td>
											</tr>
											<%
											rs.movenext
					loop
					rs.close
					set rs=nothing

											%>
											</table>
										</td>
									</tr>
								</table>
								<table class="tb4" cellSpacing="0" cellPadding="0" width="395" align="center" border="0">
									<tr>
										<td style="font-size: 12px; color: #000000; padding: 1px" width="25">
										<table height="100" cellSpacing="0" cellPadding="0" width="23" align="center" bgColor="#dadada" border="0">
											<tr>
												<td style="line-height: 150%; font-size: 12px; color: #000000; padding-top: 10px; padding-bottom: 10px" align="middle">
												<%
												     set rs2=server.createobject("adodb.recordset")
		rs2.Open "select * from newsclass where classorder=2",conn,1,1
       if rs2.eof then
       response.write "该类已删除"
       else
       classid=rs2("id")
       response.write "<a href=news.asp?class="&rs2("id")&">"&rs2("class")&"</a>"
       end if
												%></td>
											</tr>
										</table>
										</td>
										<td class="list" style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px" vAlign="top">
										<table class="aneirong" cellSpacing="2" cellPadding="0" width="100%" border="0">
											<%
												Set rs= Server.CreateObject("ADODB.Recordset")
												sql="select top 5 newsname,newsid,class,adddate,class from news where class="&classid&"  order by adddate desc"
												rs.open sql,conn,1,1
												do while not rs.eof
												%>
											<tr>
												<td height="16" style="font-size: 12px; color: #000000">
												<img height="7" src="images/b008.gif" width="6">
												<a class="aneirong" target="_blank" href="news_list.asp?id=<%=rs("newsid")%>">
												<%=(rs("newsname"))%></a>(<%
												py_month="0"&month(rs("adddate"))
												response.write  right(py_month,2)
												%>/<%
												py_day="0"&day(rs("adddate"))
												response.write right(py_day,2)
												%>)</td>
											</tr>
											<%
											rs.movenext
					loop
					rs.close
					set rs=nothing

											%>
											</table>
										</td>
									</tr>
								</table>
								<table border="0" width="100%" cellspacing="0">
									<tr>
										<td height=5></td>
									</tr>
						</table>
						<table border="0" width="100%" cellspacing="0" cellpadding="0">
							<tr>
								<td>
								<p align="center">
									<%if ad1802class=0 then%>
			<table cellSpacing="1" cellPadding="0" width="95" bgColor="#cccccc" border="0">
			<tr>
				<td style="FONT-SIZE: 12px; COLOR: #293d05" bgColor="#ffffff" height="30">
				<table cellSpacing="1" cellPadding="0" width="400" bgColor="#ffffff" border="0">
					<tr>
						<td style="FONT-SIZE: 12px; COLOR: #293d05" bgColor="#ffffff" height="69">
						<a target="_blank" href="<%=ad1802url%>">
			<img  alt="<%=ad1802name%>" src="<%=ad1802%>"  border="0" width=395 height=85></a></td>
					</tr>
				</table>
				</td>
			</tr>
		</table><%else%>
		<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="395" height="85">
	<param name="movie" value="<%=ad1802%>">
	<param name="quality" value="High">
	<embed src="<%=ad1802%>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="395" height="85"></object>
	<%end if
	%></td>
							</tr>
						</table>
						</td>
					</tr>
			
					</table>
			</div>
			</td>
			<td width=185 valign="top" ><!--#include file="in_ad2.asp"--></td>
		</tr>
	</table>
	<table border="0" width="780">
		<tr>
			<td>
					<%if ad1803class=0 then%>
			<table cellSpacing="1" cellPadding="0" width="95" bgColor="#cccccc" border="0">
			<tr>
				<td style="FONT-SIZE: 12px; COLOR: #293d05" bgColor="#ffffff" height="30">
				<table cellSpacing="1" cellPadding="0" width="780" bgColor="#ffffff" border="0">
					<tr>
						<td style="FONT-SIZE: 12px; COLOR: #293d05" bgColor="#ffffff" height="88">
						<a target="_blank" href="<%=ad1803url%>">
			<img  alt="<%=ad1803name%>" src="<%=ad1803%>"  border="0" width=780 height=88></a></td>
					</tr>
				</table>
				</td>
			</tr>
		</table><%else%>
		<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="780" height="88">
	<param name="movie" value="<%=ad1803%>">
	<param name="quality" value="High">
	<embed src="<%=ad1803%>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="780" height="88"></object>
	<%end if
	%></td>
		</tr>
	</table>
</div>
<div align="center">
<table border="0" width="780" cellspacing="0">
	<tr>
		<td valign="top">
		<table  width="100%" cellspacing="0" cellpadding="0" class="tb6">
			<tr>
				<td>
				<table border="0" width="100%" cellspacing="0" >
					<tr>
						<td ><table border="0" width="100%" cellspacing="0">
							<tr>
								<td style="font-size: 12px; color: #000000; padding-top: 2px; padding-bottom: 2px" bgcolor="#DADADA" >　<span lang="zh-cn">报</span>&nbsp;
								<span lang="zh-cn">价</span></td>
								<td style=" font-size: 12px; color: #000000; padding-top: 2px; padding-bottom: 2px" width="65" bgcolor="#DADADA" >　<a href="price.asp">more</a></td>
							</tr>
						</table>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>

		<table cellSpacing="1" cellPadding="0" width="100%" border="0">
			<tr align="middle">
				<td width="18%" bgColor="#EFEFEF" height="19">品 牌</td>
				<td width="35%" bgColor="#EFEFEF">型 号</td>
				<td width="16%" bgColor="#EFEFEF">价格(元)</td>
				<td width="21%" bgColor="#EFEFEF">经销商</td>
				<td width="10%" bgColor="#EFEFEF">订</td>
			</tr>
			<%
			  set rs=server.createobject("adodb.recordset")
sql="select top 13 id,model,adddate,province,price,city,estate,anclass,nclass,attop,topadddate,username from price where estate=1  order by adddate desc"
rs.open sql,conn,1,1
do while not rs.eof
if rs("attop")=1 then
color="<font color='#FF0000'>"
elseif rs("attop")=2 then
color="<font color='#008080'>"
else
color="<font color='#000000'>"
end if
			%>
			<tr bgColor="#efefef" onmouseout="mOut(this,'#efefef');" onmouseover="mOvr(this,'#FFD28E');">
				<td vAlign="center" align="middle" height="19" >
					<%=color%>
				<%set rs2=server.createobject("adodb.recordset")
									rs2.open "select * from anclass where anclassid="&rs("anclass"),conn,1,1
									if rs2.recordcount>0 then
									response.write rs2("anclass")
									end if
									rs2.close
									%></td>
				<td align="center"  height="19"><p align="center"><a   href="price_list.asp?id=<%=rs("id")%>"><%=color%>
				<%=rs("model")%></font></a></td>
				<td  align="middle" ><%=color%>
				<%=rs("price")%></td>
				<td align="middle"   height="19">
<%
  color2=""
  if rs("username") <>"" then
				set rs4=server.createobject("adodb.recordset")
sql4="select company,username,userid,sort,reglx from pysjzx_user  where username='"&rs("username")&"'"
rs4.open sql4,conn,1,1
if not rs4.eof then
if rs4("reglx")=2 then
color2="<font color='#008080'>"
end if
if rs4("sort")=2 then
response.write "<a href=dealer_list.asp?id="&rs4("userid")&" target=_blank>"&color2&rs4("company")&"</a>"
end if
rs4.close
else
response.write "该经销商已删除"
end if
else
response.write "<font color='#ff0000'>本站发布</font>"
end if
%></td>
				<td align="middle"  height="19">
				<a href="javascript:winopen1('order.asp?id=<%=rs("id")%>')">
				<%=color%>
				订</a></td>
			</tr>
		
					<%
			  rs.movenext
              loop
              rs.close
              set rs=nothing
	
			%>
			</table>
		</td>
		<td width=250><table cellSpacing="0" cellPadding="0" width="100%" border="0"><%set rs=server.CreateObject("adodb.recordset")
rs.Open "select  * from pysjzx_user where sort=2 and reglx=2 order by adddate desc ",conn,1,1
%>
			<tr><%
				j_1=int((rs.recordcount+1)/2)
			if j_1>6 then 
			j_1=6
			end if
			for j_count=1 to j_1%>
				<td vAlign="top" width="50%"><%
			if  not rs.eof then%>
				<table style="BORDER-BOTTOM: #bdbdbd 1px dashed" cellSpacing="1" cellPadding="0" border="0">
					<tr>
						<td class="down-line" align="left" width="78"><%if rs("logo") <>"" then%><a title="<%=rs("company")%>" href="dealer_list.asp?id=<%=rs("userid")%>"><img height="40" src="<%=rs("logo")%>" width="70" border="0"></a>
							<%end if%></td>
						<td class="down-line" width="68">
						<a title="<%=rs("company")%>" href="dealer_list.asp?id=<%=rs("userid")%>">
							<%=rs("company")%></a></td>
					</tr>
				</table>
				<%
				rs.movenext
				end if%>
				</td>
			
 		<td vAlign="top" width="50%"><%
			if  not rs.eof then%>
				<table style="BORDER-BOTTOM: #bdbdbd 1px dashed" cellSpacing="1" cellPadding="0" border="0">
					<tr>
						<td class="down-line" align="left" width="78"><%if rs("logo") <>"" then%><a title="<%=rs("company")%>" href="dealer_list.asp?id=<%=rs("userid")%>"><img height="40" src="<%=rs("logo")%>" width="70" border="0"></a>
							<%end if%></td>
						<td class="down-line" width="68">
						<a title="<%=rs("company")%>" href="dealer_list.asp?id=<%=rs("userid")%>">
							<%=rs("company")%></a><br>
						<br>
						<%rs("tel")%></td>
					</tr>
				</table>
				<%
				rs.movenext
				end if%>
				</td>

			</tr><%next
						%>
		</table>
		</td>
	</tr>
</table>
	<table border="0" width="780">
		<tr>
			<td>
					<%if ad1804class=0 then%>
			<table cellSpacing="1" cellPadding="0" width="95" bgColor="#cccccc" border="0">
			<tr>
				<td style="FONT-SIZE: 12px; COLOR: #293d05" bgColor="#ffffff" height="30">
				<table cellSpacing="1" cellPadding="0" width="780" bgColor="#ffffff" border="0">
					<tr>
						<td style="FONT-SIZE: 12px; COLOR: #293d05" bgColor="#ffffff" height="88">
						<a target="_blank" href="<%=ad1804url%>">
			<img  alt="<%=ad1804name%>" src="<%=ad1804%>"  border="0" width=780 height=88></a></td>
					</tr>
				</table>
				</td>
			</tr>
		</table><%else%>
		<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj2" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="780" height="88">
	<param name="movie" value="<%=ad1804%>">
	<param name="quality" value="High">
	<embed src="<%=ad1804%>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj2" width="780" height="88"></object>
	<%end if
	%></td>
		</tr>
	</table>
<table border="0" width="780" cellspacing="0">
	<tr>
		<td valign="top">
		<table  width="100%" cellspacing="0" cellpadding="0" class="tb6">
			<tr>
				<td>
				<table border="0" width="100%" cellspacing="0" >
					<tr>
						<td ><table border="0" width="100%" cellspacing="0">
							<tr>
								<td style="font-size: 12px; color: #000000; padding-top: 2px; padding-bottom: 2px" bgcolor="#DADADA" >
								　 二<span lang="en-us"> </span>手<span lang="en-us">
								</span>车</td>
								<td style=" font-size: 12px; color: #000000; padding-top: 2px; padding-bottom: 2px" width="65" bgcolor="#DADADA" >　<a href="second_hand.asp">more</a></td>
							</tr>
						</table>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>

		<table cellSpacing="1" cellPadding="0" width="100%" border="0">
			<tr align="middle">
				<td width="18%" bgColor="#EFEFEF" height="19">品 牌</td>
				<td width="35%" bgColor="#EFEFEF">型 号</td>
				<td width="16%" bgColor="#EFEFEF">价格(元)</td>
				<td width="21%" bgColor="#EFEFEF">经销商</td>
				<td width="10%" bgColor="#EFEFEF">日期</td>
			</tr><%
         set rs=server.createobject("adodb.recordset")
sql="select top 14 id,model,adddate,province,sell_price,city,estate,anclass,nclass,attop,topadddate,username from second_hand where estate=1  order by adddate desc"
rs.open sql,conn,1,1
do while not rs.eof
if rs("attop")=1 then
color="<font color='#FF0000'>"
elseif rs("attop")=2 then
color="<font color='#008080'>"
else
color="<font color='#000000'>"
end if
            %>
			<tr bgColor="#efefef" onmouseout="mOut(this,'#efefef');" onmouseover="mOvr(this,'#FFD28E');">
				<td vAlign="center" align="middle"  height="19" >
			<%=color%>
				<%set rs2=server.createobject("adodb.recordset")
									rs2.open "select * from anclass where anclassid="&rs("anclass"),conn,1,1
									if rs2.recordcount>0 then
									response.write rs2("anclass")
									end if
									rs2.close
									%></td>
				<td align="center"  height="19" >
				<a   href="second_hand_list.asp?id=<%=rs("id")%>">
				<%=color%>
	<%
				if len(trim(rs("model"))) >= 28 then
				response.write left(trim(rs("model")),26)&".."
				else
				response.write trim(rs("model"))
				end if
				%></a></td>
				<td  align="middle"  >
				<%=color%>
	<%if rs("sell_price") =0 then
				response.write "面议"
				else
				response.write rs("sell_price")
				end if
				%></td>
				<td align="middle"  height="19"><%
 color2=""
   if rs("username") <>"" then
				set rs4=server.createobject("adodb.recordset")
sql4="select company,username,userid,sort,reglx,linkname from pysjzx_user  where username='"&rs("username")&"'"
rs4.open sql4,conn,1,1
if not rs4.eof then
if rs4("reglx")=2 then
color2="<font color='#008080'>"
end if
if rs4("sort")=2 then
response.write "<a href=dealer_list.asp?id="&rs4("userid")&" target=_blank>"&color2&rs4("company")&"</a>"
end if
if rs4("sort")=1 then
response.write "<a href=dealer_list.asp?id="&rs4("userid")&" target=_blank>"&color&rs4("linkname")&"</a>"
end if
rs4.close
else
response.write "该经销商已删除"
end if
else
response.write "<font color='#ff0000'>本站发布</font>"
end if
%></td>
				<td align="middle" width="66" height="19">
				<%=color%>
				<%if rs("attop")=1 then%>
				<%=right("0"&month(rs("topadddate")),2)%>-<%=right("0"&day(rs("topadddate")),2)%>
				<%elseif rs("attop")=2 then%>
				<%else%>
	<%=right("0"&month(rs("adddate")),2)%>-<%=right("0"&day(rs("adddate")),2)%>
	<%end if%></td>
			</tr>
			<%
			  rs.movenext
              loop
              rs.close
              set rs=nothing
			%>
		</table>
		</td>
		<td width=250 valign=top>
		<%set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top  4  *  from [second_hand]  where estate=1 and commend=1  order by adddate desc  ",conn,1,1
		  do while not rs.eof 
%>
		<table height="80" cellSpacing="0" cellPadding="0" width="100%" border="0">
			<tr>
				<td height="25" rowSpan="4" width="114">
				<p align="center">
				<a   href="second_hand_list.asp?id=<%=rs("id")%>">
								<img height="60" src="<%=rs("pic")%>" width="100" border="1" style="border: 1px solid #000000"></a>
				</td>
				<td height="20">品牌：<%set rs2=server.createobject("adodb.recordset")
									rs2.open "select * from anclass where anclassid="&rs("anclass"),conn,1,1
									if rs2.recordcount>0 then
									response.write rs2("anclass")
									end if
									rs2.close
									%></td>
			</tr>
			<tr>
				<td height="15">型号：<a   href="second_hand_list.asp?id=<%=rs("id")%>"><%
				if len(trim(rs("model"))) >= 10 then
				response.write left(trim(rs("model")),8)&".."
				else
				response.write trim(rs("model"))
				end if
				%></a></td>
			</tr>
			<tr>
				<td height="15">价格：<%if rs("sell_price") =0 then
				response.write "面议"
				else
				response.write rs("sell_price")
				end if
				%></td>
			</tr>
			<tr>
				<td height="18">地点：<%set rs2=server.createobject("adodb.recordset")
									rs2.open "select * from province where shengNo="&rs("province"),conn,1,1
									if rs2.recordcount>0 then
									response.write rs2("shengname")
									shengid=rs2("id")
									else
									response.write "不限"
									end if
									rs2.close
									%></td>
			</tr>
			<tr>
				<td align="right" bgColor="#cccccc" height="1" colspan="2"></td>
			</tr>
		</table>
		<%rs.movenext
		loop
		rs.close
		%>
		</td>
	</tr>
</table>
	<table border="0" width="780">
		<tr>
			<td>
					<%if ad1805class=0 then%>
			<table cellSpacing="1" cellPadding="0" width="95" bgColor="#cccccc" border="0">
			<tr>
				<td style="FONT-SIZE: 12px; COLOR: #293d05" bgColor="#ffffff" height="30">
				<table cellSpacing="1" cellPadding="0" width="780" bgColor="#ffffff" border="0">
					<tr>
						<td style="FONT-SIZE: 12px; COLOR: #293d05" bgColor="#ffffff" height="88">
						<a target="_blank" href="<%=ad1805url%>">
			<img  alt="<%=ad1805name%>" src="<%=ad1805%>"  border="0" width=780 height=88></a></td>
					</tr>
				</table>
				</td>
			</tr>
		</table><%else%>
		<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj3" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="780" height="88">
	<param name="movie" value="<%=ad1805%>">
	<param name="quality" value="High">
	<embed src="<%=ad1805%>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj3" width="780" height="88"></object>
	<%end if
	%></td>
		</tr>
	</table>
<table border="0" width="780" cellspacing="0">
	<tr>
		<td valign="top">
		<table  width="100%" cellspacing="0" cellpadding="0" class="tb6">
			<tr>
				<td>
				<table border="0" width="100%" cellspacing="0" >
					<tr>
						<td ><table border="0" width="100%" cellspacing="0">
							<tr>
								<td style="font-size: 12px; color: #000000; padding-top: 2px; padding-bottom: 2px" bgcolor="#DADADA" >
								　 租<span lang="en-us"> </span>赁<span lang="en-us">
								</span>车</td>
								<td style=" font-size: 12px; color: #000000; padding-top: 2px; padding-bottom: 2px" width="65" bgcolor="#DADADA" >　<a href="lease.asp">more</a></td>
							</tr>
						</table>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>

		<table cellSpacing="1" cellPadding="0" width="100%" border="0">
			<tr align="middle">
				<td width="18%" bgColor="#EFEFEF" height="19">品 牌</td>
				<td width="35%" bgColor="#EFEFEF">型 号</td>
				<td width="13%" bgColor="#EFEFEF">日租价(元)</td>
				<td width="13%" bgColor="#EFEFEF">月租价<span lang="en-us">(</span>元<span lang="en-us">)</span></td>
				<td width="21%" bgColor="#EFEFEF">经销商</td>
			</tr><%
         set rs=server.createobject("adodb.recordset")
sql="select top 14 id,model,adddate,province,day_lease_price,month_lease_price,city,estate,anclass,nclass,attop,topadddate,username from lease where estate=1  order by adddate desc"
rs.open sql,conn,1,1
do while not rs.eof
if rs("attop")=1 then
color="<font color='#FF0000'>"
elseif rs("attop")=2 then
color="<font color='#008080'>"
else
color="<font color='#000000'>"
end if
            %>
			<tr  bgColor="#efefef" onmouseout="mOut(this,'#efefef');" onmouseover="mOvr(this,'#FFD28E');">
				<td vAlign="center" align="middle" height="19" >
			<%=color%>
				<%set rs2=server.createobject("adodb.recordset")
									rs2.open "select * from anclass where anclassid="&rs("anclass"),conn,1,1
									if rs2.recordcount>0 then
									response.write rs2("anclass")
									end if
									rs2.close
									%></td>
				<td align="center"  height="19" >
				<a   href="lease_list.asp?id=<%=rs("id")%>">
			<%=color%>
	<%
				if len(trim(rs("model"))) >= 28 then
				response.write left(trim(rs("model")),26)&".."
				else
				response.write trim(rs("model"))
				end if
				%></a></td>
				<td  align="middle"  >
				
<%=color%>
	<%if rs("day_lease_price") =0 then
				response.write "面议"
				else
				response.write rs("day_lease_price")
				end if
				%></td>
				<td align="middle"   height="19">
<%=color%>	<%if rs("month_lease_price") =0 then
				response.write "面议"
				else
				response.write rs("month_lease_price")
				end if
				%></td>
				<td align="middle"   height="19">
				<%
 color=""
   if rs("username") <>"" then
				set rs4=server.createobject("adodb.recordset")
sql4="select company,username,userid,sort,reglx,linkname from pysjzx_user  where username='"&rs("username")&"'"
rs4.open sql4,conn,1,1
if not rs4.eof then
if rs4("reglx")=2 then
color="<font color='#008080'>"
end if
if rs4("sort")=2 then
response.write "<a href=dealer_list.asp?id="&rs4("userid")&" target=_blank>"&color&rs4("company")&"</a>"
end if
if rs4("sort")=1 then
response.write "<a href=dealer_list.asp?id="&rs4("userid")&" target=_blank>"&color&rs4("linkname")&"</a>"
end if
rs4.close
else
response.write "该经销商已删除"
end if
else
response.write "<font color='#ff0000'>本站发布</font>"
end if
%></td>
				</tr>
			<%
			  rs.movenext
              loop
              rs.close
              set rs=nothing
			%>
		</table>
		</td>
		<td width=250 valign=top>		<%set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top  4 *  from [lease]  where estate=1 and commend=1  order by adddate desc  ",conn,1,1
		  do while not rs.eof 
%>
		<table height="80" cellSpacing="0" cellPadding="0" width="100%" border="0">
			<tr>
				<td height="25" rowSpan="4" width="114">
				<p align="center">
				<a   href="lease_list.asp?id=<%=rs("id")%>">
								<img height="60" src="<%=rs("pic")%>" width="100" border="1" style="border: 1px solid #000000"></a>
				</td>
				<td height="20">品牌：<%set rs2=server.createobject("adodb.recordset")
									rs2.open "select * from anclass where anclassid="&rs("anclass"),conn,1,1
									if rs2.recordcount>0 then
									response.write rs2("anclass")
									end if
									rs2.close
									%></td>
			</tr>
			<tr>
				<td height="15">型号：<a   href="lease_list.asp?id=<%=rs("id")%>"><%
				if len(trim(rs("model"))) >= 10 then
				response.write left(trim(rs("model")),8)&".."
				else
				response.write trim(rs("model"))
				end if
				%></a></td>
			</tr>
			<tr>
				<td height="15">日租价：<%if rs("day_lease_price") =0 then
				response.write "面议"
				else
				response.write rs("day_lease_price")
				end if
				%></td>
			</tr>
			<tr>
				<td height="18">月租价：<%if rs("month_lease_price") =0 then
				response.write "面议"
				else
				response.write rs("month_lease_price")
				end if
				%></td>
			</tr>
			<tr>
				<td align="right" bgColor="#cccccc" height="1" colspan="2"></td>
			</tr>
		</table>
		<%rs.movenext
		loop
		rs.close
		%></td>
	</tr>
</table>
<table border="0" width="780" cellspacing="0" cellpadding="0">
	<tr>
		<td height=5></td>
	</tr>
</table>
<table border="0" width="780" cellspacing="0" cellpadding="0">
	<tr>
		<td><TABLE class="border" border="0" cellpadding=0 cellspacing="1" width="100%" ALIGN="CENTER">
			<TR>
				<TD align="center" height="22" class=bg_l>
		<table borderColor="#000000" cellSpacing="0" cellPadding="0" width="100%" bgColor="#666666" border="0">
					<tr>
						<td width="31%" height=20 bgColor="#666666" align=center><span class="style16"><font color="#FFFFFF"><%
      set rs2=server.createobject("adodb.recordset")
		rs2.Open "select * from newsclass where classorder=3",conn,1,1
       if rs2.eof then
       response.write "该类已删除"
       else
       response.write rs2("class")
     classid=int(rs2("id"))
       end if
       rs2.close
       set rs2=nothing
      %></font></span></td>
						<td width="69%" bgColor="#efefef">
						<div align="right">
							<div class="a06" align="right">
<a href="news.asp?class=<%=classid%>">more</a></div>
						</div>
						</td>
					</tr>
				</table>


				</TD>

			</TR>
			
			<TR>
				<TD  height="20" bgcolor="#F7F7F7" >


			
<table cellSpacing="1" cellPadding="2" width="100%" border="0">  <%set rs=server.CreateObject("adodb.recordset")
rs.Open "select top 7 * from news where class="&classid&" order by adddate desc ",conn,1,1

%> 
					<tr>	<td width="37%" rowspan="4">
						<%if ad2441class=0 then%><a target="_blank" href="<%=ad2441url%>"><img  alt="<%=ad2441name%>" src="<%=ad2441%>"  border="0" width=116 height=65></a>
				<%else%>
		<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width=116 height=65>
	<param name="movie" value="<%=ad2441%>">
	<param name="quality" value="High">
	<embed src="<%=ad2441%>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width=116 height=65></object>
	<%end if%></td>
					<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					
					</tr>
					<tr>	
					<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					
					</tr>
					<tr>	
						<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					
					</tr>
					<tr>	
						<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					</tr>
					<%do while not rs.eof%>
					<tr><td colspan=2><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),26)%></a>
					</td></tr>
					<%rs.movenext
					loop%>
					</table>

				</TD>

			</TR>
			
		</TABLE></td>
		<td><TABLE class="border" border="0" cellpadding=0 cellspacing="1" width="100%" ALIGN="CENTER">
			<TR>
				<TD align="center" height="22" class=bg_l>
		<table borderColor="#000000" cellSpacing="0" cellPadding="0" width="100%" bgColor="#666666" border="0">
					<tr>
						<td width="31%" height=20 bgColor="#666666" align=center><span class="style16"><font color="#FFFFFF"><%
      set rs2=server.createobject("adodb.recordset")
		rs2.Open "select * from newsclass where classorder=4",conn,1,1
       if rs2.eof then
       response.write "该类已删除"
       else
       response.write rs2("class")
            classid=int(rs2("id"))
       end if
       rs2.close
       set rs2=nothing
      %></font></span></td>
						<td width="69%" bgColor="#efefef">
						<div align="right">
							<div class="a06" align="right">
<a href="news.asp?class=<%=classid%>">more</a></div>
						</div>
						</td>
					</tr>
				</table>


				</TD>

			</TR>
			
			<TR>
				<TD  height="20" bgcolor="#F7F7F7" >


			
<table cellSpacing="1" cellPadding="2" width="100%" border="0">  <%set rs=server.CreateObject("adodb.recordset")
rs.Open "select top 7 * from news where class="&classid&" order by adddate desc ",conn,1,1


%> 
					<tr>	<td width="37%" rowspan="4">
						<%if ad2442class=0 then%><a target="_blank" href="<%=ad2442url%>"><img  alt="<%=ad2442name%>" src="<%=ad2442%>"  border="0" width=116 height=65></a>
				<%else%>
		<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width=116 height=65>
	<param name="movie" value="<%=ad2442%>">
	<param name="quality" value="High">
	<embed src="<%=ad2442%>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width=116 height=65></object>
	<%end if%></td>
					<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					
					</tr>
					<tr>	
					<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					
					</tr>
					<tr>	
						<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					
					</tr>
					<tr>	
						<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					</tr>
					<%do while not rs.eof%>
					<tr><td colspan=2><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),26)%></a>
					</td></tr>
					<%rs.movenext
					loop%>
					</table>

				</TD>

			</TR>
			
		</TABLE></td>
		<td><TABLE class="border" border="0" cellpadding=0 cellspacing="1" width="100%" ALIGN="CENTER">
			<TR>
				<TD align="center" height="22" class=bg_l>
		<table borderColor="#000000" cellSpacing="0" cellPadding="0" width="100%" bgColor="#666666" border="0">
					<tr>
						<td width="31%" height=20 bgColor="#666666" align=center><span class="style16"><font color="#FFFFFF"><%
      set rs2=server.createobject("adodb.recordset")
		rs2.Open "select * from newsclass where classorder=5",conn,1,1
       if rs2.eof then
       response.write "该类已删除"
       else
       response.write rs2("class")
              classid=int(rs2("id"))
       end if
       rs2.close
       set rs2=nothing
      %></font></span></td>
						<td width="69%" bgColor="#efefef">
						<div align="right">
							<div class="a06" align="right">
<a href="news.asp?class=<%=classid%>">more</a></div>
						</div>
						</td>
					</tr>
				</table>


				</TD>

			</TR>
			
			<TR>
				<TD  height="20" bgcolor="#F7F7F7" >


			
<table cellSpacing="1" cellPadding="2" width="100%" border="0">  <%set rs=server.CreateObject("adodb.recordset")
rs.Open "select top 7 * from news where class="&classid&" order by adddate desc ",conn,1,1


%> 
					<tr>	<td width="37%" rowspan="4">
						<%if ad2443class=0 then%><a target="_blank" href="<%=ad2443url%>"><img  alt="<%=ad2443name%>" src="<%=ad2443%>"  border="0" width=116 height=65></a>
				<%else%>
		<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width=116 height=65>
	<param name="movie" value="<%=ad2443%>">
	<param name="quality" value="High">
	<embed src="<%=ad2443%>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width=116 height=65></object>
	<%end if%></td>
					<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					
					</tr>
					<tr>	
					<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					
					</tr>
					<tr>	
						<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					
					</tr>
					<tr>	
						<td ><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),10)%></a><%rs.movenext%></td>
					
					</tr>
					<%do while not rs.eof%>
					<tr><td colspan=2><a target="_blank" href="news_list.asp?id=<%=rs("newsid")%>"><%=left(rs("newsname"),26)%></a>
					</td></tr>
					<%rs.movenext
					loop%>
					</table>

				</TD>

			</TR>
			
		</TABLE></td>
	</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="780" border="0">
	<tr>
		<td width="125%" height="2">
		</td>
	</tr>
</table>
<div align="center">
	<table class="tb5" cellSpacing="0" cellPadding="0" width="780" border="0">
		<tr>
			<td style="border:0 none; margin:0; font-size: 12px; color: #000000; padding: 1px" width="25">
			<table height="100" cellSpacing="0" cellPadding="0" width="23" align="center" bgColor="#dadada" border="0" style="border: 0 none; margin: 0; padding: 0">
				<tr>
					<td style="border:0 none; margin:0; line-height: 220%; font-size: 12px; color: #000000; padding-top: 10px; padding-bottom: 10px; padding-left:0; padding-right:0" align="middle">
					<a href="pic.asp">香车美女</a></td>
				</tr>
			</table></td>
			<td  vAlign="top"><%  set rs=server.createobject("adodb.recordset")
       	rs.open "select * from pic where sort=7 order by adddate desc",conn,1,1
%>
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td><%if not rs.eof then%>
					<table border="0" width="100%" cellspacing="0">
						<tr>
							<td>
							<p align="center">
							<a title target="_blank" style="color: #143A7B; text-decoration: underline" href="pic_list.asp?id=<%=rs("id")%>">
							<img height="94" alt=""  src="<%=rs("girlpic")%>"  width="126" border="0" style="border: 1px solid #C3C3C3; margin-left: 0; margin-right: 0; margin-top: 3px; margin-bottom: 8px; padding: 0"></a></td>
						</tr>
						<tr>
							<td>
							<p align="center">[<a target="_blank" href="pic_list.asp?id=<%=rs("id")%>" style="text-decoration: none"><%=left(rs("girlname"),10)%></a>]</td>
						</tr>
					</table><%rs.movenext
		
										end if
										%></td>
					<td><%if not rs.eof then%>
					<table border="0" width="100%" cellspacing="0">
						<tr>
							<td>
							<p align="center">
							<a title target="_blank" style="color: #143A7B; text-decoration: underline" href="pic_list.asp?id=<%=rs("id")%>">
							<img height="94" alt=""  src="<%=rs("girlpic")%>"  width="126" border="0" style="border: 1px solid #C3C3C3; margin-left: 0; margin-right: 0; margin-top: 3px; margin-bottom: 8px; padding: 0"></a></td>
						</tr>
						<tr>
							<td>
							<p align="center">[<a target="_blank" href="pic_list.asp?id=<%=rs("id")%>" style="text-decoration: none"><%=left(rs("girlname"),10)%></a>]</td>
						</tr>
					</table><%rs.movenext
		
										end if
										%></td>
					<td><%if not rs.eof then%>
					<table border="0" width="100%" cellspacing="0">
						<tr>
							<td>
							<p align="center">
							<a title target="_blank" style="color: #143A7B; text-decoration: underline" href="pic_list.asp?id=<%=rs("id")%>">
							<img height="94" alt=""  src="<%=rs("girlpic")%>"  width="126" border="0" style="border: 1px solid #C3C3C3; margin-left: 0; margin-right: 0; margin-top: 3px; margin-bottom: 8px; padding: 0"></a></td>
						</tr>
						<tr>
							<td>
							<p align="center">[<a target="_blank" href="pic_list.asp?id=<%=rs("id")%>" style="text-decoration: none"><%=left(rs("girlname"),10)%></a>]</td>
						</tr>
					</table><%rs.movenext
		
										end if
										%></td>
					<td><%if not rs.eof then%>
					<table border="0" width="100%" cellspacing="0">
						<tr>
							<td>
							<p align="center">
							<a title target="_blank" style="color: #143A7B; text-decoration: underline" href="pic_list.asp?id=<%=rs("id")%>">
							<img height="94" alt=""  src="<%=rs("girlpic")%>"  width="126" border="0" style="border: 1px solid #C3C3C3; margin-left: 0; margin-right: 0; margin-top: 3px; margin-bottom: 8px; padding: 0"></a></td>
						</tr>
						<tr>
							<td>
							<p align="center">[<a target="_blank" href="pic_list.asp?id=<%=rs("id")%>" style="text-decoration: none"><%=left(rs("girlname"),10)%></a>]</td>
						</tr>
					</table><%rs.movenext
		
										end if
										%></td>
					<td><%if not rs.eof then%>
					<table border="0" width="100%" cellspacing="0">
						<tr>
							<td>
							<p align="center">
							<a title target="_blank" style="color: #143A7B; text-decoration: underline" href="pic_list.asp?id=<%=rs("id")%>">
							<img height="94" alt=""  src="<%=rs("girlpic")%>"  width="126" border="0" style="border: 1px solid #C3C3C3; margin-left: 0; margin-right: 0; margin-top: 3px; margin-bottom: 8px; padding: 0"></a></td>
						</tr>
						<tr>
							<td>
							<p align="center">[<a target="_blank" href="pic_list.asp?id=<%=rs("id")%>" style="text-decoration: none"><%=left(rs("girlname"),10)%></a>]</td>
						</tr>
					</table><%rs.movenext
		
										end if
										%></td>
				</tr>
			</table></td>
		</tr>
	</table></div>
	<SCRIPT language=javascript>
<!--
function winopen1(url)
{
window.open(url,"","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,width=608,height=420,top=100,left=100");
}
//-->
</SCRIPT>
<!--#include file="webfoot.asp"-->
</div>