<div class="block block-mode-loading-oneui">
    <div class="block-header border-bottom">
        <h3 class="block-title">最新注册用户</h3>
    </div>
    <div class="block-content p-0">
        <table class="table table-striped table-hover table-borderless table-vcenter font-size-sm mb-0">
            <thead class="thead-dark">
                <tr class="text-uppercase">
                    <th class="font-w700">UID</th>
                    <th class="font-w700">账号</th>
                    <th class="d-none d-sm-table-cell font-w700">昵称</th>
                    <th class="d-none d-sm-table-cell font-w700 text-right" style="width: 120px;">时间</th>
                    <th class="font-w700 text-center" style="width: 60px;"></th>
                </tr>
            </thead>
            <?php $user_list = userFunc::user_list(array("row" => 10)); ?>
            <tbody>
                <?php foreach ($user_list as $key => $user) { ?>
                    <tr>
                        <td>
                            <span class="font-w600">#<?php echo $user['uid']; ?></span>
                        </td>
                        <td>
                            <a href="<?php echo $user['url']; ?>" target="_blank" data-toggle="tooltip" data-placement="top" title="<?php echo $user['account']; ?>">
                                <?php echo iString::cut($user['account'], 10, '...'); ?>
                            </a>
                        </td>
                        <td class="d-none d-sm-table-cell">
                            <?php echo $user['nickname']; ?>
                        </td>
                        <td class="d-none d-sm-table-cell text-right">
                            <?php echo date("m/d H:i", $user['regdate']); ?>
                        </td>
                        <td class="text-right">
                            <a href="<?php echo ADMINCP_URL; ?>=user&do=add&id=<?php echo $user['uid']; ?>" data-toggle="tooltip" data-placement="left" title="编辑">
                                <i class="fa fa-fw fa-pencil-alt"></i>
                            </a>
                        </td>
                    </tr>
                <?php } ?>
            </tbody>
        </table>
    </div>
</div>