Reviewnacharbeitung
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
ob_start();
|
ob_start();
|
||||||
@@ -52,8 +51,8 @@ if ($pfad === "deleteAccount") {
|
|||||||
<title>EduForge</title>
|
<title>EduForge</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
<body>
|
|
||||||
<?php
|
<?php
|
||||||
include_once 'includes/navbar.php';
|
include_once 'includes/navbar.php';
|
||||||
|
|
||||||
@@ -61,20 +60,15 @@ if ($pfad === "deleteAccount") {
|
|||||||
Dynamischer Inhalt:
|
Dynamischer Inhalt:
|
||||||
Je nach pfad-Parameter wird die passende Datei aus content geladen.
|
Je nach pfad-Parameter wird die passende Datei aus content geladen.
|
||||||
*/
|
*/
|
||||||
if (isset($_GET["pfad"])) {
|
if (file_exists('content/' . $pfad . '.php')) {
|
||||||
if (file_exists('content/' . $_GET["pfad"] . '.php')) {
|
include_once 'content/' . $pfad . '.php';
|
||||||
include_once 'content/' . $_GET["pfad"] . '.php';
|
|
||||||
} else {
|
|
||||||
include_once 'content/404.php';
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
include_once 'content/home.php';
|
include_once 'content/404.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
include_once 'includes/footer.php';
|
include_once 'includes/footer.php';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user