{% extends 'master.twig' %} {% set sorts = ['boxes', 'rectangles', 'list'] %} {% set sort = get.sort in sorts ? get.sort : sorts[0] %} {% set notfound = rank == 0 %} {% set rankTitle %} {% if notfound %}Not found{% else %}{{ ranks[rank].name(true) }}{% endif %} {% endset %} {% set rankDescription %} {% if notfound %}The requested rank could not be found!{% else %}{{ ranks[rank].description }}{% endif %} {% endset %} {% set users = ranks[rank].users|batch(membersPerPage) %} {% set currPage = get.page|default(1) - 1 %} {% set paginationPages = users %} {% set paginationUrl %}{% if rank %}{{ route('members.rank', rank) }}{% else %}{{ route('members.index') }}{% endif %}{% endset %} {% set title = rankTitle %} {% block content %}
No. | Username | Registered | Last online | User title | Country |
---|---|---|---|---|---|
No. | Username | Registered | Last online | User title | Country |
#{{ rank ? count + 1 : count }} | {{ user.username }} | {% if user.lastOnline == 0 %}Never logged in.{% else %}{% endif %} | {{ user.title }} |