<!--标签零售样式-->
<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 " style="min-height:770px;"> 
						<!---->
						<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"> <a href="/vas_set_promot/schoolHouse/" class="link">我要购买</a> </dd>
																<dd class="item itemOn"> <a href="/vas_set_promot/myList/" 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"><?=$total?></span>条记录 </p>
																<p class="textFg textFg2">&nbsp;</p>
																<p class="textFg">状态:</p>
																<div class="fgInput jsFgInput">
																		<div class="imitateSelect">
																				<label class="labelImitate" >全部</label>
                                                                                <input type="text" name="" class="imitate imitateIe" readonly value="<?php if($status){ echo $allStatus[$status];} ?>">
																				<input type="hidden" name="" class="jsImitateHidden" value="0">
																				<div class="listImitate">
																					<dl class="inner">
                                                                                    <dd><a class="link" oid="" href="####" onclick="document.search_form.status.value='';document.search_form.submit();return false;">全部</a></dd>
 <?php
if(is_array($allStatus) && !empty($allStatus)){
                                                                                                                                  foreach($allStatus as $key=>$value){
?>                                                                                                                        <?php    }  }   ?>           
                                                                                                                              
																						</dl>
																				</div>
																		</div>
																</div>
																
																<!---->
															
															
															
														</div>
												</dd>
										</dl>
								</div>
								

						</div>
						
						<!---->
						  <form action="" method="post" name="search_form" id="search_form">
                         <input type="hidden" name="status" value="">
                         <input type='hidden' name='page' value='<?=$page?>'>
						<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 w180">购买产品</td>
																<td class="td w70">消费房豆</td>
																<td class="td w90">推广房源</td>
																<td class="td w160">说明</td>
																<td class="td">状态</td>
														</tr>
												</tbody>
										</table>
								</div>
                                <?php if(!empty($data_info) && is_array($data_info)){ ?>
								<div class="mod">
										<table class="tableExpert">
												<tbody>
                                               <?php foreach ($data_info as $value){?>
														<tr class="bg">
																<td class="td f w140"><?=$value['buy_time']?></td>
																<td class="td w160"><?=$value['order_id']?></td>
																<td class="td w180"><div class="text_l"><?=$value['type']?></div></td>
																<td class="td w70"><strong class="c1"><?=$value['cost']?></strong></td>
																<td class="td w90">

																	<strong class="c1"><?=$value['houseid']?></strong>

																</td>
																<td class="td w160">
																<div class="text_l">
                                                                <?php
                                                                if($value['start_time']==""||$value['end_time']==""){?>
                                                               工作人员会尽快为您排期
                                                                <?php }else{ ?>
																<?=$value['start_time']?>至<?=$value['end_time']?>

																<?php }?>

																</div></td>
																<td class="td"><strong class="c3"><?=$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 pagBoxBorderTop">
                        <div class="picPreviewPag">
                            <?php echo $pagination; ?>
                        </div>
                       
                    </div>
                <?php } ?>
								</div>
						</div>
                         
			  </from>
						<!---->
						
						<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>
</body>
</html>
