Update showCategory.php

This commit is contained in:
2026-06-03 19:58:05 +02:00
parent a7f1729e6e
commit 2a3a15c92d
+3 -3
View File
@@ -13,11 +13,11 @@ include_once "php/controller/showCategory-controller.php";
<div class="s-res-item"> <div class="s-res-item">
<div class="s-res-content"> <div class="s-res-content">
<h2 class="s-res-item-title"> <h2 class="s-res-item-title">
<a href="index.php?pfad=showArticle&id=<?php echo $article['id']; ?>" class="s-res-link"> <a href="index.php?pfad=showArticle&id=<?php echo $article->getId(); ?>" class="s-res-link">
<?php echo htmlspecialchars($article['title']); ?> <?php echo htmlspecialchars($article->getTitle()); ?>
</a> </a>
</h2> </h2>
<p class="s-res-author">Von: <span class="s-res-author-name"><?php echo htmlspecialchars($article['author']); ?></span></p> <p class="s-res-author">Von: <span class="s-res-author-name"><?php echo htmlspecialchars($article->getAuthor()); ?></span></p>
</div> </div>
<div class="s-res-arrow">&rarr;</div> <div class="s-res-arrow">&rarr;</div>
</div> </div>