newhouse_add.asp
来自「房地产管理系统 vb写的,很不错!!!!!!!!!!!」· ASP 代码 · 共 446 行 · 第 1/2 页
ASP
446 行
<option value="<%=rscyte("cyte")%>"><%=rscyte("cyte")%></option>
<%
rscyte.movenext
loop
rscyte.close
set rscyte=nothing
%>
</select>
</FONT></SPAN></FONT><font color="#FFCC00" size="2"> </font><font color="#FF6600">*</font></td>
<td width="18%" height="24" align="center"><font color="#FFFF00">占地面积:</font></td>
<td width="36%" height="24"><input name="mianji" type="text" id="mianji" size="15">
M<sup>2</sup><font color="#FF6600">*</font></td>
</tr>
<tr bgcolor="#585858">
<td height="24" align="center">
<font color="#FFFF00">起 价:</font></td>
<td height="24">
<input name="beginprice" type="text" id="beginprice" size="10">
元/M<sup>2</sup><font color="#FF6600">*</font></td>
<td height="24" align="center"><font color="#FFFF00">均 价:</font></td>
<td height="24"><input name="avgprice" type="text" id="avgprice" size="15">
元/M<sup>2</sup><font color="#FF6600">*</font></td>
</tr>
<tr bgcolor="#585858">
<td height="24" align="center">
<font color="#FFFF00">绿 化 率:</font></td>
<td height="24">
<input name="liuhua" type="text" id="liuhua" size="15"></td>
<td height="24" align="center"><font color="#FFFF00">容 积 率:</font></td>
<td height="24">
<input name="rongji" type="text" id="rongji" size="15">(如:1.2)</td>
</tr>
<tr bgcolor="#585858">
<td height="24" align="center">
<font color="#FFFF00">物业公司:</font></td>
<td height="24">
<input name="wuye" type="text" id="wuye" size="15"></td>
<td height="24" align="center"><font color="#FFFF00">预售证:</font></td>
<td height="24">
<input name="yusou" type="text" id="yusou" size="15"></td>
</tr>
<tr bgcolor="#585858">
<td height="24" align="center">
<font color="#FFFF00">详细地址:</font></td>
<td height="24" colspan="3"><input name="houseaddress" type="text" id="houseaddress" size="50">
<font color="#FF6600">*</font></td>
</tr>
<tr bgcolor="#585858">
<td height="24" align="center">
<font color="#FFFF00">公交路线:</font></td>
<td height="24" colspan="3">
<input name="busline" type="text" id="busline" size="59"></td>
</tr>
<tr bgcolor="#585858">
<td height="24" align="center">
<font color="#FFFF00">售楼地址:</font></td>
<td height="24"><input name="selladdress" type="text" id="selladdress" size="15">
<font color="#FF6600">*</font></td>
<td height="24" align="center"><font color="#FFFF00">售楼热线:</font></td>
<td height="24"><input name="sellhottel" type="text" id="sellhottel" size="15">
<font color="#FF6600">*</font></td>
</tr>
<tr bgcolor="#585858">
<td height="24" align="center">
<font color="#FFFF00">联 系 人:</font></td>
<td height="24"><input name="linkman" type="text" id="linkman" size="15">
<font color="#FF6600">*</font></td>
<td height="24" align="center"><font color="#FFFF00">传 真:</font></td>
<td height="24"><input name="sellfax" type="text" id="sellfax" size="15"></td>
</tr>
<tr bgcolor="#585858">
<td height="26" align="center">
<font color="#FFFF00">E-Mail:</font></td>
<td height="26" colspan="3"> <input name="email" type="text" id="email" size="50">
</td>
</tr>
<tr bgcolor="#585858">
<td height="26" align="center">
<font color="#FFFF00">网 址:</font></td>
<td height="24" colspan="3"><input name="Web" type="text" id="Web" size="40"></td>
</tr>
<tr bgcolor="#585858">
<td height="65" align="center">
<font color="#FFFF00">交通状况:</font></td>
<td height="24" colspan="3"><textarea name="trafficstatus" cols="47" rows="3" id="trafficstatus"></textarea></td>
</tr>
<tr bgcolor="#585858">
<td height="120" align="center">
<font color="#FFFF00">楼盘简介:</font></td>
<td height="24" colspan="3"><textarea name="jianjie" cols="47" rows="7" id="jianjie"></textarea>
<font color="#FF6600">*</font></td>
</tr>
<tr bgcolor="#585858">
<td height="24" colspan="4" align="center">
<input type="Submit" name="Submit" value=" 添 加 " onClick="return check();">
<input type="reset" name="Submit2" value=" 重 置 ">
<script language="JavaScript">
function check()
{
var number="1234567890.";
var astring="1234567890-()"
if(document.form2.housename.value=="")
{
alert("请填写楼盘名称!");
document.form2.housename.focus();
return false;
}
if(document.form2.Developer.value=="")
{
alert("请填写开发商!");
document.form2.Developer.focus();
return false;
}
if(document.form2.simgname.value=="")
{
alert("请上传楼盘小图!");
document.form2.simgname.focus();
return false;
}
if(document.form2.area.value=="")
{
alert("请选择区域!");
document.form2.area.focus();
return false;
}
if(document.form2.houseaddress.value=="")
{
alert("请填写详细地址!");
document.form2.houseaddress.focus();
return false;
}
if(document.form2.selladdress.value=="")
{
alert("请填写售楼地址!");
document.form2.selladdress.focus();
return false;
}
if(document.form2.sellhottel.value=="")
{
alert("请填写售楼热线!");
document.form2.sellhottel.focus();
return false;
}
if(document.form2.linkman.value=="")
{
alert("请填写联系人!");
document.form2.linkman.focus();
return false;
}
if(document.form2.jianjie.value=="")
{
alert("请填写楼盘简介");
document.form2.jianjie.focus();
return false;
}
for(i=0;i<=document.form2.mianji.value.length;i++)
{
if (number.indexOf(document.form2.mianji.value.substring(i,i+1))==-1)
{
alert("面积中含有非法字符!");
document.form2.mianji.focus();
return false;
}
}
for(i=0;i<=document.form2.avgprice.value.length;i++)
{
if (number.indexOf(document.form2.avgprice.value.substring(i,i+1))==-1)
{
alert("均价中含有非法字符!");
document.form2.avgprice.focus();
return false;
}
}
for(i=0;i<=document.form2.beginprice.value.length;i++)
{
if (number.indexOf(document.form2.beginprice.value.substring(i,i+1))==-1)
{
alert("起价中含有非法字符!");
document.form2.beginprice.focus();
return false;
}
}
for(i=0;i<=document.form2.sellfax.value.length;i++)
{
if (astring.indexOf(document.form2.sellfax.value.substring(i,i+1))==-1)
{
alert("传真中含有非法字符!");
document.form2.sellfax.focus();
return false;
}
}
for(i=0;i<=document.form2.sellhottel.value.length;i++)
{
if (astring.indexOf(document.form2.sellhottel.value.substring(i,i+1))==-1)
{
alert("售楼热线中含有非法字符!");
document.form2.sellhottel.focus();
return false;
}
}
return true;
}
</script></td>
</tr>
</form>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="../images/httable_04.gif" width=606 height=19></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="630,36,775,56" href="http://www.fyasp.com" target="_blank">
</map>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?