📄 default.asp
字号:
<!--数据库链接文件-->
<!--#include file="byshop_conn.asp"-->
<!--网站头文件-->
<!--#include file="webhead.asp"-->
<title><%=webname%>-首页</title>
<SCRIPT language=javaScript>
<!--
function mOvr(src,clrOver){
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
src.bgColor = clrOver;
}
}
function mOut(src,clrIn) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}
//-->
</SCRIPT>
<div align="center">
<!--首页香车美女-->
<!--#include file="in_girl.asp"-->
<table id="table70" height="10" cellSpacing="0" cellPadding="0" width="778" border="0">
<tr>
<td bgcolor="#FFFFFF"></td>
</tr>
</table>
<table id="table59" cellSpacing="0" cellPadding="0" width="779" border="0" bgcolor="#FFFFFF">
<tr vAlign="top">
<td vAlign="top">
<!--推荐商家-->
<!--#include file="in_tjdealer.asp"--><br>
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table23">
<tr>
<td width="6">
<img height="6" src="images/didi_001.gif" width="6"></td>
<td background="images/didi_005.gif">
<img height="6" src="images/didi_005.gif" width="6"></td>
<td width="6">
<img height="6" src="images/didi_002.gif" width="6"></td>
</tr>
<tr>
<td background="images/didi_007.gif"> </td>
<td vAlign="top" height="131">
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table24">
<tr>
<td align="middle" width="25" bgcolor="#BDDBE9">
<img height="5" src="images/didi_017.gif" width="13"></td>
<td bgcolor="#BDDBE9">
最新加盟商家</td>
</tr>
</table>
<table class="images/didibaba_l17" cellSpacing="0" cellPadding="5" width="175" border="0" id="table30">
<tr><td>
<%
set rs=server.createobject("adodb.recordset")
sql="select top 10 * from dealer where reglx=1 order by addtime desc"
rs.open sql,conn,1,1
byshop_10=1
do while not rs.eof
%>
<% if byshop_10 <=3 then%><font color="#FF0000"><%end if%><%if byshop_10<>10 then%>0<%end if%><%=byshop_10%></font>.<a class="images/didibaba_a02" target="_blank" href="company1.asp?userid=<%=rs("id")%>" title="加盟日期 <%=rs("addtime")%>"><%=rs("company")%></a><br>
<%rs.movenext
byshop_10=byshop_10+1
if byshop_10 >=11 then
exit do
end if
loop
rs.close
set rs=nothing%>
<table border="0" width="100%" id="table58" cellspacing="0" cellpadding="0">
<tr>
<td height="11"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td background="images/didi_008.gif"> </td>
</tr>
<tr>
<td>
<img height="6" src="images/didi_003.gif" width="6"></td>
<td background="images/didi_006.gif">
<img height="6" src="images/didi_006.gif" width="6"></td>
<td>
<img height="6" src="images/didi_004.gif" width="6"></td>
</tr>
</table><br>
<!--二手车搜索-->
<!--#include file="in_search.asp"-->
<!--二手车评估-->
<!--#include file="in_evaluation.asp"-->
<!--本站广告-->
<!--#include file="in_ads.asp"--><br>
<!-- end ?? 6 --><table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table23">
<tr>
<td width="6">
<img height="6" src="images/didi_001.gif" width="6"></td>
<td background="images/didi_005.gif">
<img height="6" src="images/didi_005.gif" width="6"></td>
<td width="6">
<img height="6" src="images/didi_002.gif" width="6"></td>
</tr>
<tr>
<td background="images/didi_007.gif"> </td>
<td vAlign="top">
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table24">
<tr>
<td align="middle" width="25" bgcolor="#BDDBE9">
<img height="5" src="images/didi_017.gif" width="13"></td>
<td bgcolor="#BDDBE9">
<span lang="zh-cn">本站公告栏</span></td>
</tr>
</table>
<%set rs=server.createobject("adodb.recordset")
sql="select top 15 newsname,newsid from gg order by adddate desc"
rs.open sql,conn,1,1
%>
<table class="didibaba_l17" cellSpacing="0" cellPadding="5" width="175" border="0" id="table30">
<tr>
<td>
<% do while not rs.eof %>
<a href="javascript:;" onClick="javascript:window.open('gonggao.asp?id=<%=rs("newsid")%>','','width=432,height=288,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;">
<%
response.write "·"&rs("newsname")&"<br>"
%></a><%
rs.movenext
loop
rs.close
set rs=nohing
%>
</td>
</tr>
</table>
</td>
<td background="images/didi_008.gif"> </td>
</tr>
<tr>
<td>
<img height="6" src="images/didi_003.gif" width="6"></td>
<td background="images/didi_006.gif">
<img height="6" src="images/didi_006.gif" width="6"></td>
<td>
<img height="6" src="images/didi_004.gif" width="6"></td>
</tr>
</table></td>
<td width="4"> </td>
<td width="100%" bgColor="#ffffff" align="right">
<div>
<table cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff" border="0" id="table64">
<tr>
<td vAlign="top" align="middle">
<!--商家出售-->
<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table74">
<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="table75">
<tr>
<td bgcolor="#BDDBE9">
<p align="left"> <span lang="zh-cn">加盟商家售信息</span></td>
<td bgcolor="#BDDBE9" width="50">
<p align="right">
<a href="sellclass.asp">
<img border="0" src="images/ico_more1.gif" title="更多出售信息"></a> </td>
</tr>
</table>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select top 16 id,titlename,sellmoney,carpic,usercheck,adddate,by_tongguo from 1car where ( by_tongguo=1 ) and ( usercheck = 1 ) order by adddate desc ",conn,1,1
if rs.eof then%>
<table border="0" width="100%">
<tr>
<td height="3"></td>
</tr>
<tr>
<td>
<p align="center">对不起,暂无信息! </td>
</tr>
<tr>
<td height="3"></td>
</tr>
</table>
<%
else
j_1=int((rs.recordcount+3)/4)
if j_1>4 then
j_1=4
end if
for j_count=1 to j_1%>
<table cellSpacing="0" cellPadding="5" width="100%" border="0" id="table76">
<tr>
<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
%></td></tr></table>
<%
rs.movenext
end if
%>
</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 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
%></td></tr></table>
<%
rs.movenext
end if
%>
</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -