<!--#include file=webhead.asp-->
<%dim id
		id=trim(request("id"))
		if IsNumeric(request.QueryString("id"))=False or request.QueryString("id")="" then
		response.write"<SCRIPT language=JavaScript>alert('参数错误！');"
		response.end	
		end if
		sql="select * from sell2 where   id=" &id & " and (by_shenhe=1 ) "
		Set rs= Server.CreateObject("ADODB.Recordset")
		rs.open sql,conn,1,3
		if rs.bof and rs.eof then
		response.write"<SCRIPT language=JavaScript>alert('参数错误！');"
		response.end
		else
		rs("count")=rs("count")+1
		rs.update
		pinlunid=rs("id")
		end if
			pinlunid=rs("id")
		title=rs("address")
		classid=3
		%>
<title><%=webname%>-二手房求购-<%=rs("address")%></title>
<%
Public sub StrCount2(Str)
		Counter = 0
		z=0
		For I = 1 To Len(Trim(Str))
			If Asc(Mid(Str, I, 1))<0 Then
				Counter = Counter + 2
			Else
			Counter = Counter + 1
			
	
			end if
			if counter >= 28 then
			z=i
			response.write  left(str,z)
			exit for
			end if
		Next
		if z=0 then
			response.write str
end if
End sub
%>
<center>
<table border="0" width="784" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px" >
		<tr>
			<td bgcolor="#E9E9E9" height=2></td>
				</tr>
		<tr>
			<td height=5></td>
				</tr>
		<tr>
			<td align="center">
			<p align="center">
												<p align="center"><%if ad2453class=0 then%><a target="_blank" href="<%=ad2453url%>"><img  alt="<%=ad2453name%>" src="<%=ad2453%>"  border="0" width=777 height=123></a>
	<%else%>
													<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="777" height="123">
	<param name="movie" value="<%=ad2453%>">
	<param name="quality" value="High">
	<embed src="<%=ad2453%>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="777" height="123"></object>

	<%end if%>
	
												
												</td>
				</tr>
		<tr>
			<td height=5></td>
				</tr>
		<tr>
			<td height=5></td>
				</tr>
			</table>

	<table border="0" width="784" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px">
			<tr>
			<td >
							<p align="center">　</td>
			<td>
							　</td>
			<td  align="right">
							<a href="index.asp">二手房出售</a> <a href="index2.asp">
							<font color="#FF0000">二手房求购</font></a>&nbsp;&nbsp; |&nbsp;&nbsp;
							<a href="../user/">发布二手房出售</a> <a href="../user/">发布二手房求购</a>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;
							<a href="../user/reg.asp">会员注册</a>
							<a href="../user/login.asp">会员登录</a>&nbsp;&nbsp;&nbsp;</td>
		</tr>
		<tr>
			<td colspan="3"  height=8></td>
		</tr>
		<tr>
			<td colspan="3">
			<div align="center">
				<table border="0" width="100%" cellspacing="0" cellpadding="0">
					<tr>
						<td><div align="center"><!--#include file="in_search2.asp"-->
				　</td>
					</tr>
				</table>
			</div>
			</td>
		</tr>
		
	</table>
<div align="center">
	<table border="0" width="784" cellpadding="0" style="border-collapse: collapse; border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px" bordercolor="#000000">
		<tr>

<td width="200" valign="top" >
<!--#include file="in_buynotice.asp"-->
								<!--#include file="in_policy.asp"-->
			　</td>

				<td width=3 bgcolor="#ffffff">　</td>
			<td width=1 bgcolor="#E9E9E9">　</td>
			<td width=3 bgcolor="#ffffff">　</td>
			<td width=580 valign="top" align="center">
				<table border="0" width="99%" cellspacing="0" cellpadding="0">
												<tr>
													<td bgcolor="#F7F7F7" height=20>
													&nbsp;二手房出售 </td>
															
													<td bgcolor="#F7F7F7" height=20>
													<p align="right"> &nbsp;&nbsp; </td>
															
													<td bgcolor="#E9E9E9"  width=2></td>
												</tr>
												<tr>
												
													<td bgcolor="#E9E9E9" height=2 colspan="2"></td>
													<td bgcolor="#E9E9E9" height=2 colspan="1"></td>

												</tr>
											</table>
	<table border="0" width="100%">
												<tr>
													<td height=3></td>
												</tr>
					</table>
				<div align="center">
				<table width="95%" border="0" cellpadding="2" class="selllefttop">
					<tr >
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;信息编号:&nbsp;<%=rs("id")%></td>
						<td width="50%" align="center" >
						　</td>
					</tr>
							

				
					<tr >
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;详细地址:&nbsp;<font color="#FF0000"><%=rs("address")%></font><font color="#ff0000">
						</font>
						</td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;物业类型:&nbsp;<%if rs("sort")=1 then			response.write "普通住宅"
							if rs("sort")=2 then			response.write "小高层住宅"
							if rs("sort")=3 then			response.write "高层住宅"
							if rs("sort")=4 then			response.write "别墅"
							if rs("sort")=5 then			response.write "写字楼"
							if rs("sort")=6 then			response.write "店面房"
							if rs("sort")=7 then			response.write "厂房"
							if rs("sort")=8 then			response.write "车库车位"
							if rs("sort")=9 then			response.write "公寓"
							if rs("sort")=10 then			response.write "单身公寓"
							if rs("sort")=11 then			response.write "其他"

							%></td>
					</tr>
							

				
					<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;房产地区:&nbsp;</span><%
                  set rss=server.createobject("adodb.recordset")
sqls="select * from province where shengNo="&int(rs("province"))
rss.open sqls,conn,1,1
if rss.eof then

end if
if rs("province") =0 then
response.write "不详"
end if
               response.write  rss("shengname")
               shengid=rss("id")
                rss.close
                set rss=nothing
                %>
                <%
                  set rss=server.createobject("adodb.recordset")
sqls="select * from city where Shengid="&shengid&" and  shino="&int(rs("city"))
rss.open sqls,conn,1,1
if rss.eof then

end if
               response.write  rss("shiname")
                rss.close
                set rss=nothing
                %>
				　</font></td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;建筑面积:&nbsp;<%=rs("area")%>㎡</td>
					</tr>
							

				
					<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;房子套型:&nbsp;<%=rs("room")%>室<%=rs("hall")%>厅<%=rs("toilet")%>卫</td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;使用面积:&nbsp;<%=rs("usearea")%>㎡</td>
					</tr>
							

				
					<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;物业公司:&nbsp;<%=rs("company")%></td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;房屋楼层:&nbsp;<%=rs("floor")%>楼/共<%=rs("floor2")%>层</td>
					</tr>
							

				
					<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;建成日期:&nbsp;<%if rs("build")=0 then
						response.write "不明"
						else
						response.write rs("build")&"年"
						end if
						%></td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;房屋朝向:&nbsp;<%
					if rs("face")=0 then
					response.write "东"
					end if
					if rs("face")=1 then
					response.write "南"
					end if
					if rs("face")=2 then
					response.write "西"
					end if
					if rs("face")=3 then
					response.write "北"
					end if
					
					%></td>
					</tr>
							<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;房屋产权:&nbsp<%if rs("property")=0 then
						response.write "产权"
						end if
						if rs("property")=1 then
						response.write "使用权"
						end if
						
						%></td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;房屋售价:&nbsp;<%if rs("money")=0 then
						response.write "面议"
						else
						response.write rs("money")&"万元"
						end if
						
						
						%>
						</td>
					</tr>
							<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;装修情况:&nbsp;<%
						if rs("fitment")=0 then
						response.write "无"
						end if
						if rs("fitment")=1 then
						response.write "一般"
						end if
						if rs("fitment")=2 then
						response.write "精装"
						end if
						if rs("fitment")=3 then
						response.write "豪华"
						end if
						
 %></td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;车棚情况:&nbsp;<%if rs("carport")=1 then%>无<%end if%>
						<%if rs("carport")=2 then%>独立车棚<%end if%>
						<%if rs("carport")=3 then%>公用车棚<%end if%>
						<%if rs("carport")=4 then%>独立汽车库<%end if%>
						<%if rs("carport")=5 then%>公用停车位<%end if%>
						</td>
					</tr>
							<tr>
						<td width="100%" align="center" colspan="2" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;屋内设备:&nbsp;<%if rs("establishment1")=1 then%>水、<%end if%> 
						 <%if rs("establishment2")=1 then%>电、<%end if%>
						  <%if rs("establishment3")=1 then%>煤气、<%end if%> 
						   <%if rs("establishment4")=1 then%>互联网线、<%end if%> 
						    <%if rs("establishment5")=1 then%>电话、<%end if%> 
						     <%if rs("establishment6")=1 then%>有线电视、<%end if%></td>
					</tr>
							<tr>
						<td width="50%" align="center" >
						　</td>
						<td width="50%" align="center" >
						　</td>
					</tr>
							<tr>
						<td width="100%" align="center" bgcolor="#F7F7F7" colspan="2" >
						<p align="left">联系方式</td>
					</tr>
							<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;联 系 
						人:&nbsp;<%=rs("linkman")%></td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;有 效 期:&nbsp;<%if rs("period") <>"" then
						response.write rs("period")&"天"
						end if
						%></td>
					</tr>
							<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;电话号码:&nbsp;<%=rs("mobile")%></td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;电子邮件:&nbsp;<%=rs("email")%></td>
					</tr>
							<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;手机号码:&nbsp;<%=rs("tel")%></td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;联系方式:&nbsp;<%if rs("contract2") <>"" then
						if rs("contract")="qq" then
						response.write "QQ:"
						else
						response.write"MNS:"
						end if
						response.write rs("contract2")
						end if
						
						%></td>
					</tr>
							<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;信息类型:&nbsp;<%if rs("pubsort")=1 then
						response.write "本站发布"
						end if
						if rs("pubsort")=2 then
						response.write "中介发布"
						end if
						if rs("pubsort")=3 then
						response.write "个人发布"
						end if
						
						%></td>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;登记日期:&nbsp;<%if rs("guding")=1 then
						response.write rs("gddate")
						else
						response.write rs("adddate")
						end if
						%></td>
					</tr>
							

				
							<tr>
						<td width="50%" align="center" >
						<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;人气指数:&nbsp;<%=rs("count")%></td>
						<td width="50%" align="center" >
						<p align="left">　</td>
					</tr>
							

				
					<tr>
						<td width="50%" align="center" >
						　</td>
						<td width="50%" align="center" >　</td>
					</tr>
							

				
					<tr>
						<td width="100%" align="center" colspan="2" bgcolor="#F7F7F7" >
						<p align="left">详细介绍</td>
					</tr>
							

				
					<tr>
						<td width="100%" align="center" colspan="2" >
						<table border="0" width="87%" cellspacing="0" cellpadding="0">
							<tr>
								<td>　</td>
							</tr>
							<tr>
								<td><%=rs("content")%>　</td>
							</tr>
						</table>
						<p align="left"></td>
					</tr>
							

				
					<tr>
						<td width="50%" align="center" >
						　</td>
						<td width="50%" align="center" >　</td>
					</tr>
							

				
					<tr>
						<td width="100%" align="center" colspan="2" >
						<p align="left">　</td>
					</tr>
							

				
					<tr>
						<td width="50%" align="center" >
						　</td>
						<td width="50%" align="center" >　</td>
					</tr>
							

				
					<tr>
						<td width="100%" align="center" colspan="2" ><!--#include file=../pinlun.asp-->
						　</td>
					</tr>
							

				
					</table>
				</div>
				</div>
				</td>
		</tr>
		</table>
<table border="0" width="784" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px" >
		<tr>
			<td  height=2></td>
				</tr>
			<td align="center"></td>
				</tr>
		<tr>
			<td height=5></td>
				</tr>
			</table>

</div>
</center>
<!--#include file=webfoot.asp-->