<?php foreach($specials as $onespecial){ ?>
    <tr>
      <td><?php echo $onespecial->name; ?></td>
      <td><span class="layui-badge"><?php echo $onespecial->questinum; ?></span></td>
      <td><div class="layui-btn-group">
      <a class="layui-btn layui-btn-sm" href="/glquesti/special/<?php echo $onespecial->id; ?>" title="题库管理">题库管理</a>
      <a class="layui-btn layui-btn-sm" title="重新统计题目数量" onclick="javascript:return calcQuestinumAgain(<?php echo $onespecial->id; ?>, 0);">统计题目数量</a>
      </div></td>
    </tr>
<?php } ?>