<!--#include file=../include/config.asp-->
<!--#include file=../include/conn_newhouse.asp-->
<!--#include file=../include/access.asp-->
<!--#include file=../include/function.asp-->
<html>
<head>
<title>修改新楼盘</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../style.css" type="text/css">
</head>
<%
	dim strSql,rs,i,PageNo
	if request("id")="" then
		out("参数出错了！")
		response.end
	end if
	strSql="select * from [house_new] where id=" & request("id")
	set rs=Server.CreateObject("ADODB.RecordSet")
	rs.open strSql,conn,3,3
	if rs.eof then
		out("参数出错了！")
	else
%>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<div align="center"> <font size="3"><b>修改新楼盘</b></font><br>
</div>
<table width="600" border="0" cellpadding="0" cellspacing="2" class="kuan" align="center" bgcolor="#FFFFFF">
  <tr> 
    <td background="../images/system1.gif" height="25" align="center" width="602"><font color="#FF6633" class="font"><b><font color="#FF9B59">请输入以下表格来&quot;<font color="#FFFFFF">修改新楼盘</font>&quot;</font></b></font></td>
  </tr>
  <tr> 
    <td bgcolor="#E9F0F8" class="linkfont" align="center" valign="middle" height="287" width="602"> 
      <form name="form1" method="post" action="save_change_newhouse.asp" onsubmit="return checkdata()">
        <table width="600" border="0" cellspacing="5" cellpadding="0">
          <tr align="left" valign="middle"> 
            <td width="71" height="30" align="right" class="font">楼盘名称: </td>
            <td width="214" class="font" height="30">
              <input name="house_name" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("house_name")%>">
            </td>
            <td width="60" align="right" class="font">开 发 商: </td>
            <td width="230" class="font">
              <input name="kfs" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("kfs")%>">
            </td>
          </tr>
          <tr align="left" valign="middle"> 
            <td width="71" height="30" align="right" class="font">开发商网站: </td>
            <td width="214" class="font" height="30"> 
              <input name="kfs_http" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("kfs_http")%>">
            </td>
            <td width="60" align="right" class="font">区　　域: </td>
            <td width="230" class="font"> <select name="qy" id="qy" style="FONT-SIZE: 9pt; WIDTH: 90px; FONT-FAMILY: 宋体; HEIGHT: 22px" >
                <option value="<%=rs("qy")%>" selected><%=rs("qy")%></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 align="left" valign="middle"> 
            <td height="30" align="right" class="font">地　　址: </td>
            <td height="30" class="font" colspan="3"> 
              <input name="address" type="text" class="textinput" size="80" maxlength="50" value="<%=rs("address")%>">
            </td>
          </tr>
          <tr align="left" valign="middle"> 
            <td height="30" align="right" class="font">交通状况: </td>
            <td height="30" class="font"> 
              <input name="traffic" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("traffic")%>">
            </td>
            <td align="right" class="font">房屋类型: </td>
            <td class="font"> 
              <input name="house_lx" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("house_lx")%>">
            </td>
          </tr>
          <tr align="left" valign="middle"> 
            <td height="30" align="right" class="font">面积范围: </td>
            <td height="30" class="font"> 
              <input name="mj" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("mj")%>">
            </td>
            <td align="right" class="font">起　　价: </td>
            <td class="font"> 
              <input name="first_pay" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("first_pay")%>">
            </td>
          </tr>
          <tr align="left" valign="middle"> 
            <td height="30" align="right" class="font">均　　价: </td>
            <td height="30" class="font"> 
              <input name="jun_pay" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("jun_pay")%>">
            </td>
            <td align="right" class="font">许 可 证: </td>
            <td class="font">
              <input name="xk" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("xk")%>">
            </td>
          </tr>
          <tr align="left" valign="middle"> 
            <td height="30" align="right" class="font">图　　片: </td>
            <td height="30" class="font" colspan="3"> 
              <input name="pic" type="text" class="textinput" size="80" maxlength="50" value="<%=rs("pic")%>">
            </td>
          </tr>
        </table>
        <table width="600" border="0" cellspacing="5" cellpadding="0">
          <tr> 
            <td width="72" align="right" valign="top" class="font">楼盘简介: </td>
            <td width="513" align="left" valign="top"> 
              <textarea name="jj_bz" cols="82" rows="8" class="textinput" ><%=rs("jj_bz")%></textarea>
            </td>
          </tr>
        </table>
        <table width="600" border="0" cellspacing="5" cellpadding="0">
          <tr align="left" valign="middle"> 
            <td width="71" height="30" align="right" class="font">状　　态: </td>
            <td width="214" class="font" height="30"> 
              <input name="zt" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("zt")%>">
            </td>
            <td width="60" align="right" class="font">售楼热线: </td>
            <td width="230" class="font"> 
              <input name="sell_tel" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("sell_tel")%>">
            </td>
          </tr>
          <tr align="left" valign="middle"> 
            <td height="30" align="right" class="font">售楼地址: </td>
            <td height="30" class="font" colspan="3"> 
              <input name="sell_address" type="text" class="textinput" size="80" maxlength="50" value="<%=rs("sell_address")%>">
            </td>
          </tr>
          <tr align="left" valign="middle"> 
            <td height="30" align="right" class="font">传　　真: </td>
            <td height="30" class="font"> 
              <input name="fax" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("fax")%>">
            </td>
            <td align="right" class="font">E-mail: </td>
            <td class="font"> 
              <input name="email" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("email")%>">
            </td>
          </tr>
          <tr align="left" valign="middle"> 
            <td height="30" align="right" class="font">联 系 人: </td>
            <td height="30" class="font"> 
              <input name="man" type="text" class="textinput" size="30" maxlength="50" value="<%=rs("man")%>">
            </td>
            <td align="right" class="font">是否加色: </td>
            <td class="font"> 
              <select name="color">
                <%if rs("color")="#FF6600" then%>
                <option value="#FF6600" selected>加色</option>
                <option value="">不加色</option>
                <%else%>
                <option value="#FF6600">加色</option>
                <option value="" selected>不加色</option>
                <%end if%>
              </select>
            </td>
          </tr>
        </table>
        <table width="600" border="0" cellspacing="5" cellpadding="0">
          <tr> 
            <td width="72" align="right" valign="top" class="font">公车路线: </td>
            <td width="513" align="left" valign="top"> 
              <textarea name="bus" cols="82" rows="8" class="textinput" ><%=rs("bus")%></textarea>
            </td>
          </tr>
        </table>
        <input type="text" name="id" value="<%=request("id")%>" size="3" readonly>
        <br>
        <table width="578" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center" valign="middle">
              <input type="submit" name="Submit" value="提交" class="textbotton">
              　 
              <input type="reset" name="Submit2" value="重填" class="textbotton">
            </td>
          </tr>
        </table>
        <br>
      </form>
    </td>
  </tr>
</table>
</body>
</html>
<%
	end if
%>
</html>
<!--#include file=../include/foot.asp-->