<!--中部开始-->
<div id="maincontent">
	<div id="hy_left">
		   <div id="us_l">
    <!-- Left -->
     <div id="usl_upper">
      <div id="uslup_upper">
       <div id="uslup_upper_l"><img src="<?php echo (get_avatar($UID)); ?>" width="80" height="80" alt="" /></div>
       <div id="uslup_upper_r">
        <h4><?php echo session('u_user_name');?></h4>
        <?php if($minfo["time_limit"] > time()): ?><div class="vip"></div><?php endif; ?>
        <p>等级:</p><span title="经验:<?php echo (($minfo["credits"])?($minfo["credits"]):0); ?>"><?php echo (getleveico($minfo["credits"],2)); ?></span>
       </div>
      </div>
      <div id="uslup_lower">
       <p>信用额度:<?php echo (fmoney($minfo["credit_cuse"])); ?><input type="button" class="us_appBut" value="申请额度" onclick="window.location.href='__APP__/member/moneylimit#fragment-1'" /></p>
       <p>担保额度:<?php echo (fmoney($minfo["borrow_vouch_cuse"])); ?></p>
      </div>
     </div>
     
     <ul>
      <li class="cen"><div class="ulDiv1"></div><a href="__APP__/member/index.html"><h5>账户首页</h5></a></li>
     </ul>
     <ul>
      <li><div class="ulDiv2"></div><h6>投资管理</h6></li>
      <li><div class="liDiv"></div><a href="__APP__/invest/index.html">我要投资</a></li>
      <li><div class="liDiv"></div><a href="__APP__/member/tendout#fragment-1">投资总表</a></li>
</div>
<table width="758" border="0" cellspacing="0" cellpadding="0">
 <tr>
  <th>借款标号</th>
  <th>借款标题</th>
  <th>借入人</th>
  <th>我的投资金额</th>
  <th>已还本息</th>
  <th>年化利率</th>
  <th>已还/总期数(还款期)</th>
  <th>合同</th>
 </tr>
 <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
	<td><?php echo ($vo["borrow_id"]); ?></td>
	<td><a href="<?php echo (getinvesturl($vo["borrow_id"])); ?>" title="<?php echo ($vo["borrow_name"]); ?>" target="_blank"><?php echo (cnsubstr($vo["borrow_name"],10)); ?></a></td>
	<td><?php echo ($vo["borrow_user"]); echo (getleveico($vo["credits"],2)); ?></td>
	<td><?php echo ($vo["investor_capital"]); ?></td>
	<td><?php echo ($vo['receive_capital'] + $vo['receive_interest']); ?></td>
	<td><?php echo ($vo["borrow_interest_rate"]); ?>%<?php if($vo["repayment_type"] == 1): ?>/天<?php endif; ?></td>
	<td><?php echo (($vo["back"])?($vo["back"]):"0"); ?>/<?php echo ($vo["total"]); ?>(<?php echo (date("Y-m-d",$vo["deadline"])); ?>)(<a href="__URL__/tendoutdetail?id=<?php echo ($vo["id"]); ?>" target="_blank">详情</a>)</td>
	<td><a href="__APP__/member/agreement/downfile?id=<?php echo ($vo["id"]); ?>" target="_blank">合同</a></td>
  </tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
<div data="fragment-3" id="pager" style="float: right; text-align: right; width: 500px; padding-right: 8px;margin-right: 24px;" class="yahoo2 ajaxpagebar"><?php echo ($pagebar); ?></div>

<script type="text/javascript">
$('.ajaxpagebar a').click(function(){
	try{	
		var geturl = $(this).attr('href');
		var id = $(this).parent().attr('data');
		var x={};
							})
						
					  })
 
                     </script>
  </div>
</div>

<div class="state_main">
  <div class="xw_main_state">
    <div class="state_project"> 
    <div class="phc_dybt"> <span class="tailuser">借款用户&nbsp;:&nbsp;<?php 
echo $minfo["user_name2"];
?>
&nbsp;<!--<?php 
echo getleveico($minfo["credits"], 2);
?>
--></span><span style="display:block; float:left;"><?php 
echo getIco($vo);
?>
</span> <?php 
echo cnsubstr($vo["borrow_name"], 26);
?>
&nbsp; </div>
      <div class="project_left" <?php 
if ($vo["borrow_status"] != "2") {
    ?>
style="background:url(/Style/H/images/invest/ymb.jpg) no-repeat right 100px "<?php 
}
?>
>
.x_member_form .form2{height:350px; overflow:auto;}
.x_member_form .form2 .lineD{overflow:hidden}
.x_member_form .form2 .lineD dt{width:150px; color:#9CB8CC; font-weight:bold}
.x_member_form .form2 .lineD dd{width:200px; float:left; margin-left:0px}
.x_member_form .form2 .lineD dd.xwidth{width:500px;}
.x_member_form .form2 .lineD dt.title{color:#F00}
</style>

<div class="so_main x_member_form">
<div class="page_tit"><?php echo ($user); ?>详细信息</div>
<div class="page_tab"><span data="tab_1" class="active">会员资料</span><span data="tab_3">帐户资金</span><span data="tab_2">借款投资</span></div>
<div class="form2">

	<div id="tab_1">
	
		<dl class="lineD"><dt>用户名:</dt><dd><?php echo ($vo["user_name"]); ?>  <?php echo (getleveico($vo["credits"],2)); ?></dd><dt>认证情况:</dt><dd><?php echo (getverify($vo["id"])); ?></dd></dl>
		<dl class="lineD"><dt>是否冻结:</dt><dd><?php echo ($vo["is_ban"]); ?></dd><dt>客户类型:</dt><dd><?php echo ($vo["user_type"]); ?></dd></dl>
		<dl class="lineD"><dt>所属客服:</dt><dd><?php echo (($vo["customer_name"])?($vo["customer_name"]):"未指定"); ?></dd><dt>真实姓名:</dt><dd><?php echo ($vo["real_name"]); ?></dd></dl>
		<dl class="lineD"><dt>性别:</dt><dd><?php echo ($vo["sex"]); ?></dd><dt>职业:</dt><dd><?php echo ($vo["zy"]); ?></dd></dl>
		<dl class="lineD"><dt>邮箱:</dt><dd><?php echo (($vo["user_email"])?($vo["user_email"]):"未填"); ?></dd><dt>&nbsp;</dt><dd>&nbsp;</dd></dl>
		<dl class="lineD"><dt>手机号码:</dt><dd><?php echo (($vo["user_phone"])?($vo["user_phone"]):"未认证"); ?></dd><dt>年龄:</dt><dd><?php echo ($vo["age"]); ?></dd></dl>
		<dl class="lineD"><dt>婚姻状况:</dt><dd><?php echo ($vo["marry"]); ?></dd><dt>学历:</dt><dd><?php echo ($vo["education"]); ?></dd></dl>
		<dl class="lineD"><dt>身份证号:</dt><dd><?php echo ($vo["idcard"]); ?></dd><dt>月收入:</dt><dd><?php echo ($vo["income"]); ?></dd></dl>
		<dl class="lineD"><dt>银行帐号:</dt><dd><?php echo ($vo["bank_num"]); ?></dd><dt>银行名称:</dt><dd><?php echo ($vo["bank_name"]); ?></dd></dl>
		<dl class="lineD"><dt>银行开户行:</dt><dd class="xwidth"><?php echo ($vo["bank_province"]); echo ($vo["bank_city"]); echo ($vo["bank_address"]); ?></dd></dl>
		<dl class="lineD"><dt>籍贯:</dt><dd class="xwidth"><?php echo ($vo["province"]); echo ($vo["city"]); echo ($vo["area"]); ?></dd></dl>
		<dl class="lineD"><dt>居住地:</dt><dd class="xwidth"><?php echo ($vo["province_now"]); echo ($vo["city_now"]); echo ($vo["area_now"]); ?></dd></dl>
		<dl class="lineD"><dt>个人描述:</dt><dd class="xwidth"><?php echo ($vo["info"]); ?></dd></dl>
		<dl class="lineD"><dt>现居住地址:</dt><dd class="xwidth"><?php echo ($vo["c_address"]); ?></dd></dl>
		<dl class="lineD"><dt>住宅电话:</dt><dd class="xwidth"><?php echo ($vo["c_tel"]); ?></dd></dl>
		<dl class="lineD"><dt>身份证:</dt><dd class="xwidth">
				}
				if (pers >= 1) {
                    $("#loan_time").html("投标已经结束!");
                }else{
					setLeftTime();
				}
            </script>
        <div id="sh_boxr"><a href="javascript:void(0)"><img src="<?php echo (get_avatar($minfo["uid"])); ?>" class="imgBorder" width="80" height="80" /></a><p><a href="#nogo"><?php echo ($minfo["user_name"]); ?></a><?php echo ($minfo["location"]); ?></p><input type="button" class="se_but" /></div>
        <!-- Mous -->
         <!-- <div id="mous" style="display:none">
         
          <div id="mous_upper">
           <div id="mous_upper_l"><a href="javascript:void(0)"><img src="<?php echo (get_avatar($minfo["uid"])); ?>" width="80" height="80" alt="" /></a></div>
           <div id="mous_upper_r">
            <a href="javascript:void(0)"><?php echo ($minfo["user_name"]); ?></a>
            <p>等级:<span><?php echo (getleveico($minfo["credits"],2)); ?></span></p>
            <p>籍贯:<?php echo ($minfo["location"]); ?></p>
            <p>居住城市:<?php echo ($minfo["location_now"]); ?></p>
           </div>
          </div>
          
          
          <div id="mous_midder">
           <p>认证情况:</p>
           <?php echo (getverify_new($minfo["id"])); ?>
          </div>
          
          <div class="h6ban"><h6>跟踪客服:<?php if($minfo["customer_name"] == null): ?>暂无客服
                    <?php else: ?>
                    <?php echo ($minfo["customer_name"]); endif; ?></h6></div>