<!--标签零售样式-->
<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"><?  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="http://nj.zsb.house365.com/payment/recharge/" target="_blank">立即充值</a> 
						</div>
						<span class="left m_l_10">
							<a href="http://zsb.house365.com/help/nj/?p=876" target="_blank" class="help_pay">什么是房豆</a>丨<a href="http://zsb.house365.com/help/nj/?p=518" target="_blank" class="help_pay_link">获取房豆说明</a>
						</span>
					</div>
				</div>
								
				<!----> 
								
			</div>
			<!---->
						
			<div class="belongBox belongBox_visible radius5" style="height:700px;">
				<div class="titleTabBox titleTabBoxPay">
					<div class="titleTab">
						<div class="titleTabB clearfix">
							<dl class="list">
								<dd class="item"> <a href="/tag_index" class="link">我要购买</a> </dd>
								<dd class="item itemOn"> <a href="#" class="link">我的购买记录</a> </dd>
							</dl>
						</div>
					</div>
				</div>
				<form action="" method="post" name="search_form" id="search_form">
                        
                       <input type='hidden' name='page' value='<?=$page?>'>
				<!--标签零售购买记录表格start-->
				 <?php if(!empty($data_info) && is_array($data_info)){ ?>
				 <table class="bq-record">
						<tr>
							    <th>交易时间</th> <th>交易号</th> <th>购买产品</th>
								<th>数量</th> <th>消费房豆</th> <th>未使用标签到期时间</th>
						</tr>
						  <?php foreach ($data_info as $value){?>
						<tr>
							<td><?=date('Y-m-d H:i:s',$value['date_add'])?></td> <td><?=$value['order_id']?></td> <td><?=$value['tag_name']?></td>
							<td><?=$value['tag_num']?></td> <td><?=$value['tag_total_price']?></td> <td><?=$value['expire_time']?></td>
						</tr>

						<?php }?>
				</table>
				<?php }else{ ?>
				<div class="mod">
				   <div class="no_pay_list" style="color: #fda92a; height: 170px;line-height: 170px;overflow: hidden;text-align: center;">很遗憾，您暂时还没有任何交易记录哦！</div>
				</div>
				<?php } ?>

				<div class="bd">
				  <!--翻页-->
					<?php if (!empty($pagination)) { ?>
					<div class="picPreviewPagBox pagBoxBorderTop">
						<div class="picPreviewPag">
							<?php echo $pagination; ?>
						</div>
					   
					</div>
					<?php } ?>
				</div>
				</form>


				<!--标签零售购买记录表格end-->		
			</div>
							
		</div>
	</div>
</div>