
<!---->
<div id="centre" class="layout">
		<div class="centreInner ">
             <form name = 'search_form' id='search_form' method='get' action ='' > 
				<div class="mainInner radius5 "> 
						
						<!---->
						
						<div class="titleTabBox">
								<div class="titleTab">
										<div class="titleTabB clearfix">
												<dl class="list">
														<dd class="item "> <a class="link" href="/my_loan/index/"> 申请贷款 </a></dd>
														<dd class="item itemOn"> <a class="link" href="/my_loan/record/">我的贷款</a> </dd>
												</dl>
										</div>
								</div>
						</div>
					
						
						<!---->
						
						<div class="branchCommon_p_box">
								<div class="branchCommon branchCommon_pay radius5 ">
										<div class="hd">
												<table class="tableExpert">
														<tbody>
																<tr>
																		<td class="td f w110">贷款人姓名</td>
																		<td class="td w150">贷款金额</td>
																		<td class="td w125">贷款类型</td>
																		<td class="td w180">提交时间</td>
																		<td class="td w180">审核时间</td>
																		<td class="td">操作</td>
																</tr>
														</tbody>
												</table>
										</div>
										<div class="mod">
												<table class="tableExpert">
                                                    <?php if($data_info){?>
                                                    <?php foreach($data_info as $key=>$value){     
                                                     if($value['status']==2){
														 $statusStyle = "style='color:green'";
													 }elseif($value['status']==3||$value['status']==4){
														 $statusStyle = "style='color:red'";
													 }else{
														 $statusStyle = "";
													 }
													 
                                                    ?>
                                                    <?php if($key%2==0){?>	<tr> <?php }else{ ?><tr class="bg"><?php } ?>
                                                    
														<tr>
																<td class="td f w110"><div class="t_d_p_10"><?=$value['loan_user']?></div></td>
																<td class="td w150"><div class="t_d_p_10"><?=$value['amount']?></div></td>
																<td class="td w125"><div class="t_d_p_10"><?=$productType[$value['tid']]?></div></td>
																<td class="td w180"><div class="t_d_p_10"><?=$value['create_time']?></div></td>
                                                                
                                                                <td class="td w180"><div class="t_d_p_10"><?php if($value['status']!=1){ echo $value['check_time'];}else{ echo "──";}?></div></td>
																
                                                                <td class="td "><div class="t_d_p_10" <?=$statusStyle?> ><?=$settingType[$value['status']]?></div></td>
														</tr>
														
										           <?php }?>
                                                    <?php }else{?>
													  <div class="itemInfoBach  radius4" style="text-align: center; line-height: 67px;">
                                                    没有符合条件的记录
                                                          </div>
                                                    <?php }?>
												
																
												
												</table>
										</div>
								</div>
					       <?php if (!empty($pagination)) { ?>
								<div class="picPreviewPagBox">
										<div class="picPreviewPag">
											 <?php echo $pagination; ?>	
										</div>
								</div>
                            <?php } ?>
                            <input type='hidden' name='page' value='<?=$page?>'>
								<div class="dk_jl_title"><strong class="blod">奖励规则说明</strong><span class="color">房豆奖励将会在贷款审核通过之后发放到您的租售宝账户中</span></div>
								<div class="dk_jl_table radius5">
										<table class="table">
												<tr class="bg">
														<th class="th w140">产品名称</th>
														<th class="th w195">奖励房豆</th>
														<th class="th w300">备注</th>
												</tr>
												 <?php if(is_array($reward)&&!empty($reward)){?>
                                            <?php foreach ($reward as $key=>$value){?>
                                            
                                            <?php if($key%2==1){?><tr class="bg"><?php }else{ ?> <tr><?php }?>
                                                <td class="td td_f"><?=$value['name']?></td>
														<td class="td"><strong class="num"><?=$value['reward_credit']?></strong>房豆/单</td>
														<?php if($value['remark']){?>
                                                        <td class="td w300"><?=$value['remark']?></td>
                                                        <?php }else{?>
                                                        <td class="td w300">──</td>
                                                        <?php }?>
												</tr>                                                
												
                                            <?php }?>
                                            <?php }?>
										</table>
								</div>
						</div>
						
						<!----> 
                            </form>
				</div>
		</div>

</div>
<script type="text/javascript" src="<?=STATIC_SOURCE_URL?>/min/?f=zsb/js/v1.0/js2.js"></script>
</body>
</html>
