public function investRecord($borrow_id = 0) { isset($_GET['borrow_id']) && ($borrow_id = intval($_GET['borrow_id'])); $Page = D('Page'); import("ORG.Util.Page"); $count = M("borrow_investor")->where('borrow_id=' . $borrow_id)->count('id'); $Page = new \Org\Util\Page($count, 10); $show = $Page->ajax_show(); $this->assign('page', $show); if ($_GET['borrow_id']) { $list = M("borrow_investor as b")->join(C(DB_PREFIX) . "members as m on b.investor_uid = m.id")->join(C(DB_PREFIX) . "borrow_info as i on b.borrow_id = i.id")->field('i.borrow_interest_rate, i.repayment_type, b.investor_capital, b.add_time, b.is_auto, m.user_name')->where('b.borrow_id=' . $borrow_id)->order('b.id')->limit($Page->firstRow . ',' . $Page->listRows)->select(); /*foreach($list as $k=>$v){ $relult=$k%2; if(!$relult){ $string .= "<tr style='background-color: rgb(255, 255, 255);' class='borrowlist3'> <td width='148' class='txtC'>".hidecard($v['user_name'],5)."</td> <td width='148' class='txtC'>"; }else{ $string .= "<tr style='background-color: rgb(236, 249, 255);' class='borrowlist5'> <td width='148' class='txtC'>".hidecard($v['user_name'],5)."</td> <td width='148' class='txtC'>"; } $string .= $v['is_auto']?'自动':'手动'; $string .= "</td> <td width='128' class='txtRight pr30'>".Fmoney($v['investor_capital'])."元</td> <td width='198' class='txtC'>".date("Y-m-d H:i",$v['add_time'])."</td> <td></td></tr>"; }*/ foreach ($list as $k => $v) { echo '<div class="c_jilu">'; echo '<div class="c_tbjl01">' . hidecard($v['user_name'], 4) . '</div>'; echo '<div class="c_tbjl02">' . $v['borrow_interest_rate'] . '%</div>'; echo '<div class="c_tbjl03">' . Fmoney($v['investor_capital']) . '</div>'; echo '<div class="c_tbjl04">' . date("Y-m-d", $v['add_time']) . ' <span>' . date("H:i", $v['add_time']) . '</span></div>'; echo '<div class="c_tbjl05">'; echo $v['is_auto'] ? '自动' : '手动'; echo '</div>'; echo '<div class="c_tbjl06"><img src="/Style/H/images/images/wancheng2.png" width="21" height="21" /></div>'; echo '<div class="clear"></div>'; echo '</div>'; } } }
</dd></dl> <dl class="lx"><dt>待还利息:</dt><dd><?php echo $noreadyinterest["0"]["no"]; ?> </dd></dl> <dl class="lx"><dt>待还本金:</dt><dd><?php echo $bonus["0"]["bm"]; ?> </dd></dl> <dl class="lx"><dt>冻结中总额:</dt><dd><?php echo fmoney($freeze["0"]["total"]); ?> </dd></dl> <!-- 感觉如此计算不靠谱 因为还款之后没有标志 哪笔还款了 (目前冻结的本金 可以以后或者之前解冻了。无剧可查)--> <!-- <dl class="lx"><dt>冻结中的保证金总额:</dt><dd><?php echo Fmoney($list['19']['money'] - $list['24']['money']); ?> </dd></dl> --> </td> </tr> </table> </div> <!--<script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Ff708bea5a5b94473d52231dbe92e5017' type='text/javascript'%3E%3C/script%3E")); </script> --> </div> <script type="text/javascript" src="__ROOT__/Style/A/js/adminbase.js"></script>
public function finanzData() { $per = C('DB_PREFIX'); $site = intval($_GET['site']); switch ($site) { case 2: $map = ' d.repayment_time=0 AND d.deadline<' . time() . ' AND d.status in(3,5,7) '; $field = "sum(d.capital)+sum(d.interest) as capital_all,d.borrow_uid,m.user_name,d.borrow_id,b.borrow_name,sum(d.interest) as interest,d.repayment_time,d.deadline"; //分页处理 import("ORG.Util.Page"); $xcount = M('investor_detail d')->field("d.id")->where($map)->group('d.sort_order,d.borrow_id')->buildSql(); $newxsql = M()->query("select count(*) as tc from {$xcount} as t"); $count = $newxsql[0]['tc']; $p = new \Org\Util\Page($count, 10); $page = $p->show(); $Lsql = "{$p->firstRow},{$p->listRows}"; //分页处理 $lately = M('investor_detail d')->field($field)->join("{$per}members m ON m.id=d.borrow_uid")->join("{$per}borrow_info b ON b.id=d.borrow_id")->where($map)->group('d.sort_order,d.borrow_id')->order("d.deadline asc")->limit($Lsql)->select(); $this->assign("page", $page); $this->assign("tendlately", $lately); $data['html'] = $this->fetch('finanz_res1'); exit(json_encode($data)); break; case 3: $map = ' b.status in(4,5) AND b.investor_uid <> 1'; // $field = " b.investor_uid,sum((b.deadline-b.add_time)*investor_capital/3600/24/30) as money_all,b.investor_uid,m.user_name "; $field = " b.investor_uid,sum(investor_capital) as money_all,b.investor_uid,m.user_name "; //分页处理 import("ORG.Util.Page"); $xcount = M('borrow_investor b')->field("b.investor_uid")->where($map)->group('b.investor_uid')->buildSql(); $newxsql = M()->query("select count(*) as tc from {$xcount} as t"); $count = $newxsql[0]['tc']; $p = new \Org\Util\Page($count, 10); $page = $p->show(); $Lsql = "{$p->firstRow},{$p->listRows}"; //分页处理 $lately = M('borrow_investor b')->field($field)->join("{$per}members m ON m.id=b.investor_uid")->where($map)->group('b.investor_uid')->order("money_all desc")->limit($Lsql)->select(); foreach ($lately as $k => $v) { $lately[$k]['money_all'] = Fmoney($v['money_all']); } $this->assign("page", $page); $this->assign("tenddata", $lately); $data['html'] = $this->fetch('finanz_res2'); exit(json_encode($data)); break; case 4: $map = ' b.status in(4,5) AND b.borrow_uid <> 1'; // $field = " b.borrow_uid,sum((b.deadline-b.add_time)*investor_capital/3600/24/30) as money_all,b.borrow_uid,m.user_name "; $field = " b.borrow_uid,sum(investor_capital) as money_all,b.borrow_uid,m.user_name "; //分页处理 import("ORG.Util.Page"); $xcount = M('borrow_investor b')->field("b.investor_uid")->where($map)->group('b.investor_uid')->buildSql(); $newxsql = M()->query("select count(*) as tc from {$xcount} as t"); $count = $newxsql[0]['tc']; $p = new \Org\Util\Page($count, 10); $page = $p->show(); $Lsql = "{$p->firstRow},{$p->listRows}"; //分页处理 $lately = M('borrow_investor b')->field($field)->join("{$per}members m ON m.id=b.borrow_uid")->where($map)->group('b.borrow_uid')->order("money_all desc")->limit($Lsql)->select(); foreach ($lately as $k => $v) { $lately[$k]['money_all'] = Fmoney($v['money_all']); } $this->assign("page", $page); $this->assign("tenddata", $lately); $data['html'] = $this->fetch('finanz_res2'); exit(json_encode($data)); break; case 1: default: $time = strtotime(date("Y-m-d")); $map = ' d.deadline> ' . $time . ' AND d.deadline< ' . ($time + 3600 * 24 * 7) . ' AND d.status in(1,2,7) '; $field = "sum(d.capital)+sum(d.interest) as capital_all,d.borrow_uid,m.user_name,d.borrow_id,b.borrow_name,sum(d.interest) as interest,d.repayment_time,d.deadline"; //分页处理 import("ORG.Util.Page"); $xcount = M('investor_detail d')->field("d.id")->where($map)->group('d.sort_order,d.borrow_id')->buildSql(); $newxsql = M()->query("select count(*) as tc from {$xcount} as t"); $count = $newxsql[0]['tc']; $p = new \Org\Util\Page($count, 10); $page = $p->show(); $Lsql = "{$p->firstRow},{$p->listRows}"; //分页处理 $lately = M('investor_detail d')->field($field)->join("{$per}members m ON m.id=d.borrow_uid")->join("{$per}borrow_info b ON b.id=d.borrow_id")->where($map)->group('d.sort_order,d.borrow_id')->order("d.deadline asc")->limit($Lsql)->select(); $this->assign("page", $page); $this->assign("tendlately", $lately); $data['html'] = $this->fetch('finanz_res1'); exit(json_encode($data)); break; } $data['html'] = "无相关记录"; exit(json_encode($data)); }
?> </dd></dl> <dl class="lx"><dt>已付利息总额:</dt><dd><?php echo fmoney($list["32"]["money"]); ?> </dd></dl> <dl class="lx"><dt>待付利息总额:</dt><dd><?php echo fmoney($list["32"]["money"]); ?> </dd></dl> <dl class="lx"><dt>红包总额:</dt><dd><?php echo fmoney($red); ?> </dd></dl> <!-- <dl class="lx"><dt>总计:</dt><dd><?php echo Fmoney($list['28']['money'] + $list['21']['money'] + $list['32']['money']); ?> --> </dd></dl> </td> </tr> </table> </div> <!--<script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Ff708bea5a5b94473d52231dbe92e5017' type='text/javascript'%3E%3C/script%3E")); </script> --> </div> <script type="text/javascript" src="__ROOT__/Style/A/js/adminbase.js"></script>
public function newinvestRecord($id = 0) { isset($_GET['id']) && ($id = intval($_GET['id'])); $Page = D('Page'); import("ORG.Util.Page"); $count = M("newbie_record")->where('status=7')->count('id'); $Page = new Page($count, 100); // $show = $Page->ajax_show(); // $this->assign('pager', $show); if ($_GET['id']) { $list = M("newbie_record as b")->field('b.username,b.invest_money,b.invest_time')->where('b.status=7')->order('b.invest_time desc')->limit($Page->firstRow . ',' . $Page->listRows)->select(); $string = ''; foreach ($list as $k => $v) { $relult = $k % 2; if (!$relult) { $string .= "<tr style='background-color: rgb(255, 255, 255);' class='borrowlist3'>\n <td width='148' class='txtC'>" . hidecard($v['username'], 5) . "</td>\n <td width='148' class='txtC'>"; } else { $string .= "<tr style='background-color: rgb(236, 249, 255);' class='borrowlist5'>\n <td width='148' class='txtC'>" . hidecard($v['username'], 5) . "</td>\n <td width='148' class='txtC'>"; } $string .= $v['is_auto'] ? '新手标' : '新手标'; $string .= "</td>\n <td width='128' class='txtRight pr30'>" . Fmoney($v['invest_money']) . "元</td>\n <td width='198' class='txtC'>" . date("Y-m-d H:i", $v['invest_time']) . "</td>\n <td></td></tr>"; } echo empty($string) ? '暂时没有投资记录' : $string; } }
<td><span><?php echo ($totalDeals); ?><span></td> <td> </td> </tr> <tr> <th>待回收本金总额</th> <td><span><?php echo Fmoney($staticslist['17']['money']-$staticslist['32']['money'],false);?><span></td> <td> </td> </tr> <tr> <th>最近30天待回收本息</th> <td><span><?php echo Fmoney($statics30, false);?><span></td> <td> </td> </tr> <tr> <th>当前逾期总本息</th> <td><span><?php echo Fmoney($staticslist['expired']['money']);?><span></td> <td>逾期率:<?php echo ($expiredratestr); ?> <!--<a href="#nogo">+ 更多逾期详情</a>--></td> </tr> </table> </div> <div id="pieChart"> </div> </div> <div id="head_ne2"><h5>近30天还款情况<span>(<?php echo ($nearlyStartDate); ?>至<?php echo ($nearlyEndDate); ?>)</span></h5></div> <div id="bottomPart"> <table width="958" border="0" cellspacing="0" cellpadding="0"> <tr> <th>借款人</th>
?> </dd></dl> <dl class="lx"><dt>已还金额:</dt><dd><?php echo fmoney($transfer["receive_capital"]); ?> </dd></dl> <dl class="lx"><dt>待还金额:</dt><dd><?php echo Fmoney($transfer['investor_capital'] - $transfer['receive_capital']); ?> </dd></dl> <dl class="lx"><dt>已支付利息:</dt><dd><?php echo fmoney($transfer["receive_interest"]); ?> </dd></dl> <dl class="lx"><dt>待支付利息:</dt><dd><?php echo Fmoney($transfer['investor_interest'] - $transfer['receive_interest']); ?> </dd></dl> <dl class="lx"><dt>已支付奖励:</dt><dd><?php echo fmoney($transfer["reward_money"]); ?> </dd></dl> </td> <td valign="top"> </td> <td valign="top"> </td> </tr> </table> </div> <!--<script type="text/javascript">
<td><?php echo Fmoney($vo['benefit']['interest_collection'] + $vo['benefit']['capital_collection']); ?> </td> <td><?php echo $vo["benefit"]["capital_collection"] ? $vo["benefit"]["capital_collection"] : "0.00"; ?> </td> <td><?php echo $vo["benefit"]["interest_collection"] ? $vo["benefit"]["interest_collection"] : "0.00"; ?> </td> <td><?php echo Fmoney($vo['out']['interest_pay'] + $vo['out']['capital_pay']); ?> </td> <td><?php echo $vo["out"]["capital_pay"] ? $vo["out"]["capital_pay"] : "0.00"; ?> </td> <td><?php echo $vo["out"]["interest_pay"] ? $vo["out"]["interest_pay"] : "0.00"; ?> </td> <!--<td><?php echo date("Y-m-d H:i", $vo["reg_time"]); ?> </td>-->
<?php $ads = get_ad(4); ?> <div class="ws_bullets"> <div> <?php if(is_array($ads)): $i = 0; $__LIST__ = $ads;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$va): $mod = ($i % 2 );++$i;?><a href="<?php echo ($va["url"]); ?>" title="<?php echo ($va["info"]); ?>" idx="<?php echo ($i); ?>" <?php if($i == 1): ?>class="ws_selbull"<?php endif; ?>><?php echo ($i); ?></a><?php endforeach; endif; else: echo "" ;endif; ?> </div> </div> <div id="slider"> <?php if(is_array($ads)): $i = 0; $__LIST__ = $ads;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$va): $mod = ($i % 2 );++$i;?><a href="<?php echo ($va["url"]); ?>"><div class="banner" idx="<?php echo ($i); ?>" style="background-image:url(__ROOT__/<?php echo ($va["img"]); ?>);<?php if($i > 1): ?>display:none<?php endif; ?>" <?php if($i == 1): ?>data='show'<?php endif; ?> title="<?php echo ($va["info"]); ?>"></div></a><?php endforeach; endif; else: echo "" ;endif; ?> </div> <div id="report"> <h4>实时财务播报:</h4> <p>总成交额:<span><?php echo (fmoney($staticslist["17"]["money"],false)); ?></span>元</p> <p>待收本金总额:<span><?php echo Fmoney($staticslist['17']['money']-$staticslist['32']['money'],false);?></span>元</p> <p>风险准备金总额:<span>200,000</span>元</p> <a href="__APP__/realtimefinancial/index.html">+ 查看详细数据</a> </div> <div id="content" style="padding-top: 10px;padding-left: 30px;font-size: 18px;"> <div class="Guide"> <div class="Guide_cont lf" style="margin-left: 40px;"> <div class="Guide_box" style="border-right-style: none;"> <div class="pic"> <span><img src="__ROOT__/Style/gold/images/append/date_3.png" style=" margin-left:10px;"></span></div> <h5> <span style="font-size: 22px; font-weight: bold;">真实透明</span> </h5> <ul style=" margin-left:0px;"> <li>随时抽查打款证明</li>
/** * ajax 获取投资记录 * */ public function investRecord($re = false, $page = false) { isset($_GET['id']) && ($borrow_id = intval($_GET['id'])); //$Page = D('Page'); import("ORG.Util.Page"); $count = M("borrow_investor")->where('borrow_id=' . $borrow_id)->count('id'); $Page = new Page($count, 10); $show = $Page->ajax_show(); $this->assign('page', $show); if (true === $page) { return true; } if ($borrow_id) { $list = M("borrow_investor as b")->join(C(DB_PREFIX) . "members as m on b.investor_uid = m.id")->join(C(DB_PREFIX) . "borrow_info as i on b.borrow_id = i.id")->field('b.id,b.ent,i.borrow_interest_rate, i.repayment_type, b.investor_capital, b.add_time, b.is_auto, m.user_name')->where('b.borrow_id=' . $borrow_id)->order('b.id')->limit($Page->firstRow . ',' . $Page->listRows)->select(); $string = ''; if (true === $re) { return array('count' => $count, 'list' => $list); } foreach ($list as $k => $v) { $relult = $k % 2; if (!$relult) { $string .= "<tr class='h_tdblue'><td width='148' class='txtC'>" . hidecard($v['user_name'], 5) . "</td>"; } else { $string .= "<tr><td width='148' class='txtC'>" . hidecard($v['user_name'], 5) . "</td>"; } $string .= "<td width='148' class='txtC" . ($v['ent'] ? ' new_add' : '') . "'>"; if ($v['ent']) { $string .= <<<EOT <em class="new_wechat_tit">微信</em><i class="new_wechat" data-id='{$v['id']}'></i> <p class="sweep_wechat" style="display: none;" id='sweep_wechat_{$v['id']}'> <em class="point1"></em> <img src="/Style/img/wechat.jpg" width="140" height="138"> <span class="sweep_wechat_con">扫码注册领<i>百元</i>红包</span> <span class="sweep_wechat_con">微信投标享<i>干二</i>奖励</span> </p> EOT; } else { $string .= $v['is_auto'] ? '自动' : '手动'; } $string .= "</td>\n <td width='128' class='txtRight pr30'>" . Fmoney($v['investor_capital']) . "元</td>\n <td width='198' class='txtC'>" . date("Y-m-d H:i:s", $v['add_time']) . "</td>\n <td></td></tr>"; } echo empty($string) ? '暂时没有投资记录' : $string; } }
/** * ajax 获取投资记录 * */ public function tinvestRecord($borrow_id = 0) { isset($_GET['borrow_id']) && ($borrow_id = intval($_GET['borrow_id'])); $Page = D('Page'); import("ORG.Util.Page"); $count = M("borrow_investor")->where('borrow_id=' . $borrow_id)->count('id'); $Page = new Page($count, 10); $show = $Page->ajax_show(); $this->assign('page', $show); if ($_GET['borrow_id']) { $list = M("borrow_investor as b")->join(C(DB_PREFIX) . "members as m on b.investor_uid = m.id")->join(C(DB_PREFIX) . "borrow_info as i on b.borrow_id = i.id")->field('i.borrow_interest_rate, i.repayment_type, b.investor_capital, b.add_time, b.is_auto, m.user_name')->where('b.borrow_id=' . $borrow_id)->order('b.id')->limit($Page->firstRow . ',' . $Page->listRows)->select(); $string = ''; foreach ($list as $k => $v) { $relult = $k % 2; if (!$relult) { $string .= "<tr style='background-color: rgb(255, 255, 255);' class='borrowlist3'>\n <td width='148' class='txtC'>" . hidecard($v['user_name'], 5) . "</td>\n <td width='148' class='txtC'>"; } else { $string .= "<tr style='background-color: rgb(236, 249, 255);' class='borrowlist5'>\n <td width='148' class='txtC'>" . hidecard($v['user_name'], 5) . "</td>\n <td width='148' class='txtC'>"; } $string .= $v['is_auto'] ? '自动' : '手动'; $string .= "</td>\n <td width='128' class='txtRight pr30'>" . Fmoney($v['investor_capital']) . "元</td>\n <td width='198' class='txtC'>" . date("Y-m-d H:i", $v['add_time']) . "</td>\n <td></td></tr>"; } echo empty($string) ? '暂时没有投资记录' : $string; } }
?> </span></p> <p>提现手续费:<span style="float:right"><?php echo Fmoney($out["withdraw_fee"]); ?> </span></p> <p >会员及认证费用:<span style="float:right"><?php echo Fmoney($out["authenticate"]); ?> </span></p> <p >借款管理费:<span style="float:right"><?php echo Fmoney($out["borrow_manage"]); ?> </span></p> <p >逾期及催收费用:<span style="float:right"><?php echo Fmoney($out["overdue"]); ?> </span></p> </div> </div> <div style="clear:both"></div> </div> </div> <div style="clear:both"></div> </div> </div> <div class="dw_list" style="padding-bottom:5px"> <div style="font-size:18px"> 交易记录<a style="float:right;margin-right:20px;font-size:12px;padding-top:6px" href="/index.php/member/capital#fragment-2">查看明细</a> </div> <div class="dw_3_jilu"> <ul class="tou"> <li class="eq1">发生日期</li>
<?php else: ?> <table width="665" border="0" cellspacing="0" cellpadding="0"> <THEAD> <tr> <th>借款标题</th> <th>期数</th> <th>还款本息</th> <th>实际到期日期</th> <th>还款日期</th> <th>还款状态</th> </tr> </THEAD> <?php if(is_array($paying_list["list"])): $i = 0; $__LIST__ = $paying_list["list"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vp): $mod = ($i % 2 );++$i;?><tr> <td><a href="<?php echo (getinvesturl($vp["borrow_id"])); ?>" target="_blank"><?php echo ($vp["borrow_name"]); ?></a></td> <td><?php echo ($vp["sort_order"]); ?>/<?php echo ($vp["total"]); ?></td> <td><?php echo Fmoney(getFloatValue($vp['capital']+$vp['interest'],2));?></td> <td><?php echo (date("Y-m-d",$vp["deadline"])); ?></td> <td><?php if($vp["repayment_time"] == 0): ?>-<?php else: echo (date("Y-m-d",$vp["repayment_time"])); endif; ?></td> <td><?php echo ($vp["status"]); ?></td> </tr><?php endforeach; endif; else: echo "" ;endif; ?> </table><?php endif; ?> </div> <div class="details" id="divMedias"> <?php if(count(unserialize($vo['updata'])) == 0): ?><p>没有相关影像资料</p> <?php else: ?> <div id="makeMeScrollable"> <?php $i=0;foreach(unserialize($vo['updata']) as $v){ $i++; ?> <?php if($UID > '0'): ?><li style="width:260px;height:260px;margin-left:10px;"> <a title="<?php echo $v['info']; ?>" rel="img_group" href="__ROOT__/<?php echo $v['img']; ?>"><img width="260" height="260" src="__ROOT__/<?php echo get_thumb_pic($v['img']); ?>"></a></li> <?php else: ?> <li style="width:260px;height:260px;margin-left:10px;"> <a title="<?php echo $v['info']; ?>" rel="login_group" href="__ROOT__/help/loginpop"><img width="260" height="260" src="__ROOT__/<?php echo get_thumb_pic($v['img']); ?>" /></a></li><?php endif; ?>
</div> <div class="us_rb2_lower"> <p>可用余额<font class="xtitle" title="可以直接使用的金额">[?]</font>:<span><?php echo (fmoney($minfo["account_money"])); ?></span></p> <p>冻结总额<font class="xtitle" title="冻结总额是您当前暂时不能使用的金额,冻结总额包括投标冻结、提现冻结">[?]</font>:<span><?php echo (fmoney($minfo["money_freeze"])); ?></span></p> <p>已赚利息:<span><?php echo (fmoney($capitalinfo["tj"]["earnInterest"])); ?></span></p> <p>投资总额:<span><?php echo (fmoney($capitalinfo["tj"]["jcze"])); ?></span></p> <p>已收总额:<span><?php echo (fmoney($capitalinfo["tj"]["ysze"])); ?></span></p> <p>待收总额<font class="xtitle" title="是您借款给别人但还没收回的本息总额,待收总额=待收本金总额+待收利息">[?]</font>:<span><?php echo (fmoney($minfo["money_collect"])); ?></span></p> <p>待收利息:<span><?php echo (fmoney($capitalinfo["tj"]["willgetInterest"])); ?></span></p> <p>投标奖励:<span><?php echo (fmoney($toubiaojl)); ?></span></p> <p>推广奖励:<span><?php echo (fmoney($tuiguangjl)); ?></span></p> <p>最近待收金额:<span><?php echo Fmoney(getFloatvalue($lastInvest['capital']+$lastInvest['interest'],2));?></span></p> <p>最近待收时间:<?php echo (mydate("Y-m-d",$lastInvest["gettime"],'<span>无待收</span>')); ?><a href="__APP__/member/tendout#fragment-3">[明细]</a></p> <p>已还总额:<span><?php echo (fmoney($capitalinfo["tj"]["yhze"])); ?></span></p> <p>待还总额:<span><?php echo (fmoney($capitalinfo["tj"]["dhze"])); ?></span></p> <p>最近待还金额:<span><?php echo Fmoney(getFloatvalue($lastBorrow['borrow_money']+$lastBorrow['borrow_interest'],2));?></span></p> <p>最近待还时间:<?php echo (mydate("Y-m-d",$lastBorrow["gettime"],'<span>无待收</span>')); ?><a href="__APP__/member/borrowin#fragment-3">[明细]</a></p> <p>借款信用额度:<span><?php echo (fmoney($minfo["credit_limit"])); ?></span></p> <p>可用信用额度:<span><?php echo (fmoney($minfo["credit_cuse"])); ?></span></p> <p>借款担保总额:<span><?php echo (fmoney($minfo["borrow_vouch_limit"])); ?></span></p> <p>可用借款担保额度:<span><?php echo (fmoney($minfo["borrow_vouch_cuse"])); ?></span></p> <p>投资担保总额:<span><?php echo (fmoney($minfo["invest_vouch_limit"])); ?></span></p> <p>可用投资担保额度:<span><?php echo (fmoney($minfo["invest_vouch_cuse"])); ?></span></p> </div> </div> <!-- Right // --> </div> </div> <script type="text/javascript"> <!--
</div> <div class="lb3_h"><h4><span>净值</span>借款</h4><p>净值标说明:净值标是一种以投资人的净投资作为借款依据来确认发标金额的标的类型</p></div> <div class="lb3"> <div class="lb3_upper"><p>申请条件:<span>投资多少钱便有多少净值额度!</span> 计算公式:<span>投资待收总额-借款净值标待还的总额=可借额度</span></p></div> <div class="lb3_lower"> <div class="lb3_ll"> <table width="358" border="0" cellspacing="0" cellpadding="0"> <tr> <th>帐户净资产</th> <th>可借款金额</th> <th>额度状态</th> </tr> <tr> <td><?php echo Fmoney($minfo['money_collect']);?></td> <td><?php echo Fmoney($minfo['money_collect']-$capitalinfo['borrow'][6]['money']-$capitalinfo['borrow'][6]['repayment_money']);?></td> <td>正常</td> </tr> </table> </div> <div class="lb3_lr"><input type="button" class="bor_but" value="立即借入" onclick="window.location.href='__URL__/post/net.html'" /><p>已有<span><?php echo (($allStat[4])?($allStat[4]):0); ?></span>个该类型借款</p></div> </div> </div> <div class="lb4_h"><h4><span>秒还</span>借款</h4><p>秒还标说明:秒还标是一种自动通过复审并且标满即马上自动还款的标的类型</p></div> <div class="lb4"> <div class="lb4_upper"><p>申请条件:<span>1.注册用户</span><span>2.通过实名认证</span><span>3.资料认证</span></p></div> <div class="lb4_lower"> <div class="lb4_ll"> <table width="358" border="0" cellspacing="0" cellpadding="0"> <tr>
?> </dd></dl> <dl class="lx"><dt>会员提现:</dt><dd><?php echo fmoney($list["1"]["money"]); ?> </dd></dl> <dl class="lx"><dt>公司充值:</dt><dd><?php echo fmoney($list2["0"]["money"]); ?> </dd></dl> <dl class="lx"><dt>公司提现:</dt><dd><?php echo fmoney($list2["1"]["money"]); ?> </dd></dl> <!-- <dl class="lx"><dt>总计:</dt><dd><?php echo Fmoney($list['3']['money'] - $list['29']['money']); ?> </dd></dl> --> </td> </table> </div> <!--<script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Ff708bea5a5b94473d52231dbe92e5017' type='text/javascript'%3E%3C/script%3E")); </script> --> </div> <script type="text/javascript" src="__ROOT__/Style/A/js/adminbase.js"></script> </body> </html>