📄 shownhouse.asp
字号:
<!--#include file="tools.asp"-->
<HTML><HEAD><TITLE>新房信息</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="images/zzz.css" type=text/css rel=stylesheet>
<script language="Javascript" src="function/function.js"></script>
<SCRIPT language=JavaScript>
<!--
function SnR_MarkIE(theURL,theName,alertMsg) { //v3.0.3
var agt = navigator.userAgent.toLowerCase();
var is_win = ((agt.indexOf("win")!= -1) || (agt.indexOf("16bit")!= -1));
var is_win95 = ((agt.indexOf("win95")!= -1) || (agt.indexOf("windows 95")!= -1));
var is_win16 = ((agt.indexOf("win16")!= -1) || (agt.indexOf("16bit")!= -1) || (agt.indexOf("windows 3.1")!= -1) || (agt.indexOf("windows 16-bit")!= -1) );
var is_win31 = ((agt.indexOf("windows 3.1")!= -1) || (agt.indexOf("win16")!= -1) || (agt.indexOf("windows 16-bit")!= -1));
var is_win98 = ((agt.indexOf("win98")!= -1) || (agt.indexOf("windows 98")!= -1));
var is_winnt = ((agt.indexOf("winnt")!= -1) || (agt.indexOf("windows nt")!= -1));
var is_win32 = (is_win95 || is_winnt || is_win98 || (agt.indexOf("win32")!= -1) || (agt.indexOf("32bit")!= -1));
//Error Causing Element from above line: ((is_major >= 4) && (navigator.platform == "Win32")) ||
var is_Mac = (agt.indexOf("mac") != -1);
if (document.all && (is_win32)) { //IE Windows Only
window.external.AddFavorite(theURL,theName);
}
else { // all others
alert(alertMsg);
}
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</SCRIPT>
</HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0
onload="MM_preloadImages('images/kk2.gif')">
<!--#include file="title.asp"-->
<TABLE class=shuang cellSpacing=0 cellPadding=0 width=778 align=center
background=images/bg4.gif border=0><!--整体的大表格-->
<TBODY>
<TR>
<TD vAlign=bottom width=193 height=23>
<TABLE height=19 cellSpacing=0 cellPadding=0 width=180 align=center
background=images/bg2.gif border=0>
<TBODY>
<TR>
<TD width=60 height=11> </TD>
<TD vAlign=center width=76 height=11>
<DIV class=zzz align=center>房 源 搜 索</DIV></TD>
<TD width=44 height=11> </TD></TR></TBODY></TABLE></TD>
<TD vAlign=center width=13 rowSpan=5> </TD>
<TD width=390 height=23 colspan=2 valign=center>
<TABLE height=19 cellSpacing=0 cellPadding=0
border=0><tr><td background=images/bg4.gif>
</td></tr></table>
</TD>
</TR>
<TR>
<TD vAlign=top width=193 rowSpan=2>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=zzz height=32>
<DIV align=center>
<form method="POST" action="searchhouse.asp" id="form1" target="_blank">
<TABLE class=box1 height=40 cellSpacing=0 cellPadding=0
width=180 bgColor=#ffffff border=0 align="center">
<TBODY>
<TR>
<TD width=180 bgColor=#000000 height=1><IMG height=1 src=""
width=1></TD></TR>
<TR>
<TD width=180 background=images/bg3.gif height=26 class="zzz">
<DIV align=center><SPAN class=zzz></SPAN></DIV>
<TABLE class=box1 cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
<tr>
<td width="25%" align="right">区域:</td>
<td width="75%"><select name="district" size="1" class="zzz">
<option value="all">不限</option>
<option value="宝山">宝山区</option>
<option value="杨浦">杨浦区</option>
<option value="虹口">虹口区</option>
<option value="闸北">闸北区</option>
<option value="普陀">普陀区</option>
<option value="嘉定">嘉定区</option>
<option value="长宁">长宁区</option>
<option value="闵行">闵行区</option>
<option value="徐汇">徐汇区</option>
<option value="卢湾">卢湾区</option>
<option value="黄浦">黄浦区</option>
<option value="浦东">浦东新区</option>
</select></td>
</tr>
<tr>
<td width="25%" align="right">类型:</td>
<td width="75%"><input type="radio" value="新房" checked name="htype" id="newhouse" onclick="showprice(0),showfx(0)">新房<input
type="radio" name="htype" value="二手房" id="secondhand" onclick="showprice(1),showfx(1)">二手房<br><input type="radio" name="htype"
value="租房" id="rent" onclick="showprice(2),showfx(1)">租房</td>
</tr>
<tr><td colspan="2"><div id="fx" name="fx">
<script language="Javascript">showfx(0);</script></div></td></tr>
<tr>
<td width="25%" align="right">面积:</td>
<td width="75%"><select name="area" size="1">
<option value="all">不限</option>
<option value="80"><80平方米</option>
<option value="80-100">80-100平方米</option>
<option value="100-130">100-130平方米</option>
<option value="130">大于130平方米</option>
</select></td>
</tr>
<tr>
<td width="25%"><div align="right"><p>价格:</td>
<td width="75%">
<div id="pricemark" name="pricemark">
<script language="Javascript">showprice(0);</script>
</td>
</tr>
<tr>
<td width="100%" colspan="2"><div align="right"><p><input class="box1" type="submit"
value="搜 索" name="b1"></td>
</tr>
</table>
</TD></TR>
</TBODY></TABLE>
</DIV>
<DIV align=center> </DIV></TD></TR>
<TR>
<TD>
</form>
</TD></TR>
<TABLE class= cellSpacing=0 cellPadding=0 width=180
border=00 align="center">
<TBODY>
<tr><td>
</td></tr>
</TBODY></TABLE>
</TD>
<TD vAlign=top width=572 colspan=2>
<table class="box1" cellSpacing="0" cellPadding="2" width="550" border="0">
<TBODY>
<tr>
<td width="100%"><table class="zzz" cellSpacing="0" cellPadding="0" width="100%"
bgColor="#E6F2FF" border="0">
<TBODY>
<tr>
<td class="zzz" width="70%"><font color="#999999"><table class="shuang" cellSpacing="0"
cellPadding="0" width="550" align="center" background="images/bg4.gif" border="0">
<tr>
<td vAlign="top" width="550"><table cellSpacing="1" cellPadding="1" width="550"
bgColor="#666666" border="0">
<TBODY>
<%
hid=trim(Request.QueryString("hid"))
strsql="select * from tblnewhouse where hid=" & hid
set rsd=server.CreateObject("adodb.recordset")
rsd.Open strsql,conn
if not(rsd.EOF and rsd.BOF) then
%>
<tr>
<td class="zzz" bgColor="#ffcc66" width="74%" align="center" colspan="4" height="25"><span style="font-family: 宋体; font-size: 12pt">楼 盘 信 息</span></td>
</tr>
<tr>
<td class="zzz" width="14%" bgColor="#EEEEEE" height="20" align="right">楼盘名称:</td>
<td class="zzz" width="85%" bgColor="#FFFFFF" height="15" colspan="3"><%=rsd("housename")%></td>
</tr>
<tr bgColor="#ffffff">
<td class="zzz" width="14%" bgColor="#EEEEEE" align="right" height="20">地址:</td>
<td class="zzz" width="42%" bgColor="#FFFFFF"><%=showdistrict(rsd("district"))%> <%=rsd("houseaddress")%></td>
<td class="zzz" width="12%" align="right" bgColor="#EEEEEE">电话:</td>
<td class="zzz" width="31%" bgColor="#FFFFFF"><%=rsd("tel")%></td>
</tr>
<tr>
<td class="zzz" width="14%" bgColor="#EEEEEE" height="20"><p align="right">开发商:</td>
<td class="zzz" width="42%" bgColor="#FFFFFF" height="15"><%=rsd("developer")%></td>
<td class="zzz" width="12%" align="right" bgColor="#EEEEEE" height="15">传真:</td>
<td class="zzz" width="31%" bgColor="#FFFFFF" height="15"><%=rsd("fax")%></td>
</tr>
<tr bgColor="#ffffff">
<td class="zzz" width="14%" bgColor="#EEEEEE" height="20"><p align="right">面积:</td>
<td class="zzz" width="42%" bgColor="#FFFFFF"><%=rsd("minarea")%>-<%=rsd("maxarea")%>M<sup>2</sup></td>
<td class="zzz" width="12%" align="right" bgColor="#EEEEEE">价格:</td>
<td class="zzz" width="31%" bgColor="#FFFFFF"><%=formatnumber(rsd("lowprice"),0)%>-<%=formatnumber(rsd("highprice"),0)%>元/M<sup>2</sup></td>
</tr>
<tr>
<td class="zzz" width="14%" bgColor="#EEEEEE" height="20"><p align="right">房屋状况:</td>
<td class="zzz" width="42%" bgColor="#FFFFFF" height="15"><%=rsd("hstatus")%></td>
<td class="zzz" width="12%" align="right" bgColor="#EEEEEE" height="15">交房日期:</td>
<td class="zzz" width="31%" bgColor="#FFFFFF" height="15"><%=rsd("closedate")%></td>
</tr>
<tr bgColor="#ffffff">
<td class="zzz" width="22%" bgColor="#EEEEEE" height="20"><p align="right">总面积:</td>
<td class="zzz" width="34%" bgColor="#FFFFFF"><%=rsd("totalarea")%>M<sup>2</sup></td>
<td class="zzz" width="12%" align="right" bgColor="#EEEEEE">绿化率:</td>
<td class="zzz" width="31%" bgColor="#FFFFFF"><%=rsd("virescence")%></td>
</tr>
<tr>
<td class="zzz" width="22%" bgColor="#EEEEEE" height="20"><p align="right">交通:</td>
<td class="zzz" width="77%" bgColor="#FFFFFF" height="15" colspan="3"><%=rsd("traffic")%></td>
</tr>
</TBODY>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table class="box1" cellSpacing="0" cellPadding="2" width="550" border="0">
<tr>
<td width="100%"><table class="zzz" cellSpacing="0" cellPadding="0" width="100%"
bgColor="#E6F2FF" border="0">
<TBODY>
<tr>
<td class="zzz" width="70%"><font color="#999999"><table class="shuang" cellSpacing="0"
cellPadding="0" width="550" align="center" background="images/bg4.gif" border="0">
<tr>
<td vAlign="top" width="550">
<table cellSpacing="1" cellPadding="1" width="550" bgColor="#666666" border="0">
<TBODY>
<tr>
<td class="zzz" bgColor="#ffcc66" width="74%" align="center">楼 盘 介 绍</td>
</tr>
<tr>
<td class="zzz" width="99%" bgColor="#EEEEEE" height="60"> <%=replace(rsd("intro"),chr(10),"<br> ")%>
<%
if rsd("hurl")<>"0" then
%>
<br><div align="center">
<table><tr><td>
<img src="<%=rsd("hurl")%>">
</td></tr></table></center>
<%end if%></td>
</tr>
</TBODY>
</table>
<table cellSpacing="1" cellPadding="1" width="550" bgColor="#666666" border="0">
<TBODY>
<tr>
<td class="zzz" bgColor="#ffcc66" width="74%" align="center">推 荐 房 型</td>
</tr>
<tr>
<td class="zzz" width="99%" bgColor="#EEEEEE" height="60">
<%
hname=rsd("housename")
rsd.Close
strsql="select * from tblhousemodel where housename=" & sqlstr(hname)
rsd.Open strsql,conn
if not (rsd.EOF and rsd.BOF) then
while not rsd.EOF
%>
<li><a href="#" class="zzz" onClick="window.open('showmodel.asp?id=<%=rsd("id")%>','','resizable=1,scrollbars=yes,width=500,height=500');"><%=rsd("modelname")%></a></li>
<%
rsd.MoveNext
wend
end if
%>
</td>
</tr>
</TBODY>
</table>
<%end if%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</TABLE></TD></TR></TBODY></TABLE>
<!--#include file="footer.asp"--></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -