From 371f9efb7f060a3ffb9f8ddd06fc55377db2db22 Mon Sep 17 00:00:00 2001 From: keyboardan Date: Tue, 1 Jul 2025 22:07:23 +0100 Subject: [PATCH] news-item tags for news feed Signed-off-by: deepend --- index.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/index.php b/index.php index 85a651e..85a27a5 100644 --- a/index.php +++ b/index.php @@ -80,8 +80,14 @@ if (isset($_GET['notice'])) { // Display news items foreach ($filteredNews as $newsItem) { + echo '
'; + + echo '
'; echo '

' . htmlspecialchars($newsItem['title']) . ':

'; echo '

' . htmlspecialchars($newsItem['heading']) . '

'; + echo '
'; + + echo '
'; echo '

' . htmlspecialchars($newsItem['content']) . '

'; if (isset($newsItem['details']) && is_array($newsItem['details'])) { @@ -99,7 +105,9 @@ if (isset($_GET['notice'])) { if (isset($newsItem['additional_content'])) { echo '

' . htmlspecialchars($newsItem['additional_content']) . '

'; } + echo '
'; + echo '
'; echo '
'; }