{% extends admin/layout.html %} {% block title %}Dashboard{% endblock %} {% block content %}

Dashboard

View statistics, new accounts, and more.

New Accounts <1 day

{{ number_format(count($summary['new_accounts'])) }}

Total Accounts

{{ number_format($summary['total_accounts']) }}

Active Accounts <30 days

{{ number_format($summary['active_accounts_month']) }}

Inactive Accounts >30 days

{{ number_format($summary['inactive_accounts']) }}

New Accounts

Accounts created in the last <1 day.

{% if (!$summary['new_accounts']): %} {% endif; %} {% foreach ($summary['new_accounts'] as $account): %} {% endforeach; %}
# Username Email Status Role Last Seen Registered Date Actions
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

Active Accounts

Accounts active in the last <1 day.

{% if (!$summary['active_accounts_day']): %} {% endif; %} {% foreach ($summary['active_accounts_day'] as $account): %} {% endforeach; %}
# Username Email Status Role Last Seen Registered Date Actions
There are no active 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
{% endblock %}