diff --git a/html/news.php b/html/news.php index 217a9107..84017122 100644 --- a/html/news.php +++ b/html/news.php @@ -72,10 +72,12 @@ if (isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT) if ($resultat) { foreach($resultat as $row) { $date = strtotime($row['date']); - echo "
"; + echo "

"; echo ""; echo "
" . $row['titre'] . "
"; - echo "
"; + echo "
" . date('d/m/Y', $date) . "
"; + echo "
" . $row['auteur'] . "
"; + echo "
" . $row['ID'] . "
"; } } else { echo "Aucun article trouvé";