<!--#include file="fctop.asp"-->
<%function HTMLEncode(fString)
if not isnull(fString) then
    fString = replace(fString, ">", "&gt;")
    fString = replace(fString, "<", "&lt;")
    fString = Replace(fString, CHR(32), "&nbsp;")
    fString = Replace(fString, CHR(9), "&nbsp;")
    fString = Replace(fString, CHR(34), "&quot;")
    fString = Replace(fString, CHR(39), "&#39;")
    fString = Replace(fString, CHR(13), "")
    fString = Replace(fString, CHR(10) & CHR(10), "</P><P> ")
    fString = Replace(fString, CHR(10), "<BR> ")
    HTMLEncode = fString
end if
end function
dim fox
fox=request("fox")
dim rs,sql,dqsj,ggg
set rs=server.createobject("adodb.recordset")
sql = "select * from FOX_fang where id="&fox&" and yz=1"
rs.open sql,conn,1,3
if rs.eof then
response.write "该纪录未通过或者已被删除！"
response.end
end if
rs("llcs")=rs("llcs")+1
rs.update
%>
<script language="JavaScript">
function DrawImage(ImgD){
   var image=new Image();
   image.src=ImgD.src;
   if(image.width>0 && image.height>0){
    flag=true;
    if(image.width/image.height>= 120/80){
     if(image.width>120){  
     ImgD.width=80;
     ImgD.height=(image.height*80)/image.width;
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }

     }
    else{
     if(image.height>80){  
     ImgD.height=80;
     ImgD.width=(image.width*80)/image.height;     
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }

     }
    }
   /*else{
    ImgD.src="";
    ImgD.alt=""
    }*/
   }
function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {
    var e = form.elements[i];
    if (e.name != 'chkall' )
       e.checked = form.chkall.checked;
    }
  }
 function loadThreadFollow(t_id,b_id){
	var targetImg =eval("document.all.followImg" + t_id);
	var targetDiv =eval("document.all.follow" + t_id);
	
	if ("object"==typeof(targetImg)){
		if (targetDiv.style.display!='block'){
			targetDiv.style.display="block";
			
		}else{
			targetDiv.style.display="none";
		}
	}
}
</script>

<script LANGUAGE="JavaScript">
<!--
function checkMobile(){
	var sMobile = document.mobileform.mobile.value
	if(!(/^13[0-9]\d{4,8}$/.test(sMobile))){
		alert("不是完整的11位手机号或者正确的手机号前七位");
		document.mobileform.mobile.focus();
		return false;
	}
	window.open('', 'mobilewindow', 'height=197,width=350,status=yes,toolbar=no,menubar=no,location=no')
}
//-->
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rs("fangbt")%>--房产频道--<%=title%>--<%=web%></title>
</head>

<body>

<div align="center">
<table cellSpacing="0" cellPadding="0" width="930" border="0" id="table1" class="tdtop">
		<tr>
			<td  height="25" colspan="3"><b>&nbsp;&gt;&gt; 您的位置  
			<font color="#FFFFFF">-></font> <a class="scap1" href="index.htm"><%=title%></a>
			<font color="#FFFFFF">-></font> <a href="fangindex.asp">房产房源</a>频道： <%=rs("fangbt")%></b>
			</td>
		</tr>
		
		<tr bgColor="#d9ebe5">
			<td  height="25" bgcolor="#FFFFFF" width="634" valign="top">
<table border="0" width="100%" id="table489" cellspacing="0" cellpadding="0" height="5">
	<tr>
		<td></td>
	</tr>
</table>
<table border="0" width="100%" id="table170" cellspacing="0" cellpadding="0">
	<tr>
		<td height="24" width="183" class="tdbg2">&nbsp; <b>
		<font color="#FF0000">信息ID：2008<%=rs("id")%></b></font></td>
		<td height="24" align="center">[友情提示]信誉度依次为：<font color="#FF0000"><%=cname%>会员</font> ＞ <font color="#FF0000"><%=bname%>会员</font> ＞ <font color="#FF0000"><%=aname%>会员</font> ＞  
		<font color="#FF0000">一般游客</font></td>
	</tr>
</table>
<table class="table2" width="634" cellspacing="0" cellpadding="0">
<%dim rsq,sqlq,class1c,class2c,leixingc,shengc,shic
set rsq=server.createobject("adodb.recordset") 
sqlq = "select sheng from [FOX_sheng] where id="&rs("sheng")&""
rsq.open sqlq,conn,1,1
shengc=rsq("sheng")
rsq.close
set rsq=nothing
set rsq=server.createobject("adodb.recordset") 
sqlq = "select shi from [FOX_shi] where id="&rs("shi")&""
rsq.open sqlq,conn,1,1
shic=rsq("shi")
rsq.close
set rsq=nothing
%>	
<tr>
		<td height="30" class="tdbg4">
 
		　</td>
		<td height="30" class="tdbg4" valign="bottom" width="459"><b><%=rs("fangbt")%></b>
		<%dim str,myArr
              str=""&rs("fanghx")&""
              myArr=Split(str,"|") 
              %>
              <%if myArr(0)<>"0" then
              response.write"<font color=gray><b>"&myArr(0)&"室</b></font>"
              end if%>
              <%if myArr(1)<>"0" then
              response.write"<font color=gray><b>"&myArr(1)&"厅</b></font>"
              end if%>
              <%if myArr(2)<>"0" then
              response.write"<font color=gray><b>"&myArr(2)&"卫</b></font>"
              end if%>
              <%if myArr(3)<>"0" then
              response.write"<font color=gray><b>"&myArr(3)&"阳台</b></font>"
              end if%>
              <font color=gray>[<%=rs("fangfx")%>]</font>
              </td>
	</tr>
<tr>
		<td height="30" class="tdbg4">
 
		　</td>
		<td height="30" class="tdbg4" width="459">
 <%if rs("huitype")=0 then%><font color="#FF0000"><%=aname%>会员</font><%elseif rs("huitype")=1 then%><font color="#FF0000"><%=bname%>会员</font><%elseif rs("huitype")=5 then%><font color="#FF0000">一般游客</font><%else%><font color="#FF0000"><%=cname%>会员</font><%end if%><font color="#FF0000">发布</font>
		<font color=gray>可信度：</font><%if rs("huitype")=0 then%><img border="0" src="<%=css%>star2.gif"><%elseif rs("huitype")=1 then%><img border="0" src="<%=css%>star3.gif"><%elseif rs("huitype")=5 then%><img border="0" src="<%=css%>star1.gif"><%else%><img border="0" src="<%=css%>star4.gif"><%end if%>　<font color=gray>人气：</font><font color="#FF0000"><%=rs("llcs")%></font>
		　</td>
	</tr>
<tr>
		<td height="30" class="tdbg4">
 
		　</td>
		<td height="30" class="tdbg4" width="459">
 <font color=gray>发布时间：<%=year(rs("fangfbsj"))%>-<%=month(rs("fangfbsj"))%>-<%=day(rs("fangfbsj"))%></font>
<br><font color=gray>过期时间：<%=year(rs("fangyxq"))%>-<%=month(rs("fangyxq"))%>-<%=day(rs("fangyxq"))%></font>
		　</td>
	</tr>
<tr>
		<td height="20" class="tdbg4">
 
		　</td>
		<td height="20" class="tdbg4" width="459">
 
		　</td>
	</tr>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>类型：</font></td>
		<td height="26" class="tdbg4" width="459">
		<%dim foxl
		foxl=rs("leixing")%>
		<%if foxl=1 then%><a href="fangindex.asp?leixing=<%=rs("leixing")%>">出租</a>
		<%elseif foxl=2 then%><a href="fangindex.asp?leixing=<%=rs("leixing")%>">求租</a>
		<%elseif foxl=3 then%><a href="fangindex.asp?leixing=<%=rs("leixing")%>">出售</a>
		<%elseif foxl=4 then%><a href="fangindex.asp?leixing=<%=rs("leixing")%>">求购</a>
		<%end if%></td>
	</tr>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>所属区域：</font></td>
		<td height="26" class="tdbg4" width="459">
		<a href="fangindex.asp?=<%=rs("sheng")%>"><%=shengc%></a>  
		<a href="fangindex.asp?=<%=rs("shi")%>"> <%=shic%></a>
		　</td>
	</tr>
<%if rs("leixing")=1 then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>具体地址：</font></td>
		<td height="26" class="tdbg4" width="459">
		<%if rs("fangxq")<>"" then
              response.write"["&rs("fangxq")&"]"
              end if%><%=rs("fangdz")%>
 　</td>
	</tr>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		　<font color=gray>楼层：</font></td>
		<td height="26" class="tdbg4" width="459">
		<%dim str1,myArr1
              str1=""&rs("fanglc")&""
              myArr1=Split(str1,"|") 
              %>
              <%
              response.write"第"&myArr1(0)&"层"
              response.write"/总"&myArr1(1)&"层"
              %>              
 　</td>
	</tr>

	
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>租金：</font></td>
		<td height="26" class="tdbg4" width="459">
		<font color="#FF0000"><%=rs("fangjia")%></font><%=rs("fangdw")%>&nbsp; 
		<font color="#FF0000">（最短租期：<%=rs("fangzq")%>）</font></td>
	</tr>
<%if rs("fangjzm")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>建筑面积：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangjzm")%>平方米
		　</td>
	</tr>
<%end if%>
<%if rs("fangfk")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>付款要求：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangfk")%>（押金：<%=rs("fangyj")%>）
		　</td>
	</tr>
<%end if%>	
<%if rs("fangzxc")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>装修程度：</font></td>
		<td height="26" class="tdbg4" width="459">
		<%if rs("fangzxc")="尚未装修" then%>
		<img border="0" src="fangimages/xuanze-dan-on.gif">尚未装修
		<%else%>
		<img border="0" src="fangimages/xuanze-dan-off.gif">尚未装修
		<%end if%>
		<%if rs("fangzxc")="简单装修" then%>
		<img border="0" src="fangimages/xuanze-dan-on.gif">简单装修
		<%else%>
		<img border="0" src="fangimages/xuanze-dan-off.gif">简单装修
		<%end if%>
		<%if rs("fangzxc")="中档装修" then%>
		<img border="0" src="fangimages/xuanze-dan-on.gif">中档装修
		<%else%>
		<img border="0" src="fangimages/xuanze-dan-off.gif">中档装修
		<%end if%>
		<%if rs("fangzxc")="高档装修" then%>
		<img border="0" src="fangimages/xuanze-dan-on.gif">高档装修
		<%else%>
		<img border="0" src="fangimages/xuanze-dan-off.gif">高档装修
		<%end if%>
		　</td>
	</tr>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>配套设施：</font></td>
		<td height="26" class="tdbg4" width="459">
           <%dim str2,myArr2
              str2=""&rs("fangpt")&""
              myArr2=Split(str2,"|") 
              %>
              <table border="0" width="100%" cellspacing="0" cellpadding="0">
	<tr>
		<td><%if myArr2(0)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 厨房 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 厨房 "
              end if%></td>
		<td><%if myArr2(1)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 床 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 床 "
              end if%></td>
		<td><%if myArr2(2)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 家具 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 家具 "
              end if%></td>
		<td><%if myArr2(3)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 有线电视 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 有线电视 "
              end if%></td>
		<td><%if myArr2(4)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 宽带网 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 宽带网 "
              end if%></td>
		<td><%if myArr2(5)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 电话 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 电话 "
              end if%></td>
		<td><%if myArr2(6)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 热水器 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 热水器 "
              end if%></td>
	</tr>
	<tr>
		<td><%if myArr2(7)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 电视机 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 电视机 "
              end if%></td>
		<td><%if myArr2(8)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 空调 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 空调 "
              end if%></td>
		<td><%if myArr2(9)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 洗衣机 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 洗衣机 "
              end if%></td>
		<td><%if myArr2(10)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 冰箱 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 冰箱 "
              end if%></td>
		<td><%if myArr2(11)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 煤气 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 煤气 "
              end if%></td>
		<td><%if myArr2(12)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 暖气 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 暖气 "
              end if%></td>
		<td><%if myArr2(13)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 汽车库 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 汽车库 "
              end if%></td>
	</tr>
	</table>
           </td>
	</tr>
	<%end if%>	
		
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>是不是中介：</font></td>
		<td height="26" class="tdbg4" width="459">
           　<%if rs("fangjai")=1 then%>我是中介！
           <%if rs("fangjaif")=1 then%>　<font color="#FF0000">收取中介费</font><%else%>　<font color="#FF0000">免收中介费</font><%end if%>
           <%else%><font color="#FF0000">我是房东！</font><%end if%></td>
	</tr>
			
<%if rs("fangsm")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>详细说明：</font></td>
		<td height="26" class="tdbg4" width="459"><%=HTMLEncode(rs("fangsm"))%>
		　</td>
	</tr>
<%end if%>		
<%end if%>
<%if rs("leixing")=2 then%>
<%if rs("fangxq")<>"" then%><tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>靠近地段：</font></td>
		<td height="26" class="tdbg4" width="459">
		<%
              response.write""&rs("fangxq")&""
              %>
 　</td>
	</tr>
	<%end if%>
	<%if rs("fangzq")<>"" then%><tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>最短租期：</font></td>
		<td height="26" class="tdbg4" width="459">
		
              <%response.write""&rs("fangzq")&""%>
              
 　</td>
	</tr>
	<%end if%>
	<%if rs("fangjia")<>"" then%><tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>求租价：</font></td>
		<td height="26" class="tdbg4" width="459">
		
              <%response.write"<font color=red>"&rs("fangjia")&"</font>"%> 元左右
              
 　</td>
	</tr>
	<%end if%>	
	<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>是不是中介：</font></td>
		<td height="26" class="tdbg4" width="459">
           　<%if rs("fangjai")=1 then%>我是中介！
           <%if rs("fangjaif")=1 then%>　<font color="#FF0000">收取中介费</font><%else%>　<font color="#FF0000">免收中介费</font><%end if%>
           <%else%><font color="#FF0000">我是个人！</font><%end if%></td>
	</tr>
	<%if rs("fangsm")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>详细说明：</font></td>
		<td height="26" class="tdbg4" width="459"><%=HTMLEncode(rs("fangsm"))%>
		　</td>
	</tr>
<%end if%>
<%end if%>
<%if rs("leixing")=3 then%>

<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>具体地址：</font></td>
		<td height="26" class="tdbg4" width="459">
		<%if rs("fangxq")<>"" then
              response.write"["&rs("fangxq")&"]"
              end if%><%=rs("fangdz")%>
 　</td>
	</tr>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		　<font color=gray>楼层：</font></td>
		<td height="26" class="tdbg4" width="459">
		<%
              str1=""&rs("fanglc")&""
              myArr1=Split(str1,"|") 
              %>
              <%
              response.write"第"&myArr1(0)&"层"
              response.write"/总"&myArr1(1)&"层"
              %>              
 　</td>
	</tr>

	
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>出售总价：</font></td>
		<td height="26" class="tdbg4" width="459">
		<font color="#FF0000"><%=rs("fangjia")%></font>元</td>
	</tr>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>房屋产权：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangdw")%></td>
	</tr>	
<%if rs("fangyz")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>建筑年代：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangyj")%>年
		　</td>
	</tr>
	<%end if%>
	<%if rs("fangzq")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>建筑面积：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangzq")%>平方米
		　<%if rs("fangjzm")<>"" then%>
              （使用面积：<%response.write""&rs("fangjzm")&""%>
              平方米）<%end if%></td>
	</tr>
<%end if%>
	<%if rs("fangfk")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>房屋朝向：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangfk")%>
		　</td>
	</tr>
<%end if%>
<%if rs("fangzxc")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>装修程度：</font></td>
		<td height="26" class="tdbg4" width="459">
		<%if rs("fangzxc")="尚未装修" then%>
		<img border="0" src="fangimages/xuanze-dan-on.gif">尚未装修
		<%else%>
		<img border="0" src="fangimages/xuanze-dan-off.gif">尚未装修
		<%end if%>
		<%if rs("fangzxc")="简单装修" then%>
		<img border="0" src="fangimages/xuanze-dan-on.gif">简单装修
		<%else%>
		<img border="0" src="fangimages/xuanze-dan-off.gif">简单装修
		<%end if%>
		<%if rs("fangzxc")="中档装修" then%>
		<img border="0" src="fangimages/xuanze-dan-on.gif">中档装修
		<%else%>
		<img border="0" src="fangimages/xuanze-dan-off.gif">中档装修
		<%end if%>
		<%if rs("fangzxc")="高档装修" then%>
		<img border="0" src="fangimages/xuanze-dan-on.gif">高档装修
		<%else%>
		<img border="0" src="fangimages/xuanze-dan-off.gif">高档装修
		<%end if%>
		　</td>
	</tr>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>配套设施：</font></td>
		<td height="26" class="tdbg4" width="459">
           <%
              str2=""&rs("fangpt")&""
              myArr2=Split(str2,"|") 
              %>
              <table border="0" width="100%" cellspacing="0" cellpadding="0">
	<tr>
		<td><%if myArr2(0)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 厨房 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 厨房 "
              end if%></td>
		<td><%if myArr2(1)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 床 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 床 "
              end if%></td>
		<td><%if myArr2(2)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 家具 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 家具 "
              end if%></td>
		<td><%if myArr2(3)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 有线电视 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 有线电视 "
              end if%></td>
		<td><%if myArr2(4)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 宽带网 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 宽带网 "
              end if%></td>
		<td><%if myArr2(5)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 电话 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 电话 "
              end if%></td>
		<td><%if myArr2(6)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 热水器 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 热水器 "
              end if%></td>
	</tr>
	<tr>
		<td><%if myArr2(7)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 电视机 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 电视机 "
              end if%></td>
		<td><%if myArr2(8)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 空调 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 空调 "
              end if%></td>
		<td><%if myArr2(9)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 洗衣机 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 洗衣机 "
              end if%></td>
		<td><%if myArr2(10)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 冰箱 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 冰箱 "
              end if%></td>
		<td><%if myArr2(11)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 煤气 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 煤气 "
              end if%></td>
		<td><%if myArr2(12)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 暖气 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 暖气 "
              end if%></td>
		<td><%if myArr2(13)="ON" then
              response.write"<img border=0 src=fangimages/xuanze-on.gif> 汽车库 "
              else
              response.write"<img border=0 src=fangimages/xuanze-off.gif> 汽车库 "
              end if%></td>
	</tr>
	</table>
           </td>
	</tr>
	<%end if%>	
		
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>是不是中介：</font></td>
		<td height="26" class="tdbg4" width="459">
           　<%if rs("fangjai")="1" then%>我是中介！
           <%if rs("fangjaif")="1" then%>　<font color="#FF0000">收取中介费</font><%else%>　<font color="#FF0000">免收中介费</font><%end if%>
           <%else%><font color="#FF0000">我是房东！</font><%end if%></td>
	</tr>
			
<%if rs("fangsm")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>详细说明：</font></td>
		<td height="26" class="tdbg4" width="459"><%=HTMLEncode(rs("fangsm"))%>
		　</td>
	</tr>
<%end if%>		
<%end if%>	
<%if rs("leixing")=4 then%>	
<%if rs("fangdw")<>"" then%><tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>房屋产权：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangdw")%></td>
	</tr>
	<%end if%>	
<%if rs("fangyz")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>建筑年代：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangyj")%>年
		　</td>
	</tr>
	<%end if%>
	<%if rs("fangzq")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>建筑面积：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangzq")%>平方米
		　<%if rs("fangjzm")<>"" then%>
              （使用面积：<%response.write""&rs("fangjzm")&""%>
              平方米）<%end if%></td>
	</tr>
<%end if%>
	<%if rs("fangfk")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>房屋朝向：</font></td>
		<td height="26" class="tdbg4" width="459"><%=rs("fangfk")%>
		　</td>
	</tr>
<%end if%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>求购价：</font></td>
		<td height="26" class="tdbg4" width="459">
		<font color="#FF0000"><%=rs("fangjia")%></font>元</td>
	</tr>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>是不是中介：</font></td>
		<td height="26" class="tdbg4" width="459">
           　<%if rs("fangjai")="1" then%>我是中介！
           <%if rs("fangjaif")="1" then%>　<font color="#FF0000">收取中介费</font><%else%>　<font color="#FF0000">免收中介费</font><%end if%>
           <%else%><font color="#FF0000">我是个人！</font><%end if%></td>
	</tr>
			
<%if rs("fangsm")<>"" then%>
<tr>
		<td height="26" class="tdbg4" align="right">
 
		<font color=gray>详细说明：</font></td>
		<td height="26" class="tdbg4" width="459"><%=HTMLEncode(rs("fangsm"))%>
		　</td>
	</tr>
<%end if%>	
<%end if%>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="8">
	<tr>
		<td></td>
	</tr>
</table>
<table border="0" width="100%" id="table490" cellspacing="0" cellpadding="0" class="table2">
	<tr>
		<td width="168" class="tdbg2" align="center">联系人信息</td>
		<td>&nbsp;&nbsp; </td>
	</tr>
	<tr>
		<td width="168">　</td>
		<td>　</td>
	</tr>
	<tr>
		<td width="168">　</td>
		<td><font color="gray">联系人：</font><%=rs("fanglxr")%>
		<br><font color="gray">联系电话：</font><font color="#FF0000"><%=rs("fangtel")%></font>
		<%if rs("fangmod")<>"" then%>
		<br><font color="gray">联系手机：</font><form action="http://www.ip138.com:8080/search.asp" method="post" onsubmit="return checkMobile();" target="mobilewindow" name="mobileform" style="margin:0">
           <input type="hidden" name="action" value="mobile"><input class="inputa" maxLength="11" name="mobile" size="15" value="<%=rs("fangmod")%>" style="border: 1px solid #FFFFFF"> 
           <input class="input" type="submit" value="查询此号属地" style="border:1px solid #000000; background-color:#FFFFFF"></form>
           <%end if%>
         <%if rs("fangqq")<>"" then%>
         <br><font color="gray">联系QQ：</font><%=rs("fangqq")%><%end if%>
		<br><font color="gray">联系邮箱：</font><%=rs("fangemail")%></td>
	</tr>
	<tr>
		<td width="168">　</td>
		<td>　</td>
	</tr>
</table>
<table border="0" width="100%" id="table491" cellspacing="0" cellpadding="0">
	<tr>
		<td><font color="gray">特别提醒：<br>
		本站作为免费交易平台，信息均由用户自行发布，真实性未经证实，请谨慎采用，风险自负。双方在交易时应主动核实对方身份及所发布信息真伪。近期发现有诈骗现象，提醒广大会员特别注意，租房买房前一定要看产权和户主身份证等证件，不要心存任何侥幸心理，被骗子的各种借口蒙蔽。</font></td>
	</tr>
</table>
<%rs.close
set rs=nothing%>
</td>
			<td  height="25" bgcolor="#FFFFFF" width="35" valign="top" align="center">
			<img border="0" src="<%=css%>bgfox8.jpg"></td>
			<td  height="25" bgcolor="#FFFFFF" width="260" valign="top" align="right">
		<table id="table488" width="98%" class="table2">
<tr><td height="24" class="tdbg2">&nbsp;最新 <%if foxl=1 then%><a href="fangindex.asp?leixing=<%=foxl%>">出租</a>
		<%elseif foxl=2 then%><a href="fangindex.asp?leixing=<%=foxl%>">求租</a>
		<%elseif foxl=3 then%><a href="fangindex.asp?leixing=<%=foxl%>">出售</a>
		<%elseif foxl=4 then%><a href="fangindex.asp?leixing=<%=foxl%>">求购</a>
		<%end if%>房源信息</td></tr>
<%dim ns2,rsfox,sqlfox
set rsfox=server.createobject("adodb.recordset")
sqlfox="select top 36 * from FOX_fang where yz=1 and leixing="&foxl&" order by fangfbsj desc"
rsfox.open sqlfox,conn,1,1
if rsfox.eof then
response.write "还没有...！"
else
do while not rsfox.eof
%>
<%dim rsfoxf,sqlfoxf,rsx,sqlx
set rsfoxf=server.createobject("adodb.recordset")
sqlfoxf="select sheng from FOX_sheng where id="&rsfox("sheng")&""
rsfoxf.open sqlfoxf,conn,1,1
set rsx=server.createobject("adodb.recordset")
sqlx="select shi from FOX_shi where id="&rsfox("shi")&""
rsx.open sqlx,conn,1,1
%><tr><td height="23"><a href="fangindex.asp?sheng=<%=rsfox("sheng")%>"><font color="#FF0000">[<%=rsfoxf("sheng")%>]</font></a> 
[<a href="fangindex.asp?shi=<%=rsfox("shi")%>"><font class="z4"><%=rsx("shi")%></font></a>] 
<A href="fanginfo.asp?fox=<%=rsfox("id")%>" title="<%=rsfox("fangbt")%>"><%=left(rsfox("fangbt"),16)%></a>
</td></tr><%
ns2=ns2+1
if ns2>=20 then exit do
rsfox.movenext
loop
end if
rsx.close
set rsx=nothing
rsfoxf.close
set rsfoxf=nothing
rsfox.close
set rsfox=nothing
%></table></td>
		</tr>
		
</table>
</div>

</body>
<!--#include file="ffbottom.asp"--></body></html>

</body></html>