sub_hack.asp
来自「一个关于房产的asp程序」· ASP 代码 · 共 198 行
ASP
198 行
<!--#include file=efwmanager/include/config.asp-->
<!--#include file=conn_view.asp-->
<!--#include file=efwmanager/include/function.asp-->
<%
if request("id")="" or isnumeric(request("id"))=false then
outerr "对不起,参数出错了!请重新访问此页!"
response.end
end if
%>
<html>
<head>
<title><%=title%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style.css" type="text/css">
<style> .rightkuan { border-color: black #FFFFFF black black; border-style: solid; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px; border-left-width: 0px}
</style>
<script language="JavaScript" src="share/nei_fc.js"></script>
<script language="JavaScript">
<!--
function checksearch()
{
if(!CheckIsNumeric(search.search_mj_min,"请在输入框中输入数值!")) return false;
if(!CheckIsNumeric(search.search_mj_max,"请在输入框中输入数值!")) return false;
if(!CheckIsNumeric(search.search_jg_min,"请在输入框中输入数值!")) return false;
if(!CheckIsNumeric(search.search_jg_max,"请在输入框中输入数值!")) return false;
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" oncontextmenu="window.event.returnValue=false" onselectstart="return false" background="images/bbb1.gif">
<!--#include file="share/top.htm"--><table width="778" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="white">
<tr align="left" valign="top">
<td width="778" height="10"><p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0" width="778" height="55">
<param name="movie" value="share/MENU.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<embed src="share/MENU.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="778" height="55"></embed>
</object></p>
</td>
</tr>
<tr align="left" valign="top">
<td width="778" height="8">
<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0" width="778" height="67">
<param name="movie" value="images/sqinfo.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<embed src="images/sqinfo.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="778" height="67"></embed>
</object></p>
</td>
</tr>
<tr align="left" valign="top">
<td style="BORDER-BOTTOM: #d8d8d8 1px solid" width="778" height="25" bgcolor="white">
<p> </p>
</td>
</tr>
</table>
<table width="778" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="white">
<tr align="left" valign="top">
<td style="BORDER-RIGHT: #d8d8d8 1px solid; width=" 154" bgcolor="white" class="rightkuan">
<!--#include file="share/nei_login.htm"-->
<!--#include file="share/nei_dengji.htm"-->
<br><form action="search_hack.asp" method=post name="search" onSubmit="return checksearch()">
<!--#include file="share/search_hack.asp"-->
</form>
<br>
</td>
<td width="653" align="left" bgcolor="white">
<table width="500" border="0" cellspacing="1" cellpadding="0" bgcolor="#D8D8D8" align="center">
<%
dim strSql,rs,i,PageNo
strSql="select * from [house_hack] where id=" & request("id")
set rs=Server.CreateObject("ADODB.RecordSet")
rs.open strSql,conn,3,3
if rs.eof then
outerr("没有这条信息!")
response.end
end if
session("house_bh")=rs("bh")
rs("click")=rs("click")+1
rs.update
%>
<tr align="center" valign="middle" bgcolor="#F0F0F0">
<td colspan="6" class="font" height="26" bgcolor="white">
<p>房源编号:<font color=red><%=rs("bh")%></font>(如果您对此该信息有意向,请记住此编号) 点击次数:<font color=red><%=rs("click")%></font></p>
<p align="left"><font color=red><b> 敬告用户:</b><font color="#000000">本站对中介发布信息采取收费制度。这将在一定程度上避免一些非正规的中介公司发布信息。<br>
如果某个人在本站发布过多的信息而在“是否中介”一栏中依然显示“非中介”,请大家警惕小心。</font></font></p>
</td>
</tr>
<tr>
<td width="79" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">小区名称</font></td>
<td width="154" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("house_name")%></td>
<td width="72" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">所在区域</font></td>
<td width="100" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("qy")%></td>
<td width="71" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">是否中介</font></td>
<td width="140" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("zj")%></td>
</tr>
<tr>
<td width="79" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">物业地址</font></td>
<td colspan="3" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("address")%></td>
<td width="71" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">户
型</font></td>
<td width="140" height="25" class="font" align="left" valign="middle" bgcolor="white"> <font color=red><%=rs("hx")%></font></td>
</tr>
<tr>
<td width="79" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">房屋类型</font></td>
<td width="154" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("wylx")%></td>
<td width="72" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">建筑面积</font></td>
<td width="100" height="25" class="font" align="left" valign="middle" bgcolor="white"> <font color=red><%=rs("jz_area")%></font>
㎡</td>
<td width="71" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">杂
物 间</font></td>
<td width="140" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("sy_area")%><span class="font">
㎡</span></td>
</tr>
<tr>
<td width="79" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">建筑结构</font></td>
<td width="154" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("jg")%></td>
<td width="72" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">竣工时间</font></td>
<td width="100" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("jg_time")%></td>
<td width="71" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">装修程度</font></td>
<td width="140" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("zxcd")%></td>
</tr>
<tr>
<td width="79" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">所在楼层</font></td>
<td width="154" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("do_floor")%></td>
<td width="72" bgcolor="white" height="-1" align="center" valign="middle" class="font"><font color="#FF6600">楼层总数</font></td>
<td width="100" height="25" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("sum_floor")%></td>
<td width="71" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">交易价格</font></td>
<td width="140" height="25" class="font" align="left" valign="middle" bgcolor="white"> <font color=red><%=rs("pay")%></font>
元</td>
</tr>
<tr>
<td width="79" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">配套设施</font></td>
<td colspan="5" height="25" width="538" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("pb")%></td>
</tr>
<tr bgcolor="#F0F0F0">
<td colspan="6" height="25" align="center" valign="middle" class="font" bgcolor="white">发布日期:<font color=red><%=rs("date")%></font>
<%if rs("zj_id")<>"" then%>
<a href="dealer_lyb.asp?zjid=<%=rs("zj_id")%>" target="_blank">[给此中介公司留言]</a>
<%end if%>
</td>
</tr>
<tr>
<td width="79" bgcolor="white" height="12" align="center" valign="middle" class="font"><font color="#FF6600">联
系 人</font></td>
<td width="154" height="12" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("man")%>
</td>
<td width="72" bgcolor="white" height="0" align="center" valign="middle" class="font"><font color="#FF6600">电话号码</font></td>
<td width="100" height="12" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("tel")%></td>
<td width="71" bgcolor="white" height="12" align="center" valign="middle" class="font"><font color="#FF6600">E-mail</font></td>
<td width="140" height="12" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("email")%></td>
</tr>
<tr>
<td width="79" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">公车路线</font></td>
<td colspan="5" width="538" height="12" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("bus")%></td>
</tr>
<tr>
<td width="79" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">房源描述</font></td>
<td colspan="5" width="538" height="5" class="font" align="left" valign="middle" bgcolor="white"> <%=rs("house_ms")%></td>
</tr>
<tr>
<td width="79" bgcolor="white" height="25" align="center" valign="middle" class="font"><font color="#FF6600">更多信息</font></td>
<td colspan="5" width="538" height="5" class="font" align="left" valign="middle" bgcolor="white">
<%if rs("user_id")<>"" then
response.write"<a href=hack.asp?userid="&rs("user_id")&">"
else
response.write"<a href=hack.asp?zjid="&rs("zj_id")&">"
end if
response.write"点击此处查看此人发布的更多出租信息"
response.write"</a>"
%></td>
</tr>
<tr bgcolor="#FFE7CE">
<td colspan="6" height="30" align="center" valign="middle" class="font" bgcolor="white">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="right" valign="bottom">
<td width="59%" class="font"><img src="images/shop.gif" width="130" height="22"></td>
<td width="41%"> </td>
</tr>
</table>
</td>
</tr>
<tr valign="top" bgcolor="#fffff7">
<td colspan="6" height="239" align="center" class="font" bgcolor="white"><br>
<!--#include file="share/nei_onlinedd.htm"-->
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--#include file="share/foot.htm"-->
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?