Пример #1
0
    ?>
   
   <?php 
    for ($i = 0; $i < count($res); ++$i) {
        ?>
   <tr>
         <td><?php 
        echo 1 + $i;
        ?>
</td>
         <td><?php 
        echo $res[$i]['group_name'];
        ?>
</td>
         <td><?php 
        echo getteamtype($res[$i]['group_type']);
        ?>
</td>
         <td><?php 
        echo $res[$i]['group_leader'];
        ?>
</td>
         <td><?php 
        echo $mem[$i];
        ?>
</td>
         <td><?php 
        echo $res[$i]['group_chant'];
        ?>
</td>
         <?php 
Пример #2
0
    ?>
<span class="label label-info pull-right"><?php 
    if ($type != 0) {
        echo getteamtype($type) . "组";
    } else {
        echo "尚未选择组别";
    }
    ?>
</span></legend>

<div class="alert alert-success">队伍名:<?php 
    echo $name;
    ?>
<span class="pull-right"><?php 
    if ($type != 0) {
        echo getteamtype($type) . "组";
    } else {
        echo "尚未选择组别";
    }
    ?>
</span></div>
<div class="table-responsive">
<table class="table table-striped">
   <thead>
      <tr>
         <th>#</th>
         <th>昵称</th>
         <th>真实姓名</th>
         <th>联系方式</th>
         <th>身份</th>
      </tr>