<div id="col-lg-12">
<b>如何开启团队报名？</b>
<br/>
进入“组别”-》“团队设置”
<br/><br/>
<div id="table-responsive">
<table class="table table-striped table-advance table-hover">
    <thead>
    <tr>
        <th>团队名称</th>
        <th>团队介绍</th>
        <th>申请用户</th>
        <th>申请时间</th>
        <th>申请组别</th>
        <th>名单</th>
        <th>审核</th>
    </tr>
</thead>
<tbody>
    <?php
    if ($result) {
        foreach ($result as $row) {
            ?>
            <tr>
                <td><a href="index.php?c=race&action=dashboard&id=<?php echo $row['id'] ?>"><?php echo $row['team_name'] ?></a></td>
                <td><a href="index.php?c=race&action=dashboard&id=<?php echo $row['id'] ?>"><?php echo $row['team_content'] ?></a></td>
                <td><?php echo $row['user_id']?></td>
                <td><?php echo date("Y-m-d",$row['add_time'])?></td>
                <td><?php echo $row['group_id']?></td>
                <td><a href="index.php?c=race&action=race_reg_member_list&race_id=<?php echo $race_id?>&team_id=<?php echo $row['id']?>"><?php echo $race->race_team_count($row['group_id'])."/".$row['mount']?></a></td>
                <td>
                    <a href="index.php?c=race&action=race_team_check&is_check=0&id=<?php echo $row['id']?>&race_id=<?php echo $race_id?>" 
<?php if($row['is_check']=='0'){echo 'class=blue';}?>
                        >已审核</a>
                      <a href="index.php?c=race&action=race_team_check&is_check=1&id=<?php echo $row['id']?>&race_id=<?php echo $race_id?>"
<?php if($row['is_check']=='1'){echo 'class=blue';}?>>未审核</a>
                </td>
            </tr>
            <?php
        }
    } else {
        ?>
        <tr>
            <td colspan="6">nothing</td>
        </tr>
        <?php
    }
    ?>
    </tbody>
</table>
</div>
</div>
<br/><br/><br/>
<style type="text/css">
    .blue{background: #00a0df; color: white; padding:3px; border-radius: 5px;}
</style>