📄 chushou.asp
字号:
<!--#include file=conn/adodb.asp-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><!--#include file=title.asp-->--出售信息</title>
<style type="text/css">
<!--
.fontt {
font-size: 10pt;
text-decoration: none;
}
-->
</style>
<style type="text/css">
<!--
a:hover {
font-weight: bold;
color: #FF6600;
text-decoration: underline;
}
-->
</style>
<style type="text/css">
<!--
.hh {
line-height: 1pt;
}
-->
</style>
</head>
<body bgcolor="#999999" link="#000000" vlink="#000000" topmargin="0">
<table width="80%" border="0" align="center" cellspacing="0">
<tr bgcolor="#FFFFFF">
<td colspan="3" valign="bottom" bgcolor="#FFFFFF" class="fontt" >
<!--#include file=top.asp-->
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" valign="bottom" bgcolor="#FFFFFF" class="hieght" > </td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" bgcolor="#333333" class="hh"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" bgcolor="#FFFFFF"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="26%" height="10" align="center" bgcolor="#FFFFFF" class="fontt">
<%
dim sql,rs
set rs=server.CreateObject("adodb.recordset")
sql="select * from chushou order by fbsj desc"
session("sql")=sql
rs.open sql,db,1,1
if rs.recordcount >0 then
%>
<!--#include file="cx.asp"-->
<br>
<td width="1%" background="image/row.gif" bgcolor="#FFFFFF" class="fontt">
<td width="73%" align="center" valign="top" bgcolor="#FFFFFF" class="fontt">
<table width="95%" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc" class="fontt" >
<tr bgcolor="#eeeeee" height="30" >
<td align="center"><strong>房源类别</strong></td>
<td align="center" ><strong>区域</strong></td>
<td align="center"><strong>结构</strong></td>
<td align="center"><strong>楼层</strong></td>
<td align="center"><strong>价格</strong></td>
<td align="center"><strong>位置</strong></td>
<td align="center"><strong>查看</strong></td>
</tr>
<%
if not isempty(request("page")) then
pagecount=cint(request("page"))
else
pagecount=1
end if
rs.pagesize=11
rs.AbsolutePage=pagecount
do while not rs.eof
%>
<tr bgcolor="#ffffff" width="100%"
onmouseover="this.style.backgroundColor = '#F7FBFF'"
onmouseout="this.style.backgroundColor = '#FFFFFF'">
<td height="25" align="center"><%=rs("fylb")%></td>
<td height="25" align="center"><%=rs("qy")%></td>
<td height="25" align="center"><%=rs("s")%>室<%=rs("t")%>厅<%=rs("w")%>卫</td>
<td height="25" align="center"><%=rs("szc")%></td>
<td height="25" align="center"><%=rs("jg")%> <%=rs("dw")%></td>
<td height="25" align="center"><%=rs("wz")%></td>
<td height="25" align="center"><a href="chakan_chushou.asp?id=<%=rs("id")%>" class="fontt" target="_blank">查看</a></td>
</tr>
<%
rs.movenext
i=i+1
if i>=rs.pagesize then exit do
loop
%>
</table>
<tr bgcolor="#FFFFFF" class="z">
<td height=23 colspan=11 align=center bgcolor="#dddddd"> <div align="center" class="fontt">页次:
<b><font color=red><%=pagecount%></font>/<%=rs.pagecount%></b>
<% if pagecount=1 and rs.pagecount<>pagecount and rs.pagecount<>0 then%>
<a href="chushou.asp?page=<%=cstr(pagecount+1)%>" class="z"> <span class="fontt"><font color="#000000">下一页</font></span></a>
<% end if %>
<% if rs.pagecount>1 and rs.pagecount=pagecount then %>
<a href="chushou.asp?page=<%=cstr(pagecount-1)%>" class="z"> <span class="fontt"><font color="#000000">上一页</font></span></a>
<%end if%>
<% if pagecount<>1 and rs.pagecount<>pagecount then%>
<a href="chushou.asp?page=<%=cstr(pagecount-1)%>" class="z"> <span class="fontt"><font color="#000000">上一页</font></span></a>
<a href="chushou.asp?page=<%=cstr(pagecount+1)%>" class="fontt"> <font color="#000000">下一页</font></a>
<% end if
%>
</div></td>
</tr>
<%else
response.write "没有任何数据!"
end if
%>
<tr>
<td colspan="3"></td>
<tr>
<td colspan="3"></tr>
<tr>
<td colspan="3"></td>
<tr>
<td colspan="3"></tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" align="center" bgcolor="#FFFFFF" class="fontt"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" valign="middle" bgcolor="#FFFFFF" class="hieght">
<!--#include file=bottom.asp-->
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -