📄 fycx.asp
字号:
<%
if session("cjuser")="" and session("pwdd")="" then
response.write"<SCRIPT language=JavaScript>alert('你没有登录,无权进入!');"
response.write"this.location.href='error.htm';</SCRIPT>"
response.end
end if
%>
<!--#include file=../conn/adodb1.asp -->
<%
dim fybm,xxlx,bs,sql
fybm=trim(request("fybm"))
xxlx=trim(request("xxlx"))
set bs=server.CreateObject("adodb.recordset")
if xxlx="出租" then
sql="select * from chuzu where fybm='"&fybm&"'"
elseif xxlx="出售" then
sql="select * from chushou where fybm='"&fybm&"'"
elseif xxlx="求购" then
sql="select * from qiugouwhere fybm='"&fybm&"'"
elseif xxlx="求租" then
sql="select * from qiuzu where fybm='"&fybm&"'"
end if
bs.open sql,db,3,2
if bs.eof and bs.bof then
response.write "<script>alert('没有您要查找的房源信息!');window.location.href='fycx_form.asp'</script>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>
<body link="#000000" vlink="#000000" topmargin="30">
<tr>
<td><div align="center">
<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr class="xiangxi">
<td><div align="center"><strong>房源详细说明</strong></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td > </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<p> </p>
<table width="60%" border="0" align="center" cellpadding="0" cellspacing="1" class="bordbg">
<tr>
<td width="20%" > 信息类型:</td>
<%if xxlx="出售" then%>
<td width="11%" > <%="出售"%></td>
<%elseif xxlx="出租" then%>
<td width="15%" > <%="出租"%></td>
<%elseif xxlx="推荐房源" then%>
<td width="14%" > <%=bs("xxlx")%></td>
<%elseif xxlx="求购" then%>
<td width="3%" > <%="求购"%></td>
<%end if %>
<td width="15%" > 房源方向:</td>
<td width="22%" > <%=bs("fwfx")%></td>
</tr>
<tr >
<td height="25"> 房源编码:</td>
<td height="25"> <%=bs("fybm")%></td>
<td height="25"> 房源价格:</td>
<td height="25"> <%=bs("jg")%></td>
</tr>
<tr>
<td height="22"> 房源类型:</td>
<td height="22"> <%=bs("fylx")%></td>
<td height="22"> 附加费:</td>
<td height="22"> <%=bs("fjf")%></td>
</tr>
<tr>
<td height="25"> 所在区域:</td>
<td height="25"> <%=bs("qy")%></td>
<td height="25"> 付款方式:</td>
<td height="25"> <%=bs("fkfs")%></td>
</tr>
<tr>
<td height="25"> 所在位置:</td>
<td height="25"> <%=bs("wz")%></td>
<td height="25"> 是否贷款:</td>
<td height="25"> <%=bs("sfdk")%></td>
</tr>
<tr>
<td height="25"> 建筑名称:</td>
<td height="25"> <%=bs("jzmc")%></td>
<td height="25"> 产权:</td>
<td height="25"> <%=bs("cq")%></td>
</tr>
<tr>
<td height="25"> 房源类别:</td>
<td height="25"> <%=bs("fylb")%></td>
<td height="25"> 房源套型:</td>
<td height="25"> <%=bs("s")%>室<%=bs("t")%>厅<%=bs("w")%>卫</td>
</tr>
<tr>
<td height="25"> 房源面积:</td>
<td height="25"> <%=bs("fwmj")%></td>
<td height="25"> 庭院:</td>
<td height="25"> <%=bs("ty")%></td>
</tr>
<tr>
<td height="25"> 房源总楼层:</td>
<td height="25"> <%=bs("zlc")%></td>
<td height="25"> 储藏室:</td>
<td height="25"> <%=bs("ccs")%></td>
</tr>
<tr>
<td height="25"> 房源所在层:</td>
<td height="12"> <%=bs("szc")%></td>
<td height="25"> 阳台:</td>
<td height="12"> <%=bs("yt")%></td>
</tr>
<tr>
<td height="25"> 联系人:</td>
<td height="25"> <%=bs("lxr")%></td>
<td height="25"> 联系电话:</td>
<td height="25"> <%=bs("lxdh")%></td>
</tr>
<tr>
<td height="25"> 详细地址:</td>
<td height="25" colspan=3><%=bs("xxdz")%></td>
</tr>
<tr>
<td height="25"> 发布日期:</td>
<td height="25"> <%=bs("fbsj")%></td>
<td height="25"> 备注:</td>
<td height="25"> <%=bs("bz")%></td>
</tr>
</table></td>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -