📄 building_add.asp
字号:
<!--#include file=../conn/conn1.asp -->
<% if request.cookies("okadmin")="" and request.cookies("rank")="" then
response.redirect "login.asp"
end if %>
<html>
<head>
<title>登记房源</title>
</head>
<body>
<SCRIPT language=JavaScript>
function formCheck(document)
{
if(document.name.value == "")
{
alert("您忘了填写楼盘名称了!");
return false;
}
if(document.person.value == "")
{
alert("您忘了填写联系人了!");
return false;
}
var p = document.person.value.length;
if (p < 2 )
{
alert ("联系人至少为2位!");
return false;
}
if(document.phone.value == "")
{
alert("您忘了填写联系人电话了!");
return false;
}
var ph = document.phone.value.length;
if (ph < 7 )
{
alert ("联系人电话至少为7位!");
return false;
}
if(document.price.value == "")
{
alert("您忘了填写楼盘价格了!");
return false;
}
}
</SCRIPT>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#FFFFFF" vlink="#FFFFFF">
<table width="564" border="0" cellspacing="1" cellpadding="0" align="center" height="379">
<tr>
<td height="320" width="572">
<table width="78%" border="0" cellspacing="0" cellpadding="0" background="img/backc.gif" height="331" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td height="331" width="100%">
<div align="center">
<center>
<table width="77%" border="0" cellspacing="1" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%">
<form action="building_addaction.asp" method=POST
onSubmit="return formCheck(this)">
<INPUT name="upfile" onchange=return(OnUpFile()) type=hidden>
<div align="center">
<center>
<table width="98%" height="317" border="0" align="left" cellpadding="0" cellspacing="3" bordercolor="#111111" style="border-collapse: collapse">
<tr>
<td height="49" bgcolor="#FFFFFF" valign="top">
<div align="center"><b> 商品房(楼盘)登记</b> <span style="font-size: 9pt">
(带*标记的栏目为必填栏目)</span></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" height="165">
<table width="559" border="0" cellspacing="3" cellpadding="0" class="9sizew">
<tr bgcolor="#6666FF">
<td width="86" bgcolor="#FFFFFF"> <span style="font-size: 9pt">
楼盘名称: </span> </td>
<td width="464" bgcolor="#FFFFFF"> <span style="font-size: 9pt">
<input type="text" name="name" size="20">
* </span> </td>
</tr>
<tr bgcolor="#9999FF">
<td width="86" bgcolor="#FFFFFF"><span style="font-size: 9pt">
区 属:
</span> <span style="font-size: 9pt" id="fps0">
</span></td>
<td width="464" bgcolor="#FFFFFF">
<select name="dd" size="1" class=f11>
<%dim rs2,sql2,sel
set rs2=server.createobject("adodb.recordset")
sql2="select * from fctype"
rs2.open sql2,conn,1,1
do while not rs2.eof
if typeID=cstr(rs2("typeID")) then
sel="selected"
else
sel=""
response.write "<option " & sel & " value='" + Cstr(rs2("type")) + "'>" + rs2("type") + "</option>"
rs2.movenext
end if
loop
rs2.close
%>
</select></td>
</tr>
<tr>
<td class="9size" width="86" bgcolor="#FFFFFF"><span class="9sizew">
<span style="font-size: 9pt"> 设计用途</span></span><span style="font-size: 9pt">:
</span> </td>
<td class="9size" width="464" bgcolor="#FFFFFF">
<span style="font-size: 9pt" id="fps1">
<select name="cjyt" class="form">
<option value="住宅" selected>住宅 </option>
<option value="商业">商业 </option>
<option value="营业">营业 </option>
<option value="办公">办公</option>
<option value="车房">车房</option>
<option value="商居两用">商居两用</option>
<option value="综合">综合</option>
<option value="其它">其它</option>
</select></span><span style="font-size: 9pt">
*
</span> </td>
</tr>
<tr bgcolor="#6666FF">
<td class="9size" width="86" bgcolor="#FFFFFF"><span class="9sizew">
<span style="font-size: 9pt"> 楼盘地址</span></span><span style="font-size: 9pt">:
</span> </td>
<td class="9size" width="464" bgcolor="#FFFFFF"><span style="font-size: 9pt">
<input type="text" name="addr" size="20"></span></td>
</tr>
<tr bgcolor="#9999FF">
<td height="28" width="86" bgcolor="#FFFFFF"><span style="font-size: 9pt">
交付日期:
</span> </td>
<td height="28" width="464" bgcolor="#FFFFFF"><span style="font-size: 9pt">
<input type="text" name="enddate" size="10" class="formCopy"></span></td>
</tr>
<tr bgcolor="#6666FF">
<td width="86" bgcolor="#FFFFFF"> <span style="font-size: 9pt">
开 发单位:
</span> </td>
<td width="464" bgcolor="#FFFFFF"> <span style="font-size: 9pt">
<input type="text" name="who" size="20"></span></td>
</tr>
<tr bgcolor="#9999FF">
<td width="86" bgcolor="#FFFFFF"> <span style="font-size: 9pt">
占地面积: </span></td>
<td width="464" bgcolor="#FFFFFF"> <span style="font-size: 9pt">
<input type="text" name="square" size="8" class="formCopy">
平方米</span></td>
</tr>
<tr bgcolor="#6666FF">
<td width="86" bgcolor="#FFFFFF"> <span style="font-size: 9pt">
联 系 人: </span></td>
<td width="464" bgcolor="#FFFFFF"> <span style="font-size: 9pt">
<input type="text" name="person" size="8" class="formCopy">
* </span></td>
</tr>
<tr bgcolor="#6666FF">
<td bgcolor="#FFFFFF" width="86"> <span style="font-size: 9pt">
联系电话: </span></td>
<td bgcolor="#FFFFFF" width="464"> <span style="font-size: 9pt">
<input type="text" name="phone" size="25" class="formCopy">
* </span></td>
</tr>
<tr bgcolor="#6666FF">
<td bgcolor="#FFFFFF" width="86"> <span style="font-size: 9pt">
楼盘价格: </span> </td>
<td bgcolor="#FFFFFF" width="464"> <span style="font-size: 9pt">
<input type="text" name="price" size="20">
* </span> </td>
</tr>
<tr bgcolor="#6666FF">
<td bgcolor="#FFFFFF" width="86"> <span style="font-size: 9pt">
楼盘图片:</span> </td>
<td bgcolor="#FFFFFF" width="464">
<iframe name="I1" frameborder=0 width="75%" height=30 scrolling=no src=upload.asp></iframe>
</td>
</tr>
<tr bgcolor="#6666FF">
<td bgcolor="#FFFFFF" width="553" colspan="2"><span style="font-size: 9pt">
详细资料:</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="88" bgcolor="#FFFFFF">
<table width="101%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="4%" class="9sizew">
<p align="center"> </td>
<td width="97%">
<span style="font-size: 9pt">
<textarea name="content1" cols="63" class="form" rows="10"></textarea>
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" height="21">
<div align="center">
<span style="font-size: 9pt">
<input type="submit"
value="确 认" name="B1" class="formCopy">
<input type="reset" value="重 填" name="B2" class="formCopy">
</span>
</div>
</td>
</tr>
</table>
</center>
</div>
</form>
</td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table >
<p align="center"> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -