<?php foreach($courses as $onecourse){ ?>
    <tr>
      <td><?php echo $onecourse->name; ?></td>
      <td><div class="layui-btn-group">
      <a class="layui-btn layui-btn-sm" onclick="javascript:showCourseEditBox(<?php echo $onecourse->specialid; ?>, <?php echo $onecourse->id; ?>);" title="编辑">编辑</a>
      <a class="layui-btn layui-btn-sm" href="/glqcourse/tree/<?php echo $onecourse->id; ?>" title="知识树">知识树</a>
      <a class="layui-btn layui-btn-sm" title="团队成员" onclick="javascript:return showLeaderListBox(<?php echo $onecourse->id; ?>);">团队</a>
      <a class="layui-btn layui-btn-sm" onclick="javascript:showCourseDeleBox(<?php echo $onecourse->id; ?>);" title="删除">删除</a>
      </div></td>
    </tr>
<?php } ?>