From 1a9635df8c10a19454132011878f32e434b32468 Mon Sep 17 00:00:00 2001
From: cortylal <alexcortyl@gmail.com>
Date: Thu, 19 Jun 2014 00:04:54 +0200
Subject: [PATCH] stats

---
 controller/stats.php | 2 ++
 template/header.php  | 1 -
 view/stats.php       | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/controller/stats.php b/controller/stats.php
index f629ad0..93014a5 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 e88b522..babff47 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 fb9b007..f14845f 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>
-- 
GitLab