showArticle.php + showArticle-controller.php Implementation

This commit is contained in:
2026-05-29 11:29:52 +02:00
parent 7067303758
commit 1b68f037ae
3 changed files with 36 additions and 11 deletions
+14 -8
View File
@@ -1,12 +1,18 @@
<?php
session_start();
require_once 'php/model/Article.php';
require_once 'php/model/ArticleManager.php';
?>
<!--
Seite: Anzeige für Beiträge
Funktion: Stellt einen übergebenen Beitrag dar.
-->
<?php
include_once __DIR__ . '/../php/controller/showArticle-controller.php';
?>
<main>
<h1><?php if (isset($title)) {echo $title;} ?></h1>
<p>
<?php if (isset($content)) {echo $content;} ?>
</p>
</main>