diff --git a/coms.php b/coms.php index d14e59b..512f124 100755 --- a/coms.php +++ b/coms.php @@ -4,6 +4,9 @@ ob_start(); // Start reading html
La liste de toutes les coms de ta semaine d'accueil, avec les contacts des responsables.
get_score_team($team) as $row) { - // $points += $row['points']; - //} +// foreach ($dao->get_score_team($team) as $row) { +// $points += $row['points']; +// } return $points; } diff --git a/photos.php b/photos.php index 4f3ea09..a0db84e 100755 --- a/photos.php +++ b/photos.php @@ -287,7 +287,7 @@ ob_start(); // Start reading html diff --git a/planning.php b/planning.php index a492537..53dfd7b 100755 --- a/planning.php +++ b/planning.php @@ -106,6 +106,7 @@ ob_start(); // Start reading html ?> diff --git a/stats.php b/stats.php index f2ea84c..3570623 100755 --- a/stats.php +++ b/stats.php @@ -6,21 +6,21 @@ ob_start(); // Start reading html function get_stats($team) { - $dao = new Dao(''); - foreach ($dao->get_score_team($team) as $row) { - $text = $row['text']; - $points = $row['points']; - if ($points > 0) - $id = "positive"; - else - $id = "negative"; - ?> -