<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="houseview.aspx.cs" Inherits="HeyuanHouse.Web.broker.houseview" %>
<%@ Register src="header.ascx" tagname="header" tagprefix="uc1" %>
<%@ Register src="left.ascx" tagname="left" tagprefix="uc2" %>
<%@ Register src="footer.ascx" tagname="footer" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= HouseInfo.title + " " + HouseInfo.zone%> - <%= BrokerInfo.brokername %></title>
<link href="/broker/templates/default/style1.css" rel="stylesheet" type="text/css" />
</head>
<body>
<uc1:header ID="header1" runat="server" />
<div class="main">
<uc2:left ID="left1" runat="server" />
<div class="boxright">
    <div class="rightit"><h2>房源详情</h2></div>
<div class="rightboxshow">

<div class="artshow">
<h3><%= HouseInfo.roomtypedesc %></h3>
小区名称： <%= HouseInfo.zone %><br />
所在区域： <%= HouseInfo.areaname %> <br /> 
<%= HouseInfo.sourcetype == 1 ? ("出租租金：" + (HouseInfo.rentmoney == 0 ? "面议" : ("<span>" + HouseInfo.rentmoney.ToString() + "</span>元/月"))) : ("出售价格：" + (HouseInfo.sellmoney == decimal.Zero ? "面议" : "<span>" + HouseInfo.sellmoney.ToString() + "</span>万元"))%> <br />
家具设施： <%= HouseInfo.furnishings %><br />
详细信息：<%= HouseInfo.orientation == string.Empty ? "" : "朝" + HouseInfo.orientation + "，"%><%= HouseInfo.houseclass %>，<%= "第" + HouseInfo.floorno + "层/共" + HouseInfo.totalfloor + "层" %>，<%= HouseInfo.roomtypedesc %>，<%= HouseInfo.buildingarea%>平米，<%= HouseInfo.decorate %>  <br />
<br />
联系电话：<span><%= HouseInfo.linktel %></span> <br />
联 系 人：<%= HouseInfo.linkman %> (联系时您可以这样说:“您好，我从河房网看到...”)

<br />

<p>
<span style="font-size:20px">
<%= HouseInfo.detail %>
</span>
</p>
<% 
    if (HouseInfo.isphoto)
    {
        
        foreach (HeyuanHouse.Core.Model.HousePhoto photoInfo in HousePhotos)
        {
            Response.Write("<p style='padding:8px;'>");
            Response.Write("<img src='" + photoInfo.fullpath + "' border='0' />") ;
            Response.Write("</p>");
        }
        
    }

    if (HouseInfo.maplnglat != string.Empty)
    {
%>

<p style="padding:8px;">
<div id="map" style="width: 600px; height: 330px;"></div>
</p>
<%
    }
%>
</div>
  
</div>

  </div>
</div>
<uc3:footer ID="footer1" runat="server" />
</body>
</html>