fehlerkorrektur

This commit is contained in:
2026-06-15 22:08:46 +02:00
parent e1ee70b46f
commit 21c5471d73
+31 -6
View File
@@ -29,14 +29,14 @@ if ($pfad === "deleteAccount") {
} }
?> ?>
<!-- <!--
Seite: Index der Lernplattform Seite: Index der Lernplattform
Funktion: Webseitengerüst, Anzeigen von Content Funktion: Webseitengerüst, Anzeigen von Content
--> -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="description" content="EduForge"> <meta name="description" content="EduForge">
<meta name="author" content="Niklas Ortmann"> <meta name="author" content="Niklas Ortmann">
@@ -55,4 +55,29 @@ if ($pfad === "deleteAccount") {
<script src="js/comments.js" defer></script> <script src="js/comments.js" defer></script>
<title>EduForge</title> <title>EduForge</title>
</head> </head>
<body>
<?php
include_once 'includes/navbar.php';
/*
Dynamischer Inhalt:
Je nach pfad-Parameter wird die passende Datei aus content geladen.
*/
if (file_exists('content/' . $pfad . '.php')) {
include_once 'content/' . $pfad . '.php';
} else {
include_once 'content/404.php';
}
include_once 'includes/footer.php';
?>
</body>
</html>
<?php
ob_end_flush();
?>