<?php use app\components\UserHelper; ?>
<?php foreach($users as $oneuser){ ?>
    <tr>
      <td><input type="checkbox" name="userid[]" lay-skin="primary" value="<?php echo $oneuser->id; ?>"></td>
      <td><?php echo $oneuser->username; ?></td>
      <td><?php echo $oneuser->stdnumber; ?></td>
      <td><?php echo $oneuser->realname; ?></td>
      <td><?php echo UserHelper::showRolename($oneuser->roleid); ?></td>
      <td><?php echo UserHelper::showSpecialpathname($oneuser->specialpath); ?></td>
      <td><?php echo $oneuser->regtime; ?></td>
      <td><?php if($oneuser->isactive==1){echo '通过';}else{echo '<span style="color: #FF5722;">未审核</span>';} ?></td>
      <td><?php if($oneuser->islocked==0){echo '正常';}else{echo '<span style="color: #FF5722;">已锁定</span>';} ?></td>
      <td><?php echo $oneuser->logintime; ?></td>
      <td><a class="layui-btn layui-btn-sm" href="/gluser/basic/<?php echo $oneuser->id; ?>" title="编辑">编辑</a></td>
    </tr>
<?php } ?>