<%@ LANGUAGE=VBScript%>
<%Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"
zhbg_name=Session("zhbg_name")
if zhbg_name="" then Response.Redirect "../../error.asp?id=440"
if Instr(LCase(Application("zhbg_useronlinename"&session("nowinroom")))," "&LCase(zhbg_name)&" ")=0 then
	Response.Write "<script Language=Javascript>alert('你不能进行操作，进行此操作必须进入聊天室！');location.href = 'javascript:history.go(-1)';</script>"
	Response.End
end if
my=zhbg_name
sex=zhbg_jhdj
%>
<!--#include file="data1.asp"--><%
sql="select * from 房屋 where 户主='" & my & "' or 伴侣='" & my & "'"
set rs=conn.execute(sql)
if rs.eof or rs.bof then
rs.close
	set rs=nothing	
	conn.close
	set conn=nothing
Response.Write "<script language=JavaScript>{alert('您还没有买房子呢！');location.href = 'fangwu.asp';}</script>"
elseif rs("状态")<>"正常" then
rs.close
	set rs=nothing	
	conn.close
	set conn=nothing
Response.Write "<script language=JavaScript>{alert('您的房屋是不是有点状况呀！');location.href = '../index2.asp';}</script>"
else
lx=rs("类型")
%>
<html>
<head>
<title>我 的 小 屋</title>
<style>
p{font-size:9pt; color:#ffee00}
td,select,input{font-size:9pt; color:#000000; height:9pt}
textarea{font-size:9pt; color:#000000}
A:link {COLOR: #ffffff; FONT-SIZE: 9pt;FONT-STYLE: normal; FONT-WEIGHT: normal; TEXT-DECORATION: none}
A:visited {COLOR: #ffffff;FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-WEIGHT: normal; TEXT-DECORATION: none}
A:active {FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-WEIGHT: normal; TEXT-DECORATION: none}
A:hover {COLOR: #ff6600; FONT-SIZE: 9pt; TEXT-DECORATION: underline}
</style>
</head>
<body bgcolor=#990099>
<p align="center"><b><font style="font-size: 9pt">欢迎<font color="#FF0000"><%=my%></font>回到自己的小窝</font></b><br>
  <br>
<table width='95%'>
<tr bgcolor="#C4DEFF">
<td align="center" width=10%><a href="xiaowu.asp"><font color="#000000"><%if lx="一般房屋" or lx="高级公寓" or lx="花园洋房" or lx="豪华别墅" then%>客厅</font></a><%end if%></td>
<td align="center" width=10%><a href="xiaowu1.asp"><font color="#000000"><%if lx="一般房屋" or lx="高级公寓" or lx="花园洋房" or lx="豪华别墅" then%>卧室</font></a><%end if%></td>
    <td align="center" width=10%><a href="xiaowu2.asp"><font color="#000000">
<%if lx="一般房屋" or lx="高级公寓" or lx="花园洋房" or lx="豪华别墅" then%>储藏室</font></a><%end if%>
    </td>
<td align="center" width=10%><a href="xiaowu3.asp"><font color="#000000"><%if lx="一般房屋" or lx="高级公寓" or lx="花园洋房" or lx="豪华别墅" then%>餐厅</font></a><%end if%></td>
<td align="center" width=10%><a href="xiaowu4.asp"><font color="#000000"><%if lx="一般房屋" or lx="高级公寓" or lx="花园洋房" or lx="豪华别墅" then%>卫生间</font></a><%end if%></td>
<td align="center" width=10%><a href="xiaowu5.asp"><font color="#000000"><%if lx="高级公寓" or lx="花园洋房" or lx="豪华别墅" then%>小金库</font></a><%end if%></td>
<td align="center" width=10%><a href="xiaowu6.asp"><font color="#000000"><%if lx="花园洋房" or lx="豪华别墅" then%>花园</font></a><%end if%></td>
<td align="center" width=10%><a href="xiaowu7.asp"><font color="#000000"><%if lx="豪华别墅" then%>游泳池</font></a><%end if%></td>
<td align="center" width=10%><a href="xiaowu8.asp"><font color="#000000"><%if lx="豪华别墅" then%>健身房</font></a><%end if%></td>
<td align="center" width=10%><a href="xiaowu9.asp"><font color="#000000"><%if lx="花园洋房" or lx="豪华别墅" then%>书房</font></a><%end if%></td>
</tr></table>
<table >
  <tr bgcolor=#f7f7f7>
    <td height="1" width="101" bgcolor="#FFFFFF" rowspan="10"><%if sex="女" then%>
        <img src="IMAGE/LOGONAN.JPG">
      <%end if%>
      <%if sex="男" then%>
      <img src="IMAGE/LOGONV.JPG">
      <%end if%></td>
    <td height="1" width="401" bgcolor="#C4DEFF" rowspan="10"><%if lx="一般房屋" then%>
        <img src="IMAGE/KT-01.JPG">
      <%end if%>
      <%if lx="高级公寓" then%>
      <img src="IMAGE/KT-02.JPG">
      <%end if%>
      <%if lx="花园洋房" then%>
      <img src="IMAGE/KT-03.JPG">
      <%end if%>
      <%if lx="豪华别墅" then%>
      <img src="IMAGE/KT-04.JPG">
      <%end if%>
    </td>
  </tr>
  <tr>
    <td height="27" width="159" bgcolor="#C4DEFF" ><p align="center"><a href="moshu.asp"><font color="#000000">学习魔法</font></a></p>
      　
    </td>
  </tr>
  <tr>
    <td height="20" width="159" bgcolor="#C4DEFF"><p align="center"><a href="shangwang.asp"><font color="#000000">上会网吧</font></a></p>
      　
    </td>
  </tr>
  <tr>
    <td height="23" width="159" bgcolor="#C4DEFF"><p align="center"><a href="kadianshi.asp"><font color="#000000">看电视吧</font></a></p>
      　
    </td>
  </tr>
  <tr>
    <td height="22" width="159" bgcolor="#C4DEFF">　
      <p align="center"><a href="hekafei.asp"><font color="#000000">来杯咖啡</font></a></p>
  </tr>
  <tr>
    <td height="164" width="403" bgcolor="#C4DEFF"><p align="center"><font color="#000000">当前位置：客厅</font></p></td>
    <td height="164" width="157" bgcolor="#C4DEFF"><p align="center"></p></td>
  </tr>
</table>
<br>
<br><br><br><br><!--#include file="copy.inc"-->
</body></html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>
<%end if
set rs=nothing
set conn=nothing
%>