{% extends 'global/master.twig' %} {% set sorts = ['boxes', 'rectangles', 'list'] %} {% set sort = get.sort in sorts ? get.sort : sorts[0] %} {% set notfound = memberlist.active == 0 and get.rank is defined %} {% set rankTitle %} {% if notfound %}Not found{% else %}{% if not memberlist.active %}All members{% else %}{{ memberlist.ranks[memberlist.active].name(true) }}{% endif %}{% endif %} {% endset %} {% set rankDescription %} {% if notfound %}The requested rank could not be found!{% else %}{% if not memberlist.active %}The entire user list.{% else %}{{ memberlist.ranks[memberlist.active].description }}{% endif %}{% endif %} {% endset %} {% set users = memberlist.users|batch(memberlist.membersPerPage) %} {% set currPage = get.page|default(1) - 1 %} {% set paginationPages = users %} {% set paginationUrl %}{% if sort and memberlist.active %}{{ urls.format('MEMBERLIST_ALL', [sort, memberlist.active]) }}{% elseif sort %}{{ urls.format('MEMBERLIST_SORT', [sort]) }}{% elseif memberlist.active %}{{ urls.format('MEMBERLIST_RANK', [memberlist.active]) }}{% else %}{{ urls.format('MEMBERLIST_INDEX') }}{% endif %}{% endset %} {% block title %}{{ rankTitle }}{% endblock %} {% block content %}
No. | Username | Registered | Last online | User title | Country |
---|---|---|---|---|---|
No. | Username | Registered | Last online | User title | Country |
#{{ memberlist.active ? count + 1 : count }} | {{ user.username }} | {% if user.lastOnline == 0 %}Never logged in.{% else %}{% endif %} | {{ user.title }} |