From 40e06215ff82240d0642b082ca6216a6ee807e46 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 16:47:23 +0000 Subject: [PATCH] Update file editpage.php --- html/editpage.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/html/editpage.php b/html/editpage.php index 951b5407..28424d62 100644 --- a/html/editpage.php +++ b/html/editpage.php @@ -84,6 +84,7 @@ if(isset($fichier)) {

Pages

"; echo '
'; echo '
'; } else { @@ -96,7 +97,8 @@ if(isset($fichier)) { } } } - echo "
"; + echo "
"; + echo "

Articles

"; $bdd = connect($dbhost, $dbname, $dbuser, $dbpass); $req = $bdd->prepare("SELECT ID, titre, auteur, date FROM articles ORDER BY date DESC LIMIT 10"); $req->execute(); @@ -109,6 +111,7 @@ if(isset($fichier)) { echo "

" . $row['titre'] . "

" . $row['auteur'] . "

" . $date->format('d/m/Y') . "
"; } } + echo "
"; } ?>