<!--标签零售样式-->
<style>
#asideBox .bq1 { background: url("http://esf.s.house365.com/zsb/images/v1.0/bq_sprites.png") no-repeat 0 -138px ;}
#asideBox .on .bq1{ background: url("http://esf.s.house365.com/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"><?php echo  $broker_new_info[0]['starlevel'];?>级</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="dazhaixiu sm_qiehuan" > 
    <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 sm_a"> 
                <?php if(0){ ?><a class="link" id="ershoufang" href="/vas_packing_house/">二手房搜搜</a><?php } ?> 
                <a class="link linkOn" id="dazhaixiu" href="/vas_packing_house/?type=Mansionshow">大宅秀</a> 
                <?php if(0){ ?><a class="link" id="spkanf" href="/vas_packing_house/?type=Video">视频看房</a> <?php } ?>
            </div>
            
            <!-- 大宅秀 -->
            
                <div class="pay_dt_jjr_box pay_dt_jjr_box02 clearfix"> 
                    <span class="gb">365精心打造房源推荐专题 客源主动找上门</span> 
                    <span class="h4"><a href="http://zsb.house365.com/help/nj/?p=1246" target="_blank"> 查看详细规则说明&gt;&gt;</a></span> 
                </div>
                <div class="pay_dt_jjr_mod">
                    <p class="tex">大宅秀是365二手房网名牌栏目，由记者现场拍摄房源高清大图集，再经过专业包装处理，全方位展示房源优点，有很强的视觉冲击力。</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="http://esf.s.house365.com/zsb/images/v1.0/dazhaixiu.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<1){ ?>
                                <div class="pay_zw_item_relative"> <a href="javascript:void(0)" id="warning" class="btn btnConColor radius5 nohouse">我要购买</a></div>
                                <?php }else{ ?>
                                <div class="pay_zw_item_relative"> <a href="/vas_packing_house/vas_show/" target="_blank" class="btn btnConColor radius5">我要购买</a></div>
                                 <?php } ?>
                                <div class="ico">&nbsp;</div>
                            </div></td>
      </tr>
    </table>
    </div>
 


</div>

<script>
$(document).ready(function(){
	$(".sm_a .link").click(function(){
		var smeq=$(this).index();
		$(".sm_qiehuan").find(".link").removeClass("linkOn");
		$(".sm_qiehuan").eq(smeq).find(".sm_a .link").eq(smeq).addClass("linkOn");
		$(".sm_qiehuan").eq(smeq).show().siblings(".sm_qiehuan").hide();
		
	})	
})
</script>
<!-- BSM 2014-12-17 modify end -->
<script>
$(function(){
	 $(".nohouse").bind('click',function(){        
         openWin("warning3");
     })
})

</script> 


      
      <div class="belongBox belongBox_visible radius5">
        <div class="tglc_box_pay clearfix">
          <h4 class="h4">推广流程</h4>
          <img  alt="" src="http://esf.s.house365.com/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">1条</span>二手房源作为推广房源。
								<br>2.推广房源必须是<span class="c1">精装修、90平方米以上、三室一厅以上</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="http://esf.s.house365.com/zsb/images/v1.0/pay_ico_zx13.png" class="img"> <span>我要支付<strong class="num"><?php echo $price['current_price']?$price['current_price']:$price['cost_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>
</body>
</html>
