fix
This commit is contained in:
parent
54b263f20c
commit
e0e8fa8f6b
2 changed files with 20 additions and 2 deletions
|
|
@ -285,8 +285,8 @@
|
|||
<h1>👥 Пользователи</h1>
|
||||
|
||||
<div class="stats">
|
||||
Всего пользователей: <strong id="total-users">0</strong><br>
|
||||
Кол-во игроков: <strong id="total-gamers">0</strong>
|
||||
Всего пользователей: <strong id="total-users">0</strong> (сегодня: <strong id="users-today">0</strong>)<br>
|
||||
Кол-во игроков: <strong id="total-gamers">0</strong> (сегодня: <strong id="gamers-today">0</strong>)
|
||||
</div>
|
||||
|
||||
<div class="stats" style="margin-top: 15px; padding: 15px; background: #E8D5B7; border-radius: 8px;">
|
||||
|
|
@ -352,7 +352,9 @@
|
|||
if (data.success) {
|
||||
users = data.users;
|
||||
document.getElementById('total-users').textContent = data.total_users;
|
||||
document.getElementById('users-today').textContent = data.users_today || 0;
|
||||
document.getElementById('total-gamers').textContent = data.total_gamers;
|
||||
document.getElementById('gamers-today').textContent = data.gamers_today || 0;
|
||||
|
||||
// Update message counters
|
||||
if (data.message_stats) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue