⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fyxx.asp

📁 一个不错的全站程序
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#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"-->
<%set rsd=server.CreateObject("adodb.recordset")%>
<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">&nbsp;</td>
          <td vAlign="center" width="76" height="11">
            <div class="zzz" align="center">房 源 搜 索</div></td>
          <td width="44" height="11">&nbsp;</td></tr></tbody></table></td>
    <td vAlign="center" width="13" rowSpan="5">&nbsp; </td>
    <td vAlign="bottom" width="390" height="23" colspan="2">
      <table height="19" cellSpacing="0" cellPadding="0" width="180" background="images/bg2.gif" border="0">
        <tbody>
        <tr>
          <td width="61" height="12">&nbsp;</td>
          <td width="72" height="12">
            <div class="zzz" align="center">新 房 信 息</div></td>
          <td width="47" height="12">&nbsp;</td></tr></tbody></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">&lt;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">&nbsp;</div></td></tr>
        <tr>
          <td>
</form>                
           </td></tr>
      <table class="cellSpacing=0" cellPadding="0" width="180" border="00" align="center">
        <tbody>
  
  
<tr><td>
<table cellSpacing="1" cellPadding="5" width="100%" align="center" bgColor="#003399" border="0">
  <tr>
    <td class="zzz" bgColor="#ffcc00"><b><font color="#003399" size="2"><p align="center">快速通道</font></b></td>
  </tr>
  <tr onmouseover="this.style.backgroundColor='#E6F2FF';" onmouseout="this.style.backgroundColor='#F9F7F2';" bgColor="#f9f7f2">
    <td><a class="zzz" href="newhouse.asp"><p align="center">新房</a></td>
  </tr>
  <tr onmouseover="this.style.backgroundColor='#E6F2FF';" onmouseout="this.style.backgroundColor='#F9F7F2';" bgColor="#f9f7f2">
    <td><a class="zzz" href="secondhouse.asp"><p align="center">二手房</a></td>
  </tr>
  <tr onmouseover="this.style.backgroundColor='#E6F2FF';" onmouseout="this.style.backgroundColor='#F9F7F2';" bgColor="#f9f7f2">
    <td><a class="zzz" href="leasehouse.asp"><p align="center">出租房</a></td>
  </tr>
</table>

</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>
<%
strsql="select top 8 hid,housename,district,houseaddress,lowprice,highprice,tel from tblnewhouse order by hid desc"
%>
        <tr>
        <td class="zzz" bgColor="#ffcc66" width="25%" align="center"><p align="center">楼盘名称</td>
        <td class="zzz" bgColor="#ffcc66" width="8%" align="center">所属区</td>
        <td class="zzz" bgColor="#ffcc66" width="24%" align="center">楼盘地址</td>
        <td class="zzz" bgColor="#ffcc66" width="18%" align="center">价格范围</td>
        <td class="zzz" bgColor="#ffcc66" width="25" align="center">电话</td>
      </tr>
      <%
      rsd.Open strsql,conn
      do until rsd.EOF
      %>
      <tr>
        <td class="zzz" width="25%" bgColor="#eeeeee" height="15"><a href="shownhouse.asp?hid=<%=rsd("hid")%>"><%=rsd("housename")%></a></td>
        <td class="zzz" width="8%" bgColor="#eeeeee" height="15" align="center"><%=rsd("district")%></td>
        <td class="zzz" width="24%" bgColor="#eeeeee" height="15"><%=rsd("houseaddress")%></td>
        <td class="zzz" width="18%" bgColor="#eeeeee" height="15" align="center"><%=rsd("lowprice")%>-<%=rsd("highprice")%>元/M<sup>2</sup></td>
        <td class="zzz" width="25%" bgColor="#eeeeee"><%=rsd("tel")%></td>
      </tr>
      <%
      rsd.MoveNext
      if rsd.EOF then
      exit do
      end if
      %>
      <tr bgColor="#ffffff">
        <td class="zzz" width="25%"><a href="shownhouse.asp?hid=<%=rsd("hid")%>"><%=rsd("housename")%></a></td>
        <td class="zzz" width="8%" align="center"><%=rsd("district")%></td>
        <td class="zzz" width="24%"><%=rsd("houseaddress")%></td>
        <td class="zzz" width="18%" align="center"><%=rsd("lowprice")%>-<%=rsd("highprice")%>元/M<sup>2</sup></td>
        <td class="zzz" width="25%"><%=rsd("tel")%></td>
      </tr>
      <%
      rsd.MoveNext
      loop
      rsd.Close
      %>
      <tr>
        <td class="zzz" width="100%" bgColor="#eeeeee" height="15" align="right" colspan="5"><a href="newhouse.asp"><img src="images/more.gif" border="0" WIDTH="29" HEIGHT="9">更多新房信息</a></td>
      </tr>
</tbody>
    </table>
    </td>
  </tr>
</table>




        </td>
        </tr>
     </tr>
</tbody>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -