<div id="centre" class="layout">
    <div class="centreInner ">
        <div class="mainInner radius5 "> 
            <!---->
            <div class="belongBox belongBox_p radius5">
                <div class="personalPInner clearfix">
                    <div class="photo photo_pay radius5">
                        <a href="<?=$info['agent_url']?>" class="picLink" target="_blank">
                            <img alt="" src="<?=$info['smallphoto']?>" width="75" height="100" /> 
                        </a> 
                    </div>
                    <div class="personal_pay">
                        <div><strong class="b">姓名：</strong><span class="c1 b"><?=$info['truename']?></span></div>
                        <div><strong class="b">账户：</strong><span class="c2"><?=$info['username']?></span></div>
                        <div><strong class="b">星级：</strong><span class="c2"><?=$broker_new_info[0]['starlevel']?>星</span></div>
                    </div>
                    <div class="personal_fd">
                        <div class="my"> <strong class="m_fd">我的房豆</strong>
                            <a class="m_fd_link" href="<?=$info['documentation']['what_credit']?>" target="_blank">了解房豆</a></div>
                        <div class="cz_fd"> <strong class="num"><?=$info['credit']?></strong>
							<?php if(!empty($functionSwitch['payment'])){?>
								<a href="<?=$info['recharge_url']?>" class="btn radius4">立即充值</a>
							<?php }?>
							<a href="<?=$info['transaction_detail_url']?>" class="link">查看房豆明细</a>

                           <?php 
                            //链家屏蔽
                            if(!$is_prohibit && !empty($functionSwitch['payment'])){
                                ?>
                            <span class="fg">|</span>                           
                            <a href="<?=$info['recharge_record_url']?>" class="link"> 查看充值记录</a> 
                             <?php 
                            }
                            ?>
                            <style>
                                .housep{color:#fa7431}
                                .housew{ color:#333;padding-top:10px}
                            </style>
                            <?php if(GB_CITY=='nj' && $expire_housebeannum>0){?>
                            <div class="housew">您有<span class="housep"><?php echo $expire_housebeannum;?></span>个房豆将于本月底自动到期!</div>
							<?php }?>
							
							</div>
                    </div>
                </div>
            </div>
            <?php 
				if(!empty($functionSwitch['payment']))
				{
					include_once 'payment_my_buy.php';
				}
			?>
            <div class="personal_title clearfix" style="margin-bottom:-15px;">
                <strong class="title left">最近交易记录</strong>
                <?php if (count($info['transaction_record']) > 0) {?>
                <a href="<?=$info['transaction_detail_url']?>" class="link right">查看全部记录&gt;&gt;</a>
                <?php } ?>
            </div>
            <div class="branchCommon branchCommon_pay radius5 "   >
                <div class="hd">
                    <table class="tableExpert">
                        <tr>
                            <td class="td f w140"><div class="text_l">交易时间</div></td>
                            <td class="td w160"><div class="text_l">订单号</div></td>
                            <td class="td w110"><div class="text_l">购买产品</div></td>
                            <td class="td w70"><div class="text_l">渠道</div></td>
                            <td class="td w70"><div class="text_l">房豆</div></td>
                            <td class="td w80"><div class="text_l">房豆余额</div></td>
                            <td class="td w135"><div class="text_l">说明</div></td>
                        </tr>
                    </table>
                </div>
                <?php if (count($info['transaction_record']) == 0) {?>
                <div class="mod">
                    <div class="no_pay_list" >很遗憾，您暂时还没有任何交易记录哦！</div>
                </div>
                <?php } else { ?>
                <div class="mod">
                    <table class="tableExpert tableExpert_no">
                        <?php foreach($info['transaction_record'] as $v) { ?>
                        <tr>
                            <td class="td f w140"><div class="text_l"><?=$v['ctime']?></div></td>
                            <td class="td w160"><div class="text_l"><?=$v['transaction_id']?></div></td>
                            <td class="td w110"><div class="text_l"><?=$v['name']?></div></td>
                            <td class="td w70"><div class="text_l"><?=$v['source']?></div></td>
                            <td class="td w70"><div class="text_l"><strong class="<?php if ($v['num'] > 0) {echo 'c1';}else{echo 'c2';}?>"><?=$v['num']?></strong></div></td>
                            <td class="td w80"><div class="text_l"><strong class="c1"><?=$v['remain_num']?></strong></div></td>
                            <td class="td w135"><div class="text_l"><?=$v['description']?></div></td>
                        </tr>
                        <?php } ?>
                    </table>
                </div>
                <?php } ?>
            </div>
            <!--<div class="ad_870"><img alt="" src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/pay_870x70.png"></div>-->
        </div>
    </div>
</div>
<!--脚部-->