{% extends "./inc/base.html" %} {% block style%} {% endblock %} {% block content %}

用户管理

用户列表
{% for item in list %} {%set group=item.groupid|get_member_group%} {% else %} {% endfor %}
uid 用户名 邮箱 用户组 注册ip 最后登录 金钱总数 积分点数 状态 操作
{{item.id}} {{item.username}} {{item.email}} {{group.name}} {{item.reg_ip|int2ip}} {{item.last_login_time | moment('YYYY-MM-DD HH:mm:ss')}} {{item.amount}} {{item.score}} {%if item.id|in_Array(controller.config('user_administrator'))%}{%else%} {%endif%} 编辑 充值 {%if item.id|in_Array(controller.config('user_administrator'))%}{%else%} 删除 {%endif%}

This would display if the 'item' collection were empty

{% endblock%} {% block script%} {% endblock %}