mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 19:23:27 +02:00
* some changes
* moved some admin html code from php to twig templates (.html files) * minimum PHP version required by installer is now 5.1.2, cause of spl_autoload_register functon. * depracated Twig to version 1.20.0 cause of Autoloader * removed unused admin stylish template
This commit is contained in:
38
system/templates/admin.statistics.html
Normal file
38
system/templates/admin.statistics.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<table class="table">
|
||||
<tr><th colspan="2">Statistics</th></tr>
|
||||
<tr>
|
||||
<td>Total accounts:</td>
|
||||
<td>{{ total_accounts }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total players:</td>
|
||||
<td>{{ total_players }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total guilds:</td>
|
||||
<td>{{ total_guilds }}</td>
|
||||
</tr>
|
||||
<tr><td>Total houses:</td>
|
||||
<td>{{ total_houses }}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
<table class="table">
|
||||
<tr><th colspan="3">TOP 10 - Most wealth accounts</th></tr>
|
||||
<tr><th>#</th><th>Account {{ account_type }}</th><th>Premium points</th></tr>
|
||||
{% set i = 0 %}
|
||||
{% for result in points %}
|
||||
{% set i = i + 1 %}
|
||||
<tr>
|
||||
<td>{{ i }}</td>
|
||||
<td>{{ result.name }}</td>
|
||||
<td>{{ result.premium_points }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
Reference in New Issue
Block a user