From fbf69ffbc2d03a1e2b966c261562c3d181a58ba8 Mon Sep 17 00:00:00 2001 From: kankys Date: Wed, 25 Sep 2024 17:40:03 +0200 Subject: [PATCH] =?UTF-8?q?vytvo=C5=99en=C3=AD=20.htaccess=20+=20=C3=BAkli?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www2databaze/assets/.htaccess | 1 + www2databaze/{ => assets}/database.php | 0 www2databaze/assets/header.php | 3 ++ www2databaze/index.php | 39 ++++++++-------- www2databaze/jeden-zak.php | 15 +++---- www2databaze/pridat-zaka.php | 62 ++++++++++++++++++++++++++ www2databaze/zaci.php | 37 ++++++++------- 7 files changed, 115 insertions(+), 42 deletions(-) create mode 100644 www2databaze/assets/.htaccess rename www2databaze/{ => assets}/database.php (100%) create mode 100644 www2databaze/assets/header.php create mode 100644 www2databaze/pridat-zaka.php diff --git a/www2databaze/assets/.htaccess b/www2databaze/assets/.htaccess new file mode 100644 index 0000000..a7a56f7 --- /dev/null +++ b/www2databaze/assets/.htaccess @@ -0,0 +1 @@ +Require all denied \ No newline at end of file diff --git a/www2databaze/database.php b/www2databaze/assets/database.php similarity index 100% rename from www2databaze/database.php rename to www2databaze/assets/database.php diff --git a/www2databaze/assets/header.php b/www2databaze/assets/header.php new file mode 100644 index 0000000..ccd1c5e --- /dev/null +++ b/www2databaze/assets/header.php @@ -0,0 +1,3 @@ +
+

Hlavička

+
\ No newline at end of file diff --git a/www2databaze/index.php b/www2databaze/index.php index 6ec7e49..bee363d 100644 --- a/www2databaze/index.php +++ b/www2databaze/index.php @@ -3,26 +3,27 @@ ?> - - - - - - Document - - -
+ + + + + + Document + + + + +
+

Škola čar a kouzel v Bradavicích

-
+ +
+ Seznam všech žáků +
+ -
-
- Seznam všech žáků -
-
+ - - - - + + diff --git a/www2databaze/jeden-zak.php b/www2databaze/jeden-zak.php index 1b244e4..680b36a 100644 --- a/www2databaze/jeden-zak.php +++ b/www2databaze/jeden-zak.php @@ -1,6 +1,6 @@ Document -
-

Informace o žákovi

-
+ + +
+

Informace o žákovi

Žák nenalezen

@@ -37,13 +38,11 @@ if (isset($_GET["id"]) and is_numeric($_GET["id"])) {

Věk:

Dodatečné informace:

-

Kolej:

+

Kolej:

- + \ No newline at end of file diff --git a/www2databaze/pridat-zaka.php b/www2databaze/pridat-zaka.php new file mode 100644 index 0000000..92ef70b --- /dev/null +++ b/www2databaze/pridat-zaka.php @@ -0,0 +1,62 @@ + + + + + + + + Document + + + + +
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + + + + diff --git a/www2databaze/zaci.php b/www2databaze/zaci.php index b2b11d2..5771373 100644 --- a/www2databaze/zaci.php +++ b/www2databaze/zaci.php @@ -1,6 +1,6 @@ Document -

Seznam žáků školy

- -

Žádní žáci nebyli nalezeni

+ - - - -Zpět na hlavní stranu