 <?php  include("../template/usertop.php");?>
<body style="padding:0px;">
<?php  include("../template/menu.php");?>
<div class="head-wrap">
<div class="main_top_1">
<div class="mt" style="position:relative;">
<?php  include("../template/user_left.php");?> 
 <div class="user_zx_right">
<div class="box">
<div class="tagMenu">
<ul class="menu">
<li class="current"><a href="/mobile/user/project.php">投资产品</a></li>
<li><a href="/mobile/user/tender.php">已投产品</a></li>
<li><a href="/mobile/user/recycling.php">收益明细</a></li>
<li><a href="/mobile/user/received.php">投资明细</a></li>
<li><a href="/mobile/user/projectback.php">收回本金明细</a></li>
</ul>
<div class="hite"> <span id="account"></span> </div>
</div>
</div>
<div class="myinfo" style="padding: 5px; margin-bottom: 15px;background:#fff;">
<p style="margin:15px 0px;">尊敬的<?php echo configW('webname'); ?>用户，以下是<?php echo configW('webname'); ?>的投资总表，敬请仔细审阅。</p>

<div class="container-fluid" style="padding-right:0px;">
        <div class="row-fluid">
            <table class="table table-striped table-bordered table-hover datatable" width="100%" style="table-layout:fixed;">
                <thead>
                    <tr>
                        <th width="10%">投资产品名称</th>
                        <th width="10%">投资分类</th>
                        <th width="10%">保理机构</th>
                        <th width="10%">起投金额</th>
                        <th width="9%">日化收益</th>
                        <th width="10%">项目期限</th>
                        <th width="14%">操作</th>
                    </tr>
                </thead>
                <tbody>
					<?php
						$sql="select * from {$db_prefix}project order by classid,orderid";
						$rs = $db->query($sql);
						if(mysql_num_rows($rs) <1 ){  ?>
							<tr>
								<td width="90%" colspan="6">暂无记录</td>
							</tr>
					<?php }else{ 
						while ($rs2=$db->fetch_array($rs)){  ?>
                    <tr class="odd gradeX">
                        <td><?php echo $rs2['title']; ?></td>
                        <td><?php echo checkprokectCn($rs2['classid']); ?></td>
                        <td><?php echo $rs2['bljg']; ?></td>
                       	<td><?php echo $rs2['qtje']; ?></td>
                        <td><?php echo $rs2['jyrsy'].'%'; ?></td>
                        <td><?php echo $rs2['shijian'].$rs2['qxdw']; ?></td>
                        <td><a ng-href="/mobile/project.php?id=<?php echo $rs2['id'];?>"  ng-bind="loan.statusText" style = "background: #2a5fa3;font-size:12px;padding: 3px;" class="btn invest <?php  if($rs2['tzzt'] == 1) echo 'btn-orange';else echo 'btn-gray'; ?>" href="/mobile/project.php?id=<?php echo $rs2['id'];?>">
              <?php  if($rs2['tzzt'] == 1) echo '已售完';else echo '立即加入'; ?></a> </td>
                    </tr>
                    <?php  }}  ?>
                </tbody>
            </table>
        </div>
    </div> 

    
</div>
</div>
</div>
</div>
<?php  include("../template/foot.php");?> 
<?php  include("../template/page.php");?> 
</body></html>