From 1e335bd33f28e869e2ced36f05328619742af36a Mon Sep 17 00:00:00 2001 From: Simon <Simon.Pototzki@stud.h-da.de> Date: Fri, 10 Nov 2023 14:44:36 +0100 Subject: [PATCH] Add pages for prak1; add test pages for playground --- src/Playground/content.php | 13 +++++++++++++ src/Playground/index.php | 21 +++++++++++++++++++++ src/Praktikum/Prak1/baecker.php | 1 + src/Praktikum/Prak1/fahrer.php | 1 + src/Praktikum/Prak1/kunde.php | 1 + 5 files changed, 37 insertions(+) create mode 100644 src/Playground/content.php create mode 100644 src/Playground/index.php create mode 100644 src/Praktikum/Prak1/baecker.php create mode 100644 src/Praktikum/Prak1/fahrer.php create mode 100644 src/Praktikum/Prak1/kunde.php diff --git a/src/Playground/content.php b/src/Playground/content.php new file mode 100644 index 0000000..28e06e7 --- /dev/null +++ b/src/Playground/content.php @@ -0,0 +1,13 @@ +<?php + +class Content +{ + function login() { + + echo <<< HTML + <h1>Hurensohn</h1> + HTML; + } +} + +?> \ No newline at end of file diff --git a/src/Playground/index.php b/src/Playground/index.php new file mode 100644 index 0000000..da2a6dd --- /dev/null +++ b/src/Playground/index.php @@ -0,0 +1,21 @@ +<?php + include("content.php"); + + $content = new Content(); +?> + +<!DOCTYPE html> +<html lang="de"> + <head> + <meta charset="UTF-8"> + <title>Test</title> + </head> + <body> + <nav> + + </nav> + + <?php $content->login(); ?> + + </body> +</html> \ No newline at end of file diff --git a/src/Praktikum/Prak1/baecker.php b/src/Praktikum/Prak1/baecker.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/src/Praktikum/Prak1/baecker.php @@ -0,0 +1 @@ +<?php diff --git a/src/Praktikum/Prak1/fahrer.php b/src/Praktikum/Prak1/fahrer.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/src/Praktikum/Prak1/fahrer.php @@ -0,0 +1 @@ +<?php diff --git a/src/Praktikum/Prak1/kunde.php b/src/Praktikum/Prak1/kunde.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/src/Praktikum/Prak1/kunde.php @@ -0,0 +1 @@ +<?php -- GitLab