diff --git a/controller/stats.php b/controller/stats.php index f629ad09ba1be35712a4516c96638ab1482a6403..93014a52a3a880bae440d30d692b4320d9a2783d 100644 --- a/controller/stats.php +++ b/controller/stats.php @@ -3,5 +3,7 @@ Controller Statistiques, show statistiques. */ + $stats = new Stats(); + include 'view/stats.php'; \ No newline at end of file diff --git a/template/header.php b/template/header.php index e88b522d558dc906dd3a311a5c60846968983124..babff47f4b9d98077f41d560d244efa50465b10a 100644 --- a/template/header.php +++ b/template/header.php @@ -36,7 +36,6 @@ height: 30px; background-color: #108a93; text-align: center; - } diff --git a/view/stats.php b/view/stats.php index fb9b0074fa088269497d93347a9789f49cb5d095..f14845fb98318bfc26864e31b1ca37d4846030f4 100644 --- a/view/stats.php +++ b/view/stats.php @@ -7,7 +7,7 @@ <thead> <th>t1</th> - <th>t2</th> + <th><?php print_r($stats->nbAnimalMoyClient()); ?></th> </thead> <tbody> <tr>