📄 index.asp
字号:
<% Response.Buffer=True %>
<!--#include file="advoces.asp"-->
<% set rs=server.createobject("adodb.recordset")
sql="select * from bazhu"
rs.open sql,conn,1,1
r1=rs.recordcount
rs.close
set rs=nothing
set rs=server.createobject("adodb.recordset")
sql="select * from bazhu"
rs.open sql,conn,1,1
'jobnum=rs.recordcount
%>
<HTML>
<HEAD>
<TITLE>房屋-租-求租-</TITLE>
<!-- 霸猪乐园 E-mail:webmaster@bazhu.com 主页:http://www.bazhu.com QQ:309412-->
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>.big {
FONT-FAMILY: Arial, Helvetica, 宋体; FONT-SIZE: 13pt; FONT-WEIGHT: bold
}
.cur {
COLOR: #ff0000; FONT-FAMILY: 宋体; FONT-SIZE: 9pt
}
.chn {
FONT-FAMILY: 宋体; FONT-SIZE: 9pt
}
.dir {
FONT-FAMILY: 宋体; FONT-SIZE: 11pt; FONT-WEIGHT: bold
}
.sub {
FONT-FAMILY: 宋体; FONT-SIZE: 9pt
}
.hdr {
FONT-FAMILY: 宋体; FONT-SIZE: 11pt; FONT-WEIGHT: bold
}
.itm {
FONT-FAMILY: 宋体; FONT-SIZE: 9pt
}
.eng {
FONT-FAMILY: Arial, Helvetica, 宋体; FONT-SIZE: 9pt
}
A.hover {
COLOR: red
}
</STYLE>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
</HEAD>
<BODY aLink=#cc0000 bgColor=#ffffff link=#000099 topMargin=8 vLink=#000099>
<CENTER>
<TABLE border=0 cellPadding=0 cellSpacing=0 height=5 width=700>
<TBODY>
<TR>
<TD>
<table border=0 cellpadding=0 cellspacing=0 width=700>
<tbody>
<tr>
<td valign=center width="150" height="70"><img src="images/bazhu.gif" width="150" height="78"></td>
<td valign=center width="550" height="70">
<div align="center"><a href="http://www.bazhu.com" target="_blank"><img src="images/guanggao.gif" width="400" height="80" border="0"></a></div>
</td>
</tr>
<tr bgcolor=#009900>
<td align=middle class=chn colspan=3 height=24 noWrap>
<div align="center"><a href="http://www.bazhu.com"
target=_blank>霸猪首页</a> § <a href="http://adidas.home.chinaren/hack/index.htm"
target=_blank>网络安全乐园</a> § <a href="http://adidas.home.chinaren.com/asp/index.htm"
target=_blank>猪家ASP</a> § <a href="http://adidas.home.chinaren.com/pig/index.htm">猪猪影视库</a>
§ <a href="http://adidas.home.chinaren.com/joke/index.htm">猪猪笑话</a>
§ <a
href="http://adidas.home.chinaren.com/loto/index.htm" target=_blank>彩票工具园</a>
§ <a href="http://bbs.6to23.com/1/default.asp?name=bazhu">给我留言</a>
§ </div>
</td>
</tr>
<tr bgcolor=#ccffcc>
<td align=middle class=chn
colspan=3 height=25 noWrap>
<table border=0 cellpadding=0 cellspacing=0 width="100%" height="20">
<tr>
<form action=http://www.es123.com/asp/bz/search.asp>
<td colspan=3 align=middle height="4">
<div align="center">
<input type="text" name="look_for">
<input type="submit" value="猪站检索" name="submit22" style="height : 20; width : 80;">
<a href="http://adidas.home.chinaren.com/addjs.htm">网站登陆</a><font color=#0000ff size=2>
</font></div>
</td>
</form>
</tr>
<tbody> </tbody>
</table>
</td>
</tr>
</tbody>
</table>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 height=5 width=700>
<TBODY>
<TR>
<TD><IMG height=1
src="images/pixel.gif"></TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=700>
<TBODY>
<TR>
<TD bgColor=#ccffcc vAlign=top width=132>
<div align="center"><a href="index.asp">房地产首页</a><br>
<br>
<a href="fb.asp">发布信息</a><br>
<br>
<a href="search.asp">搜索信息</a><br>
<br>
<a href="list.asp">信息列表</a></div>
</TD>
<TD width=10> </TD>
<TD align=left class=itm vAlign=top width=588>
<TABLE border=0 cellPadding=2 cellSpacing=0 height=20 width="100%">
<TBODY>
<TR bgColor=#ebebeb>
<TD height=20 width="100%">
<P class=itm><A href="http://www.bazhu.com"><FONT
color=#000099>首页</FONT></A>><FONT color=#000099><a href="index.asp">房地产</a>><a href="fb.asp">信息发布</a>>出租还是求租?</FONT></P>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellSpacing=3 width="100%">
<TBODY>
<TR>
<TD class=itm width="25%"><IMG align=middle border=0 height=29
src="images/h1.gif" width=32>租房查询</TD>
<TD class=itm width="25%"><IMG align=middle border=0 height=29
src="images/h2.gif" width=32>买商品房</TD>
<TD class=itm width="25%"><IMG align=middle border=0 height=29
src="images/h3.gif" width=32>买二手房</TD>
<TD class=itm width="25%"><IMG align=middle border=0 height=29
src="images/h4.gif" width=32>买房需求</TD>
</TR>
</TBODY>
</TABLE>
<p>
<% set rs=server.createobject("adodb.recordset")
sql="select * from bazhu order by id desc"
rs.open sql,conn,1,1 %>
<br>
<table border=0 cellpadding=0 cellspacing=2 width=100%>
<tr bgcolor="#FFF9F0">
<td align=center width="77" class=chn>城市</td>
<td align=center width="103" class=chn>期望租金</td>
<td align=center width="87" class=chn>户型要求</td>
<td align=center width="80" class=chn>区位</td>
<td align=center width="66" class=chn>更新时间</td>
<td align=center width="141" class=chn>详细描述</td>
</tr>
<% do while not rs.eof %>
<tr bgcolor="#FEF0D1">
<td align=center width="77" class=chn>
<% if len(rs("city"))>18 then%>
<%=left(rs("city"),15)%>...
<% else%>
<%=rs("city")%>
<%end if%>
</td>
<td align=center width="103" class=chn><%=rs("price_beg")%>-<%=rs("price_end")%><%=rs("unit")%></td>
<td align=center width="87" class=chn> <%=rs("living_room")%><%=rs("sitting_room")%><%=rs("toilet")%></td>
<td align=center width="80" class=chn><%=rs("district")%></td>
<td align=center width="66" class=chn><%=rs("time")%></td>
<td align=center width="141" class=chn><a href="show.asp?id=<%=rs("id")%>" target=_blank>查看全部信息</a></td>
</tr>
<tr bgcolor="#FFF9F0">
<td align=center width="77" class=chn> </td>
<td align=center width="103" class=chn> </td>
<td align=center width="87" class=chn> </td>
<td align=center width="80" class=chn> </td>
<td align=center width="66" class=chn> </td>
<td align=center width="141" class=chn> </td>
</tr>
<% n=n+1
rs.movenext
if n>=10 then exit do
loop
rs.close
set rs=nothing %>
</table>
</p>
<div align="right"><a href="list.asp">更多房源信息</a>>>>>>>
</div>
<table border=0 cellspacing=3 width="100%">
<tbody>
<tr class=itm>
<td align=middle width="20%" height="27"><img
align=middle border=0 height=29 src="images/h1.gif"
width=32><span
class=itm>卖商品房</span></td>
<td align=middle width="19%" height="27"><img
align=middle border=0 height=29 src="images/h1.gif"
width=32><span
class=itm>卖二手房</span></td>
<td align=middle width="20%" height="27"><img align=middle border=0 height=29
src="images/h2.gif" width=32><span
class=itm>出租房</span></td>
<td width="19%" height="27"><img
align=middle border=0 height=29 src="images/h3.gif"
width=32>买房需求</td>
<td width="22%" height="27"><img
align=middle border=0 height=29 src="images/h4.gif"
width=32>租房需求</td>
</tr>
</tbody>
</table>
<P align=center class=itm> </P>
</TD>
</TR>
</TBODY>
</TABLE>
<HR noShade SIZE=1 width=700>
<SPAN class=eng><a href="http://www.bazhu.com">霸猪乐园 </a>霸猪制作</SPAN>
</CENTER>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -