<?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::showMalename($oneuser->male); ?></td>
      <td><?php echo $oneuser->regtime; ?></td>
      <td><?php echo $oneuser->logintime; ?></td>
    </tr>
<?php } ?>