<!--标签零售样式-->
<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 class="belongBox radius5">
                <div class="personalPInner fdPayInner clearfix">

                    <!---->

                    <div class="nameBox"> <span class="bold mr45 left">&nbsp;姓名：<span class="color1"><?= $info['truename'] ?></span></span> <span class="bold left">账户：</span><em class="color2 mr45 left"><?= $info['username'] ?></em> <span class="bold left">等级：</span><em class="color2 mr45 left">Lv<?= $info['level'] ?></em> <span class="bold left">房豆：</span><em class="color3 left"><?= $info['credit'] ?></em>
                        <div class="btnFBbox btnLJCZbox left"> <a class="btnB btnSubmit radius5" href="<?=$payment_url?>" target="_blank">立即充值</a> </div>
                        <span class="left m_l_10"><a href="<?=$documentation['what_credit']?>" target="_blank" class="help_pay">什么是房豆</a>丨<a href="<?=$documentation['get_credit']?>" target="_blank" class="help_pay_link">获取房豆说明</a></span>
                    </div>
                </div>

                <!---->

            </div>
            <!---->

            <div class="belongBox belongBox_visible radius5">
                <div class="titleTabBox titleTabBoxPay">
                    <div class="titleTab">
                        <div class="titleTabB clearfix">
                            <dl class="list">
                                <dd class="item itemOn"> <a href="/vas_packing_house/" class="link">我要购买</a> </dd>
                                <dd class="item"> <a href="/vas_packing_house/orderlist/" class="link">我的购买记录</a> </dd>

                            </dl>
                        </div>
                    </div>
                </div>
                <div class="tab_box_p_001 tab_box_p_001_pay">
                    <a class="link linkOn" href="/vas_packing_house/">二手房搜搜</a>				
					<a class="link " id="dazhaixiu" href="/vas_packing_house/?type=Mansionshow">大宅秀</a> 
					<a class="link" id="spkanf" href="/vas_packing_house/?type=Video">视频看房</a> 
               </div>


                <div class="pay_dt_jjr_box pay_dt_jjr_box02 clearfix">
                    <span class="gb">365精心打造房源推荐专题 客源主动找上门</span>
                    <span class="h4">推广周期：<span class="c">3</span>天&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://zsb.house365.com/help/nj/?p=1073"  target="_blank"> 查看详细规则说明>></a></span>

                </div>

                <div class="pay_dt_jjr_mod">
                    <p class="tex"> 搜搜房源推荐：搜搜房源是通过365首页新闻通道推广房源，曝光强，流量大，点击高。<br>
                        我们会从房源户型，小区环境，价格走势等多方面深度剖析您的房源，将房源最大的卖点展示给买房人！<br>
                        一条搜搜能推送5条房源，超值划算，卖房利器！</p>
                </div>
            </div>

            <!---->
            <div class="pay_more_link"><span class="h4">推广形式</span><a class="link" href="<?php echo GB_SELL_URL;?>"  target="_blank">查看线上包装示例&gt;&gt;</a></div>
            <div class="pay_zw_box clearfix">

                <div class="pay_zw_item pay_zw_item02 pay_zw_item03 radius5">
                    <img alt="" class="img_p" src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/yxzxzw.png">

                </div>

            </div>

            <!--pay_zw_item_relative-->
            <div class="pay_more_link"><span class="h4">我要购买</span></div>
            <div class="belongBox belongBox_visible belongBox_visibleMnone radius5">
                <table class="pay_zw_item_table">
                    <tr>
                        <td>
                            <?php if($price['cost_price']==$price['current_price'] || $price['current_price']==0){?>
                                <span class="pirce">现价: <span class="c"><?php echo $price['cost_price'];?></span>房豆/期</span>
                            <?php }else{ ?>
                            <span class="pirce_y">原价: <span class="c"><?php echo $price['cost_price'];?></span>房豆/期</span>
                            <span class="pirce">现价: <span class="c"><?php echo $price['current_price'];?></span>房豆/期</span>
                            <?php }  ?>
                        </td>
                    </tr>
                    <tr>
                        <td>


                               <?php if( $info['credit']<$price['current_price']){ ?>
                                <div class="pay_zw_item_relative"> <a href="javascript:void(0)" class="btn btnCon radius5">我要购买</a>
                                <div class="text">您的房豆余额不够，<a href="<?=$payment_url?>" target="_blank">去充值>></a></div>
                                <?php }elseif( $buy_num>=$limit_num){ ?>
                                <div class="pay_zw_item_relative"> <a href="javascript:void(0)" class="btn btnCon radius5">我要购买</a>
                                <div class="text">购买的人太多了，稍候再来吧！</div>
                                <?php }elseif( $house_num<5){ ?>
                                <div class="pay_zw_item_relative"> <a href="javascript:void(0)" id="warning" class="btn btnConColor radius5">我要购买</a></div>
                                <?php }else{ ?>
                                <div class="pay_zw_item_relative"> <a href="/vas_packing_house/buy" target="_blank" class="btn btnConColor radius5">我要购买</a></div>
                                 <?php } ?>
                                <div class="ico">&nbsp;</div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>




            <!---->

            <div class="belongBox belongBox_visible radius5">
                <div class="tglc_box_pay clearfix">
                    <h4 class="h4">推广流程</h4>
                    <img  alt="" src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/pay_ico_zx10.png"> </div>
            </div>
        </div>
    </div>
</div>
    <div style="display:none;" class="dialog dialogW485 radius5" id="warning3">
		<div class="hd">
				<h3 class="h3">提示</h3>
				<p class="close close-win" title="关闭">关闭 </p>
		</div>
		<div class="mod">
				<div class="textMod textMod005">购买产品：<span class="ch">房源包装-二手房搜搜</span></div>
				<div class="sb_text_box" style="padding-left: 146px;">
						<p class="p">温馨提示：1.请选择<span class="c1">5条</span>二手房源作为推广房源。如房源出现<br>失效，过期等问题，采用备用房源。
								<br>2.推广房源必须是<span class="c1">同区属</span>房源。 </p>
						<p class="p">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;很遗憾您的房源不足五条
							        <a class="c2" href="/sell/add/" target="_blank">去发布房源 &gt;&gt;</a><br>
								</p>
				</div>
				<div class="img_pirce_box"> <img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/pay_ico_zx13.png" class="img"> <span>我要支付<strong class="num"><?php echo $price['current_price'];?></strong>房豆</span> </div>
				<div class="pop_pay_btn_box"> <a href="javascript:void(0)" class="btn btnCon btnCon_none radius5">确认支付</a> <a href="javascript:void(0)" class="btn btnCon radius5 close-win">取消</a> </div>
		</div>
</div>
    <?php if($house_num<5){?>
     <script>
         $("#warning").click(function(){
               openWin("warning3");
             })
       </script>
    <?php }?>
</body>
</html>
