<style>
.mainInner{margin-top: -15px;}
</style>
<!--标签零售样式-->
<style>
#asideBox .bq1 { background: url("<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/bq_sprites.png") no-repeat 0 -138px ;}
#asideBox .on .bq1{ background: url("<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/bq_sprites.png") no-repeat 0 0 ;}
.bq-record{border-collapse: collapse; border-spacing: 0;table-layout: fixed;margin:20px 10px;}
.bq-record td,.bq-record th{border: solid 1px #d9d9d9; padding: 3px;text-align: center;height: 30px;width: 5%;}
.bq-record th{color:#333;background-color: #ebebeb;}
.bq-record td{color: #333;}
</style>
<!--标签零售样式结束-->

<!--左边 导航 结束--> 
<!---->
<div id="centre" class="layout">
	<div class="centreInner ">
		<div class="mainInner radius5 ">
		<div style="padding-top:2px;"></div>
			<div class=" belongBox radius3">
				<p class="title">
                <?php if('' == $dist){ ?>
				您的账号尚未设置区属，我们无法给您准确的提供个人房源信息，请联系您的客户经理设置您的工作区域。
                <?php }else{ ?>
				您所在区属：<span class="belong"><?=$dist?></span>
                <?php } ?>
				</p>
			</div>
			
			<!--头部 tab 开始-->
			<div class="titleTabBox">
				<div class="titleTab">
					<div class="titleTabB clearfix">
						<dl class="list">
                            <?php
                            $sell_selected = $tab =='sell' ? ' itemOn':'';
                            $rent_selected = $tab =='rent' ? ' itemOn':'';
                            ?>
                            <dd class="item<?=$sell_selected?>"> <a class="link" href="/personal_house/sell/"> 出售房源 </a></dd>
                            <dd class="item<?=$rent_selected?>"> <a class="link" href="/personal_house/rent/">出租房源</a></dd>
						</dl>
					</div>
				</div>
			</div>
			<!--头部 tab 结束-->
			
            <div  style="height:13px; overflow: hidden;">
                &nbsp;
			</div>
			
			<!---->
			
			<div class="fgTitleBox radius4">
				<table class="table">
					<tr>
						<td class="w318">房源基本信息</td>
						<td class="w210">发布时间 </td>
						<td class="w165">房东姓名</td>
						<td>联系方式</td>
					</tr>
				</table>
			</div>
			
			<?php if(is_array($house_arr) && count($house_arr) > 0){ ?>
            <?php foreach($house_arr as $value){ ?>
            <div class="itemInfoBach itemInfoBach02 radius4">
				<table class="table table02">
					<tr>
						<td class="td w180Pl20"><div class="itemTex"><a href="<?php echo $value['url']; ?>" target="_blank" class="name"><?=$value['blockshowname']?></a>
                        <?php if($value['type'] == '整租'){ ?>
                        <img class="img" src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/zz.png">
                        <?php }else if($value['type'] == '合租'){ ?>
                        <img class="img" src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/hz.png">
                        <?php }else if($value['type'] == '日租'){ ?>
                        <img class="img" src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/rz.gif">
                        <?php } ?>
                        </div>
                        <div class="itemTex"><?=$value['infotype_str']?>&nbsp;&nbsp;<?php if($value['infotype'] == 1 OR $value['infotype'] == 2){ ?><span><?=$value['room']?>室<?=$value['hall']?>厅</span>&nbsp;&nbsp;<?php } ?><span><?=$value['buildarea']?>㎡</span></div></td>
                        <td class="td w100Pr15">
                        <span class="colorBP"><?=$value['price']?></span><?=$value['unit']?>
                        </td>
						<td class="td w210"><?php echo date('m-d H:i',$value['creattime']); ?></td>
						<td class="td w165"><?=$value['contactor']?></td>
						<td class="td"><?=$value['telno']?></td>
					</tr>
				</table>
			</div>
            <?php }}else{ ?>
            <div class="itemInfoBach itemInfoBach02 radius4">
                <p style="text-align:center; line-height:64px;">暂无房源记录！</p>	
            </div>
            <div style="height:600px;"></div>
			<?php } ?>
            <?php if('' != $pages){ ?>
            <form name="search_form" id="search_form" action="" method="post"><input type="hidden" name="page" value="1" /></form>
            <div class="picPreviewPagBox pagBoxBorderTop"><div class="picPreviewPag"><?=$pages?></div></div>
            <?php } ?>
		</div>
	</div>
</div>