From b616251511b7081f06907807e40c942781476bb9 Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Thu, 21 May 2026 17:13:52 +0200 Subject: [PATCH 1/7] dynamic content test profil wird dynamisch in die index.php integriert (Test) --- 404.php | 40 ------------------------------ content/404.php | 12 +++++++++ profile.php => content/profile.php | 31 ++--------------------- includes/navbar.php | 4 +-- index.php | 17 +++++++++++-- 5 files changed, 31 insertions(+), 73 deletions(-) delete mode 100644 404.php create mode 100644 content/404.php rename profile.php => content/profile.php (67%) diff --git a/404.php b/404.php deleted file mode 100644 index af4fea4..0000000 --- a/404.php +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - EduForge - - - - - - -
- -

404 - Seite nicht vorhanden

-

- Später im Projekt sollen über index.php?pfad= ... der Inhalt der index.php dynamisch gesetzt werden. - Alle Content-Links der Navbar führen zunächst hier her. Exemplarisch wurden für die Fächer Informatik, Physik, Mathematik der Content als Seite erstellt und kann über die Navbar ausgekundschaftet werden. -

-
- - - - - \ No newline at end of file diff --git a/content/404.php b/content/404.php new file mode 100644 index 0000000..6bb7201 --- /dev/null +++ b/content/404.php @@ -0,0 +1,12 @@ + +
+ +

404 - Seite nicht vorhanden

+

+ Später im Projekt sollen über index.php?pfad= ... der Inhalt der index.php dynamisch gesetzt werden. + Alle Content-Links der Navbar führen zunächst hier her. Exemplarisch wurden für die Fächer Informatik, Physik, Mathematik der Content als Seite erstellt und kann über die Navbar ausgekundschaftet werden. +

+
\ No newline at end of file diff --git a/profile.php b/content/profile.php similarity index 67% rename from profile.php rename to content/profile.php index 48b47b5..769b4fb 100644 --- a/profile.php +++ b/content/profile.php @@ -1,27 +1,7 @@ - - - - - - - - - - - - - EduForge - - - - -
@@ -63,11 +43,4 @@ include_once 'includes/navbar.php'; -
- - - - - \ No newline at end of file + \ No newline at end of file diff --git a/includes/navbar.php b/includes/navbar.php index a046557..8c9c70a 100644 --- a/includes/navbar.php +++ b/includes/navbar.php @@ -15,7 +15,7 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden