From 82e8c8a1a3c50632b9dc8bb42c01675c9b41b9f7 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Fri, 17 Jul 2026 17:08:02 +0200 Subject: [PATCH] Update showCategory.php --- content/showCategory.php | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/content/showCategory.php b/content/showCategory.php index 279c69d..5821942 100644 --- a/content/showCategory.php +++ b/content/showCategory.php @@ -4,23 +4,41 @@ include_once "php/controller/showCategory-controller.php";
- +

Kategorie:

+

Beiträge in dieser Kategorie

- +
+

- getTitle())) ? htmlspecialchars($article->getTitle()) : 'Kein Titel'; ?> + + getTitle())) ? htmlspecialchars($article->getTitle()) : 'Kein Titel'; ?> +

-

+ + +

+

+ von getAuthor())) ? htmlspecialchars($article->getAuthor()) : 'Anonym'; ?> +

+ + + ❤ getLikes())) ? htmlspecialchars($article->getLikes()) : '0'; ?> + +
+ + +

getContent())) ? htmlspecialchars($article->getContent()) : 'Kein Inhalt'; ?>

+
@@ -29,30 +47,22 @@ include_once "php/controller/showCategory-controller.php";
- + 1): ?> -