diff --git a/html/editpage.php b/html/editpage.php
index c75f7505..1f109fd6 100644
--- a/html/editpage.php
+++ b/html/editpage.php
@@ -119,7 +119,7 @@ if(isset($fichier)) {
echo "
";
echo "
Articles
";
$bdd = connect($dbhost, $dbname, $dbuser, $dbpass);
- $req = $bdd->prepare("SELECT ID, titre, auteur, date, classification FROM articles WHERE classification <= :accreditation ORDER BY date DESC LIMIT 10");
+ $req = $bdd->prepare("SELECT ID, titre, date, classification FROM articles WHERE classification <= :accreditation ORDER BY date DESC LIMIT 10");
$req->bindParam(":accreditation", $_SESSION['accreditation']);
$req->execute();
$resultat = $req->fetchAll(PDO::FETCH_ASSOC);
@@ -130,10 +130,9 @@ if(isset($fichier)) {
foreach($resultat as $row) {
echo "
";
echo "
";
- echo "" . $row['titre'] . "
";
- echo "
" . $row['auteur'] . "
";
- echo "
" . $classifications[(int)$row['classification']] . "
";
- echo "
" . $date->format('d/m/Y') . "
";
+ echo "
" . $row['titre'] . "
";
+ echo "
" . $date->format('d/m/Y') . "
";
+ echo "
" . $classifications[(int)$row['classification']] . "
";
}
}
echo "
";