<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="HeyuanHouse.Web.agent._default" %>
<%@ Register src="../siteheader.ascx" tagname="siteheader" tagprefix="uc1" %>
<%@ Register src="../sitefooter.ascx" tagname="sitefooter" tagprefix="uc2" %>
<!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><%= AgentInfo.realname %>-<%= AgentInfo.tel %>-<%= AgentInfo.companyname %>-河源房产经纪人-河房网</title> 
<meta name="description" content="<%= "经纪人名字：" + AgentInfo.realname + " 联系电话：" + AgentInfo.tel + " 所在公司：" + AgentInfo.companyname + " 个性签名：" + AgentInfo.signature%>" />
<link href="/images/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<uc1:siteheader ID="siteheader1" runat="server" />
<div id="sitenav">您现在的位置：<a href="/">河房网</a> &gt;&gt;  <%= AgentInfo.realname %>的网上店铺</div>
<div class="renjj">
<h2><%= AgentInfo.realname %></h2>
<div class="renjjlist">
<ul>
<li class="<%= getnavclassname("") %>"><a href="?uid=<%= AgentInfo.uid %>">网店首页</a></li>
<li class="<%= getnavclassname("sell") %>"><a href="?uid=<%= AgentInfo.uid %>&t=sell">出售房源</a></li>
<li class="<%= getnavclassname("rental") %>"><a href="?uid=<%= AgentInfo.uid %>&t=rental">出租房源</a></li>
</ul>
</div>
</div>
<div class="main">
  <div class="boxright">

<div id="renshows">
<img id="renshowsimg" src="/avatar/<%= MemberInfo.avatar == string.Empty ? "nophoto.gif" : MemberInfo.avatar%>" width="120" height="150" alt="<%= MemberInfo.username %>的头像" />
<h5><%= AgentInfo.realname%></h5>
<blockquote><%= AgentInfo.signature %></blockquote>
<p>认证：无</p>
<p>房源： <img src="/images/iconsou.gif" width="16" height="16" /> <%= AgentInfo.sellcount %>　 <img src="/images/iconzu.gif" width="16" height="16" /> <%= AgentInfo.rentalcount %></p>
<p>联系电话：<%= AgentInfo.tel %></p>
<p>所在区域：<%= AgentInfo.areaname %></p>
<p>所在公司：<%= AgentInfo.companyname %></p>
<p>QQ：<%= AgentInfo.qq %></p>
<p>MSN：<%= AgentInfo.msn %></p>
<p>Mail：<%= AgentInfo.email %></p>
</div>
  
  <div class="renbottomp">
<p>开通时间：<%= AgentInfo.datecreated %></p>
<p>上次登录：<%= MemberInfo.lastvisit %></p>
  </div>
  
<div class="rentongji">
访问：<font color="#ff3300"><strong><%= AgentInfo.views %></strong></font>
</div>

  <!-- -->
  </div>
  <div class="boxlefts">
    <div class="renfangtits"><p class="soeasy"><strong>我的<asp:Literal runat="server" ID="ltlHouseTypetips" Text="最新房源" /></strong></p>
    </div>
<div class="fangshow">
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
  <asp:Repeater runat="server" ID="rptHouseList">
    <ItemTemplate>
      <tr>
       <td><a href='<%# DataBinder.Eval(Container.DataItem, "viewurl")%>' target="_blank">[<%# DataBinder.Eval(Container.DataItem, "houseclass")%>] <%# DataBinder.Eval(Container.DataItem, "title")%> / <%# DataBinder.Eval(Container.DataItem, "zone")%></a></td>
       <td><%# DataBinder.Eval(Container.DataItem, "roomtypedesc")%></td>
       <td><%# DataBinder.Eval(Container.DataItem, "buildingarea")%> M<sup>2</sup></td>
       <td>
       <%# (int)DataBinder.Eval(Container.DataItem, "sourcetype") == 1 ? ((int)DataBinder.Eval(Container.DataItem, "rentmoney") == 0 ? "面议" : DataBinder.Eval(Container.DataItem, "rentmoney") + " 元/月") : ((decimal)DataBinder.Eval(Container.DataItem, "sellmoney") == decimal.Zero ? "面议" : DataBinder.Eval(Container.DataItem, "sellmoney") + " 万元")%>
       </td>
       <td><%# ((DateTime)DataBinder.Eval(Container.DataItem, "dateupdated")).ToShortDateString()%></td>
       <td>
       <img src='<%# (int)DataBinder.Eval(Container.DataItem, "sourcetype") == 1 ? "/images/iconzu.gif" : "/images/iconsou.gif"%>' border="0" />
       </td>
      </tr>
    </ItemTemplate>
  </asp:Repeater>    
</table>
<div class="gopage">
<asp:Literal runat="server" ID="ltlPager" />
</div>
</div>
  <!-- -->
  </div>
    
</div>
<div class="main">
<script type="text/javascript">/*960*60，创建于2011-5-27 房源展示页*/ var cpro_id = 'u489482';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<uc2:sitefooter ID="sitefooter1" runat="server" />
</form>
</body>
</html>
