From 26266096eebe7cf9eade5e01cf6b6392259f92b0 Mon Sep 17 00:00:00 2001 From: Matthias Grief Date: Mon, 28 Oct 2024 18:57:59 +0100 Subject: [PATCH] =?UTF-8?q?Dynamische=20Daten=20in=20Seitentemplates=20ein?= =?UTF-8?q?gef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/php.xml | 1 + webseite/classes/SubjectData.php | 83 ++ webseite/classes/TopicData.php | 88 ++ webseite/classes/Util.php | 18 + .../config/subjects/deutsch/properties.json | 7 + .../deutsch/topics/topic1/exercise1.pdf | Bin 0 -> 387159 bytes .../subjects/deutsch/topics/topic1/image.png | Bin 0 -> 5103 bytes .../deutsch/topics/topic1/properties.json | 12 + .../config/subjects/mathe/properties.json | 7 + .../mathe/topics/topic1/exercise1.pdf | Bin 0 -> 387159 bytes .../subjects/mathe/topics/topic1/image.png | Bin 0 -> 5103 bytes .../mathe/topics/topic1/properties.json | 12 + .../mathe/topics/topic2/properties.json | 11 + webseite/homepage.php | 243 ++++++ webseite/index.html | 171 ---- webseite/mathe/mathe.html | 328 -------- webseite/subject.php | 765 ++++++++++++++++++ webseite/topic.php | 406 ++++++++++ 18 files changed, 1653 insertions(+), 499 deletions(-) create mode 100644 webseite/classes/SubjectData.php create mode 100644 webseite/classes/TopicData.php create mode 100644 webseite/classes/Util.php create mode 100644 webseite/config/subjects/deutsch/properties.json create mode 100644 webseite/config/subjects/deutsch/topics/topic1/exercise1.pdf create mode 100644 webseite/config/subjects/deutsch/topics/topic1/image.png create mode 100644 webseite/config/subjects/deutsch/topics/topic1/properties.json create mode 100644 webseite/config/subjects/mathe/properties.json create mode 100644 webseite/config/subjects/mathe/topics/topic1/exercise1.pdf create mode 100644 webseite/config/subjects/mathe/topics/topic1/image.png create mode 100644 webseite/config/subjects/mathe/topics/topic1/properties.json create mode 100644 webseite/config/subjects/mathe/topics/topic2/properties.json create mode 100644 webseite/homepage.php delete mode 100644 webseite/index.html delete mode 100644 webseite/mathe/mathe.html create mode 100644 webseite/subject.php create mode 100644 webseite/topic.php diff --git a/.idea/php.xml b/.idea/php.xml index f324872..a85fe78 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -10,6 +10,7 @@