📄 default.asp
字号:
%>
</td>
<td class="ourfont1" bgcolor="#FFFFFF" align="center" width="25%" valign="top">
<%if not rs.eof then%>
<table width=25 border=0 cellspacing=0 cellpadding=0><tr>
<td height=86 align=center style="color: #293D05; font-size: 12px"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#CCCCCC><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px"><table width=95 border=0 cellpadding=0 cellspacing=1 bgcolor=#FFFFFF><tr>
<td height=30 bgcolor=#FFFFFF style="color: #293D05; font-size: 12px">
<a href="sellcar.asp?id=<%=rs("id")%>"><img width="<%=imagew%>" height="<%=imageh%>" border="0" src=<%if rs("carpic")=""then%>"images/emptybook.gif"<%else%><%=trim(rs("carpic"))%><%end if%> alt="<%=trim(rs("titlename"))%>"></a></td></tr></table></td></tr></table></td></tr><tr>
<td height=20 align=center style="color: #293D05; font-size: 12px">
<a href="sellcar.asp?id=<%=rs("id")%>"><font color="#FF0000"><%
response.write trim(rs("titlename"))
%></font></a><br><% if rs("sellmoney") <>"0" then
response.write rs("sellmoney")&"万元"
else
response.write "面议"
end if
%><br><%
set rss=server.createobject("adodb.recordset")
sqls="select shengNo,shengname,id from province where shengNo="&int(rs("province"))
rss.open sqls,conn,1,1
if rss.eof then
end if
if rs("province")="0" then
response.write "全国各地"
end if
response.write rss("shengname")
shengid=rss("id")
rss.close
set rss=nothing
%>
<%
set rss=server.createobject("adodb.recordset")
sqls="select shiname from city where Shengid="&shengid&" and shino="&int(rs("city"))
rss.open sqls,conn,1,1
if rss.eof then
end if
response.write rss("shiname")
rss.close
set rss=nothing
%></td></tr></table>
<%
rs.movenext
end if
%>
</td>
</tr> <%next
rs.close
%>
</td>
</tr>
</table>
<%end if%>
</td>
<td background="images/didi_008.gif">
<p align="left"> </td>
</tr>
<tr>
<td>
<p align="left">
<img height="6" src="images/didi_003.gif" width="6"></td>
<td background="images/didi_006.gif">
<p align="left">
<img height="6" src="images/didi_006.gif" width="6"></td>
<td>
<p align="left">
<img height="6" src="images/didi_004.gif" width="6"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--最新求购-->
<br>
<table cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff" border="0" id="table17">
<tr>
<td vAlign="top" align="middle">
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table18">
<tr vAlign="top">
<td>
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table19">
<tr>
<td vAlign="top">
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table20">
<tr>
<td width="6">
<p align="left">
<img height="6" src="images/didi_001.gif" width="6"></td>
<td background="images/didi_005.gif">
<p align="left">
<img height="6" src="images/didi_005.gif" width="6"></td>
<td width="6">
<p align="left">
<img height="6" src="images/didi_002.gif" width="6"></td>
</tr>
<tr>
<td background="images/didi_007.gif">
<p align="left"> </td>
<td vAlign="top">
<table height="1" cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff" border="0" id="table21">
<tr>
<td bgcolor="#BDDBE9">
<p align="left"> 最新求购信息</td>
<td bgcolor="#BDDBE9" width=50>
<a href="buyclass.asp">
<img border="0" src="images/ico_more1.gif" title="更多求购信息"></a></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="5" width="100%" border="0" id="table22">
<tr>
<td class="didibaba_l17" vAlign="top">
<%
set rs=server.createobject("adodb.recordset")
sql="select top 15 id,titlename,money,adddate,province,city,by_tongguo from 2car where by_tongguo=1 order by adddate desc"
rs.open sql,conn,1,1
%>
<table width="100%" border="1" cellpadding="0" id="table61" style="border-collapse: collapse" bordercolor="#BDDBE9" cellspacing="0">
<tr>
<td width="47%" class="ourfont">
<table border="0" width="100%" id="table64" cellspacing="1" cellpadding="2">
<tr>
<td bgcolor="#BDDBE9">
<p align="center">信息标题</td>
</tr>
</table>
</td>
<td width="19%" align="center" class="ourfont" <%if byshop_i mod 2 =0 then
response.write"bgcolor=#FFFFFF"
else
response.write"bgcolor=#F0F9FE"
end if%>>
<table border="0" width="100%" id="table65" cellspacing="1" cellpadding="2">
<tr>
<td bgcolor="#BDDBE9">
<p align="center"><span lang="zh-cn">求购车价</span></td>
</tr>
</table>
</td>
<td width="13%" align="center" class="ourfont" <%if byshop_i mod 2 =0 then
response.write"bgcolor=#FFFFFF"
else
response.write"bgcolor=#F0F9FE"
end if%>>
<table border="0" width="100%" id="table66" cellspacing="1" cellpadding="2">
<tr>
<td bgcolor="#BDDBE9">
<p align="center">发布日期</td>
</tr>
</table>
</td>
<td width="21%" align="center" class="ourfont" <%if byshop_i mod 2 =0 then
response.write"bgcolor=#FFFFFF"
else
response.write"bgcolor=#F0F9FE"
end if%>>
<table border="0" width="100%" id="table67" cellspacing="1" cellpadding="2">
<tr>
<td bgcolor="#BDDBE9">
<p align="center">交易地区</td>
</tr>
</table>
</td>
</tr>
<%
byshop_i=0
do while not rs.eof%> <tr onmouseout="mOut(this,'#FFFFFF');" onmouseover="mOvr(this,'#e4f3fa');">
<td width="47%" height=20 > ·<a href=buycar.asp?id=<%=rs("id")%> title="<%=rs("titlename")%>"><%=rs("titlename")%></a></td>
<td width="19%" align="center" >
<%if rs("money") <>"" then
response.write rs("money")&"万元"
else
response.write "面议"
end if
%></td>
<td width="13%" align="center">
<%=year(rs("adddate"))%>-<%=month(rs("adddate"))%>-<%=day(rs("adddate"))%></td>
<td width="21%" align="center" ><%
set rss=server.createobject("adodb.recordset")
sqls="select * from province where shengNo="&int(rs("province"))
rss.open sqls,conn,1,1
if rss.eof then
end if
if rs("province") =0 then
response.write "全国各地"
end if
response.write rss("shengname")
shengid=rss("id")
rss.close
set rss=nothing
%>
<%
set rss=server.createobject("adodb.recordset")
sqls="select * from city where Shengid="&shengid&" and shino="&int(rs("city"))
rss.open sqls,conn,1,1
if rss.eof then
end if
response.write rss("shiname")
rss.close
set rss=nothing
%>
</td>
</tr>
<%
byshop_i=byshop_i+1
rs.movenext
loop
rs.close
set rs=nothing
%>
</table>
</td>
</tr>
</table>
</td>
<td background="images/didi_008.gif">
<p align="left"> </td>
</tr>
<tr>
<td>
<p align="left">
<img height="6" src="images/didi_003.gif" width="6"></td>
<td background="images/didi_006.gif">
<p align="left">
<img height="6" src="images/didi_006.gif" width="6"></td>
<td>
<p align="left">
<img height="6" src="images/didi_004.gif" width="6"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<br>
<!--友情链接-->
<!--#include file="link.asp"-->
<!--网站尾文件-->
<!--#include file="webfoot.asp"-->
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -