diff --git a/stats.php b/stats.php index 8808a0b..1dc589e 100644 --- a/stats.php +++ b/stats.php @@ -9,6 +9,11 @@ error_reporting(E_ALL); if (in_array($file, array('.', '..'))) continue; array_push($users, $file); } + + $stats = json_decode(file_get_contents('/opt/bots/stats/stats.json'), true); + + $today_msg = $stats['today_msg']; + $all_msg = $stats['all_msg']; ?>

> Statystyki

@@ -16,11 +21,12 @@ error_reporting(E_ALL); Statystyki z tego serwera tilde +