{% extends admin/layout.html %} {% block title %}Accounts{% endblock %} {% block content %}
View, edit, and create accounts.
{{ $msg }}
#{{ $order_by=='id' ? $table_icons[strtolower($order)] : '' }} | Username{{ $order_by=='username' ? $table_icons[strtolower($order)] : '' }} | Email{{ $order_by=='email' ? $table_icons[strtolower($order)] : '' }} | Status{{ $order_by=='activation_code' ? $table_icons[strtolower($order)] : '' }} | Role{{ $order_by=='role' ? $table_icons[strtolower($order)] : '' }} | Last Seen{{ $order_by=='last_seen' ? $table_icons[strtolower($order)] : '' }} | Registered Date{{ $order_by=='registered' ? $table_icons[strtolower($order)] : '' }} | Action | ||||||||||||
There are no accounts. | |||||||||||||||||||
{{ $account['id'] }} |
{{ strtoupper(substr($account['username'], 0, 1)) }}
{% if ($account['last_seen'] > date('Y-m-d H:i:s', strtotime('-15 minutes'))): %}
{% endif; %}
|
{{ htmlspecialchars($account['username'], ENT_QUOTES) }} | {{ htmlspecialchars($account['email'], ENT_QUOTES) }} | {% if (!$account['approved']): %} Pending Approval {% elseif ($account['activation_code'] == 'activated'): %} Activated {% elseif ($account['activation_code'] == 'deactivated'): %} Deactivated {% else: %} Pending Activation {% endif; %} | {{ $account['role'] }} | {{ App::time_elapsed_string($account['last_seen']) }} | {{ date('Y-m-d H:ia', strtotime($account['registered'])) }} |
Edit
{% if (!$account['approved']): %}
Approve
{% endif; %}
{% if ($account['activation_code'] != 'activated'): %}
Activate
{% endif; %}
{% if ($account['activation_code'] != 'deactivated'): %}
Deactivate
{% endif; %}
Delete
|