<!--#include file="../inc/config.asp"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="../newhouse/inc/function.asp"-->
<!-- #include file="inc/Session.asp" -->
<!-- #include file="inc/checkrole.asp" -->
<!-- #include file="inc/function.asp" -->
<%
'''''''''''''''''''''''''''''''''''''''''''''''
call checkPrevilege(Session("Name"),"p22")
'''''''''''''''''''''''''''''''''''''''''''''''
dim lp_id
lp_id=Clng(request.QueryString("lp_id"))
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>修改楼盘</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<style>
body,td,input,textarea {font-size:9pt}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
.input{ width:98%;}
.textarea{ width:98%;}
#MapResult{ font-size:12px; color:#F00; font-weight:bold;}
</style>
<script type="text/javascript" src="/js/http.js"></script>
<script type="text/javascript">
function check(obj){
	if(obj.Title.value==""){
		alert("名称不能为空!");
		obj.Title.focus();
		return false;
	}else if(obj.f_price.value==""){
		alert("均价不能为空!");
		obj.f_price.focus();
		return false;
	}
	return true;
}
function checkint(elem)
{
  var checkOK = "0123456789";
  var checkStr = elem.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
		ch = checkStr.charAt(i);
    	for (j = 0;  j < checkOK.length;  j++)
      	if (ch == checkOK.charAt(j))
        break;
    	if (j == checkOK.length)
    	{
      		allValid = false;
      		break;
    	}
  }
  if (!allValid)
  {
    	alert("只能输入数字。");
    	elem.focus();
			elem.select();
    	return (false);
  }
  return (true);
}
function charOptions(c){
	var sele="";
	var fonts = new Array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z');

	for(var i=0;i<fonts.length;i++){
		if(c==fonts[i])
			sele=" selected=selected";
		else
			sele="";		
		document.write('<option value="'+fonts[i]+'"'+sele+'>'+fonts[i]+'</option>');
	}
}
function GetEduArea(areaid,eduareaid){	
			var areaSelect=document.getElementById('EduArea');
			areaSelect.options.length = 0;		
			var xmlhttp;	 
			xmlhttp=getXMLRequester();	
			if(xmlhttp){	
				xmlhttp.onreadystatechange = function doAction() {		
					if (xmlhttp.readyState == 4)
					{			
						/*alert(xmlhttp.responseText);*/				
						var response = xmlhttp.responseXML.documentElement;
						var classidList = response.getElementsByTagName('area');	
						areaSelect.options[0]=new Option("选择学区",0);
						for(var i=0;i<classidList.length;i++){
							xx=classidList[i].getElementsByTagName('id');
							yy=classidList[i].getElementsByTagName('title');
							classid=xx[0].firstChild.data
							classtitle=yy[0].firstChild.data				
							areaSelect.options[i+1]=new Option(classtitle,classid);							
							if(eduareaid==classid){
								areaSelect.options[i+1].selected=true;
							}
						}
					}
				};
				xmlhttp.open("POST", "get_eduareas.asp?pid="+areaid,true);
				xmlhttp.send("");
			}
}////////////////////////	
</script>
<script type="text/javascript" src="http://api.map.baidu.com/api?key=<%=Maps(0)%>&v=1.0&services=false" ></script>
<script language="JavaScript" src="../js/PublicJS.js"></script>
</HEAD>
<BODY>

<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><iframe src="right_top.htm" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" height="30" width="100%"></iframe></td>
  </tr>
</table>
<%
dim act,Title,Photo,LpTypeId,LpAreaId,f_jzlb,f_minprice,f_price,f_maxprice,f_zxqk,f_jtwz,f_kpsj,f_rzsj,f_jylb,f_fkfs,f_wydz,f_qclx,f_xsxk,f_kfs,f_sldz,f_sldh,f_desc,f_wy_zdmj,f_wy_jzmj,f_wy_lhl,f_wy_rjl,f_wy_dt,f_wy_cw,f_wy_wygs,f_wy_wyf,f_wy_zfs,f_wy_sgjd,f_ptss_zb,f_ptss_jc,lp_type_title,lp_area_title,f_hits,f_sort,f_price_unit,f_traffic_pic,MapX,MapY,MapZ,f_char,f_bbsurl,f_status,f_video,f_traffic,f_hxmj,f_cjtao,f_cjarea,EduArea,f_eduareatitle
act=request.QueryString("act")

if(act="mod") then	
	Title=trim(request.Form("Title"))	
	Photo=trim(request.Form("Photo"))
	f_traffic_pic=request.Form("f_traffic_pic")
	LpTypeId=Cint(request.Form("LpTypeId"))
	lp_type_title=getResourceTitle("t_lp_type",LpTypeId)
	LpAreaId=Cint(request.Form("LpAreaId"))
	lp_area_title=getResourceTitle("t_lp_area",LpAreaId)
	f_jzlb=trim(request.form("f_jzlb"))
	f_minprice=trim(request.form("f_minprice"))
	f_price=Clng(request.form("f_price"))
	f_price_unit=request.Form("f_price_unit")
	f_maxprice=trim(request.Form("f_maxprice"))
	f_zxqk=trim(request.Form("f_zxqk"))
	f_jtwz=trim(request.Form("f_jtwz"))
	f_kpsj=request.form("f_kpsj")
	f_rzsj=request.form("f_rzsj")
	f_jylb=request.form("f_jylb")
	f_fkfs=request.form("f_fkfs")
	f_wydz=request.form("f_wydz")
	f_qclx=request.form("f_qclx")
	f_xsxk=request.form("f_xsxk")
	f_kfs=request.form("f_kfs")
	f_sldz=request.form("f_sldz")
	f_sldh=request.form("f_sldh")
	f_desc=request.form("content1")
	f_wy_zdmj=request.form("f_wy_zdmj")
	f_wy_jzmj=request.form("f_wy_jzmj")
	f_wy_lhl=request.form("f_wy_lhl")
	f_wy_rjl=request.form("f_wy_rjl")
	f_wy_dt=request.form("f_wy_dt")
	f_wy_cw=request.form("f_wy_cw")
	f_wy_wygs=request.form("f_wy_wygs")
	f_wy_wyf=request.form("f_wy_wyf")
	f_wy_zfs=request.form("f_wy_zfs")
	f_wy_sgjd=request.form("f_wy_sgjd")
	f_ptss_zb=tohtml(request.form("f_ptss_zb"))
	f_ptss_jc=tohtml(request.form("f_ptss_jc"))
	f_hits=Clng(request.Form("f_hits"))
	f_sort=Clng(request.form("f_sort"))
	f_status=Cint(request.Form("f_status"))
	if(request.Form("MapX")<>"") then
		MapX=Cstr(request.Form("MapX"))
	else
		MapX=Maps(1)
	end if
	if(request.Form("MapY")<>"") then
		MapY=Cstr(request.Form("MapY"))
	else
		MapY=Maps(2)
	end if
	if(request.Form("MapZ")<>"") then
		MapZ=Cstr(request.Form("MapZ"))
	else
		MapZ="0"
	end if
	f_char=trim(request.Form("f_char"))
	f_bbsurl=request.Form("f_bbsurl")
	f_video=request.Form("f_video")
	f_traffic=tohtml(request.Form("f_traffic"))
	f_hxmj=request.Form("f_hxmj")
	f_cjtao=Clng(request.Form("f_cjtao"))
	f_cjarea=Clng(request.Form("f_cjarea"))
	EduArea=Cint(request.Form("EduArea"))
	f_eduareatitle=getResourceTitle("t_lp_edu_area",EduArea)
	'修改到库
	set rs=server.createobject("adodb.recordset")
	sql="select top 1 * from t_lp where id="&lp_id&" order by id desc "
	rs.open sql,conn,3,3
	if not rs.eof then		
		rs("Title")=Title		
		rs("Photo")=Photo
		rs("LpTypeId")=LpTypeId
		rs("LpAreaId")=LpAreaId
		rs("f_jzlb")=f_jzlb
		rs("f_minprice")=f_minprice
		rs("f_price")=f_price
		rs("f_maxprice")=f_maxprice
		rs("f_zxqk")=f_zxqk
		rs("f_jtwz")=f_jtwz
		rs("f_kpsj")=f_kpsj
		rs("f_rzsj")=f_rzsj
		rs("f_jylb")=f_jylb
		rs("f_fkfs")=f_fkfs
		rs("f_wydz")=f_wydz
		rs("f_qclx")=f_qclx
		rs("f_xsxk")=f_xsxk
		rs("f_kfs")=f_kfs
		rs("f_sldz")=f_sldz
		rs("f_sldh")=f_sldh
		rs("f_desc")=f_desc
		rs("f_wy_zdmj")=f_wy_zdmj
		rs("f_wy_jzmj")=f_wy_jzmj
		rs("f_wy_lhl")=f_wy_lhl
		rs("f_wy_rjl")=f_wy_rjl
		rs("f_wy_dt")=f_wy_dt
		rs("f_wy_cw")=f_wy_cw
		rs("f_wy_wygs")=f_wy_wygs
		rs("f_wy_wyf")=f_wy_wyf
		rs("f_wy_zfs")=f_wy_zfs
		rs("f_wy_sgjd")=f_wy_sgjd
		rs("f_ptss_zb")=f_ptss_zb
		rs("f_ptss_jc")=f_ptss_jc
		rs("f_date")=now	
		rs("f_type_title")=lp_type_title
		rs("f_area_title")=lp_area_title
		rs("f_hits")=f_hits
		rs("f_sort")=f_sort
		rs("f_price_unit")=f_price_unit
		rs("f_traffic_pic")=f_traffic_pic
		rs("f_mapx")=MapX
		rs("f_mapy")=MapY
		rs("f_mapz")=MapZ
		rs("f_char")=f_char
		rs("f_bbsurl")=f_bbsurl
		rs("f_status")=f_status
		rs("f_video")=f_video
		rs("f_traffic")=f_traffic
		rs("f_hxmj")=f_hxmj
		rs("f_cjtao")=f_cjtao
		rs("f_cjarea")=f_cjarea
		rs("f_eduareaid")=EduArea
		rs("f_eduareatitle")=f_eduareatitle
		rs("f_kgdate")=request.Form("f_kgdate")
		rs("f_jgdate")=request.Form("f_jgdate")
		rs("f_lczk")=request.Form("f_lczk")
		rs("f_sgdw")=request.Form("f_sgdw")
		rs("f_jgsjdw")=request.Form("f_jgsjdw")
		rs("f_yxchdw")=request.Form("f_yxchdw")
		rs.update	
		response.Write("<p align=""center"">修改楼盘成功~!</p>")
		response.Write("<br><p align=""center""><a href=lp_manage.asp>返回</a></p>")
	end if
	rs.close
	set rs=nothing
	'生成htm
	show_htm=ReadHtml(SiteUrl&"/newhouse/show.asp?id="&lp_id,"gb2312")
	call SaveTextFile(server.MapPath("/newhouse/show/")&"\"&lp_id&".htm",show_htm)	
else
	set rs=server.CreateObject("adodb.recordset")
	rs.open "select * from t_lp where id="&lp_id,conn,3,1
	if not rs.eof then
%>
<FORM method="POST" name="form1" action="?act=mod&lp_id=<%=lp_id%>" style="margin:0 0 0 0;" onSubmit="return check(this)">
  <TABLE width="100%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC">
<TR bgcolor="#FF9900">
  <TD height="24" colspan="2"><div align="center" class="style1">修改楼盘</div></TD>
  </TR>
<TR bgcolor="#F5F5F5">
  <TD width="14%"><div align="center">楼盘名称：</div></TD>
  <TD width="86%"><input name="Title" type="text" id="Title" value="<%=rs("Title")%>" size="30"></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD bgcolor="#F5F5F5"><div align="center">字母索引：</div></TD>
  <TD>
  <select name="f_char" id="f_char">  
  <script>charOptions('<%=rs("f_char")%>');</script>
  </select>  </TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD bgcolor="#F5F5F5"><div align="center">缩略图：</div></TD>
  <TD><input name="photo" type="text" id="photo" value="<%=rs("Photo")%>" size="50">
    <input type="button" name="Button" value="上传->" onClick="javascript:document.form1.photo.value=window.showModalDialog('upimg_thumbnail.htm','','dialogHeight:130px;dialogWidth:410px;help:no;status:no;scroll:no')">
(宽：340　高：220)</TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">交通图：</div></TD>
  <TD align=right><div align="left">
    <input name="f_traffic_pic" type="text" id="f_traffic_pic" size="50"  value="<%=rs("f_traffic_pic")%>">
    <input type="button" name="Button2" value="上传->" onClick="javascript:document.form1.f_traffic_pic.value=window.showModalDialog('upimg_thumbnail.htm','','dialogHeight:130px;dialogWidth:410px;help:no;status:no;scroll:no')">
    (宽：340　高：220)</div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=center>楼盘视频：</TD>
  <TD align=left><input name="f_video" type="text" id="f_video" value="<%=rs("f_video")%>" size="50">
   <input type="button" name="Button2" value="上传->" onClick="javascript:document.form1.f_video.value=window.showModalDialog('upvideo.htm','','dialogHeight:130px;dialogWidth:410px;help:no;status:no;scroll:no')"></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">物业类型：</div></TD>
  <TD align=right><div align="left">
	<select name="LpTypeId">
	<%=getResourceOption("t_lp_type",rs("LpTypeId"))%>
	</select>
	</div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">所在城区：</div></TD>
  <TD align=right><div align="left">

    <select name="LpAreaId" onChange="GetEduArea(this.options[this.selectedIndex].value,0)">
      <%=getResourceOption("t_lp_area",rs("LpAreaId"))%>
    </select>
  -&gt;所在学区
  <select name="EduArea" id="EduArea">
  </select>
  <script type="text/javascript">
	GetEduArea(<%=rs("LpAreaId")%>,<%=rs("f_eduareaid")%>);
	</script>
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">建筑类别：</div></TD>
  <TD align=right><div align="left">
    <input name="f_jzlb" type="text" id="f_jzlb" value="<%=rs("f_jzlb")%>" size="30">
  户型面积：
  <input name="f_hxmj" type="text" id="f_hxmj" value="<%=rs("f_hxmj")%>">
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">起价：</div></TD>
  <TD align=right><div align="left">
    <input name="f_minprice" type="text" id="f_minprice" value="<%=rs("f_minprice")%>" size="15">
  均价：
  <input name="f_price" type="text" id="f_price" onblur="checkint(this)" value="<%=rs("f_price")%>" size="10" />
  <select name="f_price_unit" id="f_price_unit">
    <option value="元/平方米" <%if(rs("f_price_unit")="元/平方米") then response.Write("selected=""selected""") end if%>>元/平方米</option>
    <option value="元/套" <%if(rs("f_price_unit")="元/套") then response.Write("selected=""selected""") end if%>>元/套</option>
  </select>
  最高价：
  <input name="f_maxprice" type="text" id="f_maxprice" onblur="checkint(this)" value="<%=rs("f_maxprice")%>" size="15" />
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">开盘时间：</div></TD>
  <TD align=right><div align="left">
    <input name="f_kpsj" type="text" value="<%=rs("f_kpsj")%>">
    <input name="date1" type="button" id="sdaf" onClick="OpenWindowAndSetValue('Inc/SelectDate.asp',280,120,window,document.form1.f_kpsj);document.form1.f_kpsj.focus();" value="选择日期">
    </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">入住时间：</div></TD>
  <TD align=right><div align="left">
    <input name="f_rzsj" type="text" value="<%=rs("f_rzsj")%>">
		<input name="date2" type="button" id="sdaf2" onClick="OpenWindowAndSetValue('Inc/SelectDate.asp',280,120,window,document.form1.f_rzsj);document.form1.f_rzsj.focus();" value="选择日期">
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">交易类别：</div></TD>
  <TD align=right><div align="left">
    <input name="f_jylb" type="text" id="f_jylb" value="<%=rs("f_jylb")%>">
  付款方式：
  <input name="f_fkfs" type="text" id="f_fkfs" value="<%=rs("f_fkfs")%>" />
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">物业地址：</div></TD>
  <TD align=right><div align="left">
    <div id="mapdiv" style=" position:absolute; display:none; left:0px; top:0px;  z-index:1; width:500px;height:400px;border:1px solid gray;">
      <div id="container" style="width:500px; height:400px;"></div>
      <div align="center">
        <input type="button" value="在地图上标注" onClick="GetM()" />
        <input type="button" value="关闭窗口" onClick="CloseM()" />
        </div>
      </div>
    <input name="f_wydz" type="text"  id="f_wydz" value="<%=rs("f_wydz")%>">
    <input name="MapX" type="text" id="MapX" value="<%=rs("f_mapx")%>" size="10">
    <input name="MapY" type="text" id="MapY" value="<%=rs("f_mapy")%>" size="10">
    <input name="MapZ" type="text" id="MapZ" value="<%=rs("f_mapz")%>" size="10">
    <input type="button" value="地图标注" onClick="ShowM()" />
    <script language="JavaScript">
    <!--
      var map = new BMap.Map("container");
			map.enableScrollWheelZoom();
			map.centerAndZoom(new BMap.Point(<%=Maps(1)%>,<%=Maps(2)%>), <%=Maps(3)%>);
			map.addControl(new BMap.NavigationControl());   
			map.addControl(new BMap.ScaleControl());   
			map.addControl(new BMap.OverviewMapControl());  		
			var myIcon = new BMap.Icon("/images/markers.png", new BMap.Size(23, 25));
			var marker = new BMap.Marker(new BMap.Point(<%=rs("f_mapx")%>,<%=rs("f_mapy")%>), {icon: myIcon});
			map.addOverlay(marker);
			var opts = {icon: new BMap.Icon("/images/markers.png", new BMap.Size(23, 25)), cursor: "move",followText:"标注"} 
			var myPushpin = new BMap.PushpinTool(map,opts);   // 创建标注工具实例 
			function CloseM(){
				myPushpin.close();
				document.getElementById('mapdiv').style.display='none';	
			}
			function ShowM(){
				var x=document.form1.MapX.value;
				var y=document.form1.MapY.value;
				document.getElementById('mapdiv').style.display='block';	
				document.getElementById('mapdiv').style.left=event.x+document.documentElement.scrollLeft+10;
				document.getElementById('mapdiv').style.top=event.y+document.documentElement.scrollTop-320;					
			}
			function GetM(){
				myPushpin.open();		
				map.clearOverlays();
				myPushpin.addEventListener("markend", function(e){			
					document.form1.MapX.value=e.marker.getPoint().lng;
					document.form1.MapY.value=e.marker.getPoint().lat;
					document.form1.MapZ.value=map.getZoom();
					document.getElementById('MapResult').innerHTML='成功标注';	
					CloseM();
				});		
			}
    //-->
    </script>
    <span id="MapResult"></span>
    </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">乖车路线：</div></TD>
  <TD align=right><div align="left">
    <input name="f_qclx" type="text" class="input" id="f_qclx" value="<%=rs("f_qclx")%>">
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">销售许可：</div></TD>
  <TD align=right><div align="left">
    <input name="f_xsxk" type="text" id="f_xsxk" value="<%=rs("f_xsxk")%>">
  开发商：
  <input name="f_kfs" type="text" id="f_kfs" value="<%=rs("f_kfs")%>" />
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">售楼地址：</div></TD>
  <TD align=right><div align="left">
    <input name="f_sldz" type="text" id="f_sldz" value="<%=rs("f_sldz")%>" size="50">
    售楼电话：
    <input name="f_sldh" type="text" id="f_sldh" value="<%=rs("f_sldh")%>" />
    </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">项目介绍：</div></TD>
  <TD align=right><div align="left">
    <textarea name="content1" style="display:none; "><%=rs("f_desc")%></textarea>
    <IFRAME ID="eWebEditor1" src="webedit/editor.html" frameborder="0" scrolling="no" width="98%" height="350"></IFRAME>
    </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">物业信息：</div></TD>
  <TD align=right><div align="left">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="11%">占地面积：</td>
        <td width="39%"><input name="f_wy_zdmj" type="text" id="f_wy_zdmj" value="<%=rs("f_wy_zdmj")%>"></td>
        <td width="11%">建筑面积：</td>
        <td width="39%"><input name="f_wy_jzmj" type="text" id="f_wy_jzmj" value="<%=rs("f_wy_jzmj")%>"></td>
      </tr>
      <tr>
        <td>绿 化 率：</td>
        <td><input name="f_wy_lhl" type="text" id="f_wy_lhl" value="<%=rs("f_wy_lhl")%>"></td>
        <td>容 积 率：</td>
        <td><input name="f_wy_rjl" type="text" id="f_wy_rjl" value="<%=rs("f_wy_rjl")%>"></td>
      </tr>
      <tr>
        <td>电 梯 ：</td>
        <td><input name="f_wy_dt" type="text" id="f_wy_dt" value="<%=rs("f_wy_dt")%>"></td>
        <td>车 位 ：</td>
        <td><input name="f_wy_cw" type="text" id="f_wy_cw" value="<%=rs("f_wy_cw")%>"></td>
      </tr>
      <tr>
        <td>物业公司：</td>
        <td><input name="f_wy_wygs" type="text" id="f_wy_wygs" value="<%=rs("f_wy_wygs")%>"></td>
        <td>物 业 费：</td>
        <td><input name="f_wy_wyf" type="text" id="f_wy_wyf" value="<%=rs("f_wy_wyf")%>"></td>
      </tr>
      <tr>
        <td>总 房 数：</td>
        <td><input name="f_wy_zfs" type="text" id="f_wy_zfs" value="<%=rs("f_wy_zfs")%>"></td>
        <td>工期进度：</td>
        <td><input name="f_wy_sgjd" type="text" id="f_wy_sgjd" value="<%=rs("f_wy_sgjd")%>"></td>
      </tr>
      <tr>
        <td>开工日期：</td>
        <td><input type="text" name="f_kgdate" id="f_kgdate" value="<%=rs("f_kgdate")%>" /></td>
        <td>竣工日期：</td>
        <td><input type="text" name="f_jgdate" id="f_jgdate" value="<%=rs("f_jgdate")%>" /></td>
      </tr>
      <tr>
        <td>楼层状况：</td>
        <td><input type="text" name="f_lczk" id="f_lczk" value="<%=rs("f_lczk")%>" /></td>
        <td>施工单位：</td>
        <td><input type="text" name="f_sgdw" id="f_sgdw" value="<%=rs("f_sgdw")%>" /></td>
      </tr>
      <tr>
        <td>景观设计单位：</td>
        <td><input type="text" name="f_jgsjdw" id="f_jgsjdw" value="<%=rs("f_jgsjdw")%>" /></td>
        <td>营销策划单位：</td>
        <td><input type="text" name="f_yxchdw" id="f_yxchdw" value="<%=rs("f_yxchdw")%>" /></td>
      </tr>
    </table>
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">配套设施及装修：</div></TD>
  <TD align=right><div align="left">周边配套：
    <textarea name="f_ptss_zb" style="width:80%" id="f_ptss_zb"><%=htmlto(rs("f_ptss_zb"))%></textarea>
    <br>
  建材设备：
  <textarea name="f_ptss_jc" style="width:80%" id="f_ptss_jc"><%=htmlto(rs("f_ptss_jc"))%></textarea>
  <br>
  交通状况：
  <textarea name="f_traffic" style="width:80%" id="f_traffic"><%=htmlto(rs("f_traffic"))%></textarea>
  <br />
  装修情况：
  <textarea name="f_zxqk" style="width:80%" id="f_zxqk"><%=rs("f_zxqk")%></textarea>
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">点击：</div></TD>
  <TD align=right><div align="left">
    <input name="f_hits" type="text" id="f_hits" value="<%=rs("f_hits")%>">
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">序号：</div></TD>
  <TD align=right><div align="left">
    <input name="f_sort" type="text" id="f_sort" value="<%=rs("f_sort")%>">
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=center>楼盘状态：</TD>
  <TD align=left><input name="f_status" type="radio" id="radio" value="1" <%if(rs("f_status")=1) then response.Write("checked") end if%>>
    在售
      <input name="f_status" type="radio" id="radio2" value="2" <%if(rs("f_status")=2) then response.Write("checked") end if%>>
待售
<input name="f_status" type="radio" id="radio3" value="0" <%if(rs("f_status")=0) then response.Write("checked") end if%>> 
已售完
成交套数：
<input name="f_cjtao" type="text" id="f_cjtao" value="<%=rs("f_cjtao")%>" onblur="checkint(this)" size="12">
成交面积：
<input name="f_cjarea" type="text" id="f_cjarea" value="<%=rs("f_cjarea")%>" onblur="checkint(this)" size="12"></TD>
</TR>
<TR bgcolor="#F5F5F5">
  <TD align=right><div align="center">业主论坛：</div></TD>
  <TD align=right><div align="left">
    <input name="f_bbsurl" type="text" id="f_bbsurl" value="<%=rs("f_bbsurl")%>" size="42">
  </div></TD>
</TR>
<TR bgcolor="#F5F5F5">
	<TD align=right>&nbsp;	  </TD>
    <TD align=right><div align="left"> 
        <input type=submit name=b1 value="提 交">&nbsp;&nbsp;
        <input type=reset name=b2 value="重 填">       
    </div></TD>
</TR>
</TABLE>
</FORM>
<%
	end if
	rs.close
	set rs=nothing
end if
%>
</BODY>
</HTML>
<%
call connclose()
%>