<!--标签零售样式-->
<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 " style="height:800px;">
						<!---->
						<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>
						
						<?php if(!empty($functionSwitch['payment'])){ ?>
                        <div class="btnFBbox btnLJCZbox left"> 
							<a class="btnB btnSubmit radius5" href="<?=$payment_url?>" target="_blank">立即充值</a> 
						</div>
						<?php }?>

                        <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"> <a href="/vas_packing_house/" class="link">我要购买</a> </dd>
																<dd class="item itemOn"> <a href="/vas_packing_house/orderlist/" class="link">我的购买记录</a> </dd>
														</dl>
												</div>
										</div>
								</div>



								<div class="forms functionBox functionBoxPay functionBoxPay_bz">
										<dl class="list">
												<dd class="list_item clearfix">
														<div class="fields">
																<p class="textFg">共有<span class="bc"><?php echo $record_num?></span>条记录 </p>
																<p class="textFg textFg2">&nbsp;</p>
																<p class="textFg">状态:</p>
																<div class="fgInput jsFgInput">
																		<div class="imitateSelect">
																				<label class="labelImitate" ><?php echo !empty($packing_staus)?$packing_house_staus[$packing_staus]:'全部';?></label>
																				<input type="text" name="" class="imitate imitateIe" readonly value="">
																				<input type="hidden" name="" class="jsImitateHidden" value="0">
																				<div class="listImitate">
																						<dl class="inner">
                                                                                                                                                                                    <dd><a class="link" oid="" href="####" onclick="document.search_form.packing_house_staus.value='';document.search_form.submit();return false;">全部</a></dd>
                                                                                                                                                                                <?php
                                                                                                                                                                                                                                             if(is_array($packing_house_staus) && !empty($packing_house_staus)){
                                                                                                                                                                                                                                                foreach($packing_house_staus as $key=>$value){
                                                                                                                                                                                                                                            ?>
																								<dd><a class="link" oid="<?php echo $key;?>" href="####" onclick="document.search_form.packing_house_staus.value=<?php echo $key;?>;document.search_form.submit();return false;"><?php echo $value;?></a></dd>
                                                                                                                                                                                    <?php
                                                                                                                                                                                                                                                }}
                                                                                                                                                                                                                                                  ?>
																						</dl>
																				</div>
																		</div>
																</div>

																<!---->



														</div>
												</dd>
										</dl>
								</div>


						</div>

						<!---->
                                            <form action="" method="post" name="search_form" id="search_form">
                                                <input type="hidden" name="packing_house_staus" value="">
						<div class="branchCommon branchCommon_pay branchCommon_pay_bz radius5 ">
								<div class="hd">
										<table class="tableExpert">
												<tbody>
														<tr>
																<td class="td f w140">交易时间</td>
																<td class="td w160">交易号</td>
																<td class="td w115">购买产品</td>
																<td class="td w70">消费房豆</td>
																<td class="td w180">推广房源</td>
																<td class="td w135">说明</td>
																<td class="td">状态</td>
														</tr>
												</tbody>
										</table>
								</div>
                                                         <?php
                                                                                if(!empty($recordlist) && is_array($recordlist)){
                                                                                ?>
								<div class="mod">
										<table class="tableExpert">
												<tbody>
                                                                                                    <?php

                                                                                                                                            foreach($recordlist as $key=>$value){

                                                                                                                                        ?>
														<tr>
																<td class="td f w140"><?php echo $value['buy_time'];?></td>
																<td class="td w160"><?php echo $value['order_id'];?></td>
																<td class="td w115"><div class="text_l"><?php echo $packing_house[$value['type']];?></div></td>
																<td class="td w70"><strong class="c1"><?php echo $value['cost'];?></strong></td>
																<td class="td w180">
																		<div class="text_l text_l02">
                                                                                                                                                    <?php echo $value['housestr'];?>
																		</div>
																</td>
																<td class="td w135"><div class="text_l"><?php if($value['start_time']!='0000-00-00 00:00:00' && $value['end_time']!='0000-00-00 00:00:00'){ echo date("Y-m-d",strtotime($value['start_time'])).'至'.date("Y-m-d",strtotime($value['end_time']));}else{ echo '工作人员会尽快排期';}?></div></td>
																<td class="td"><strong class="c3"><?php echo $packing_house_staus[$value['status']];?></strong></td>
														</tr>
                                                                                                                <?php }?>


												</tbody>
										</table>
								</div>
                                                      <?php }else{?>
                                                     <div class="mod">
                                                       <div class="no_pay_list">很遗憾，您暂时还没有任何交易记录哦！</div>
                                                   </div>
                                                          <?php }?>
								<div class="bd">
                                                                     <?php if (!empty($pagination)) { ?>
										<div class="picPreviewPagBox">
												<div class="picPreviewPag">
                                                                                                       <?php echo $pagination; ?>
												</div>
                                                                                     <input type='hidden' name='page' value='<?php echo $page; ?>'>
										</div>
                                                                      <?php } ?>
								</div>
						</div>

                                           </from>
						<!---->

						<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>