Profilbearbeitung: Reviewnacharbeitung #22

Merged
niklas.ortmann merged 8 commits from Profilbearbeitung into dev 2026-06-03 22:25:42 +02:00
Showing only changes of commit fae4bc86ad - Show all commits
+4 -10
View File
@@ -1,4 +1,3 @@
<?php
session_start();
ob_start();
@@ -52,8 +51,8 @@ if ($pfad === "deleteAccount") {
<title>EduForge</title>
</head>
<body>
<body>
<?php
include_once 'includes/navbar.php';
@@ -61,20 +60,15 @@ if ($pfad === "deleteAccount") {
Dynamischer Inhalt:
Je nach pfad-Parameter wird die passende Datei aus content geladen.
*/
if (isset($_GET["pfad"])) {
if (file_exists('content/' . $_GET["pfad"] . '.php')) {
include_once 'content/' . $_GET["pfad"] . '.php';
} else {
include_once 'content/404.php';
}
if (file_exists('content/' . $pfad . '.php')) {
include_once 'content/' . $pfad . '.php';
} else {
include_once 'content/home.php';
include_once 'content/404.php';
}
include_once 'includes/footer.php';
?>
</body>
</html>