<?php foreach($specials as $onespecial){ ?>
    <tr>
      <td><?php echo $onespecial->name; ?></td>
      <td>
      <a class="layui-btn layui-btn-sm" href="/glqcourse/special/<?php echo $onespecial->id; ?>" title="课程管理">课程管理</a>
      </td>
    </tr>
<?php } ?>