From 975e8243635d0e1431588522913b34548295369d Mon Sep 17 00:00:00 2001 From: Uncledaviss Date: Tue, 14 May 2024 16:30:25 +0200 Subject: [PATCH] got help from BRN_systems --- global/global.css | 0 global/global.js | 0 index.php | 37 +++++++++++++++++++++++++++++++++++++ stranky/index.html | 1 + stranky/test.html | 1 + templates/404.html | 1 + templates/footer.html | 1 + templates/header.html | 1 + templates/skeleton.html | 31 +++++++++++++++++++++++++++++++ 9 files changed, 73 insertions(+) create mode 100644 global/global.css create mode 100644 global/global.js create mode 100644 index.php create mode 100644 stranky/index.html create mode 100644 stranky/test.html create mode 100644 templates/404.html create mode 100644 templates/footer.html create mode 100644 templates/header.html create mode 100644 templates/skeleton.html diff --git a/global/global.css b/global/global.css new file mode 100644 index 0000000..e69de29 diff --git a/global/global.js b/global/global.js new file mode 100644 index 0000000..e69de29 diff --git a/index.php b/index.php new file mode 100644 index 0000000..d63ab8a --- /dev/null +++ b/index.php @@ -0,0 +1,37 @@ +"; +if (!file_exists($cesta_k_skriptu)){ + $script_obsah = ''; +} +$out = str_replace('__TEMPLATE_SCRIPT__', $script_obsah, $out); + +$cesta_k_stylu = "styles/$nazov_stranky.css"; +$style_obsah = ""; +if (!file_exists($cesta_k_stylu)){ + $style_obsah = ''; +} +$out = str_replace('__TEMPLATE_STYLE__', $style_obsah, $out); + +echo $out; +?> \ No newline at end of file diff --git a/stranky/index.html b/stranky/index.html new file mode 100644 index 0000000..148690a --- /dev/null +++ b/stranky/index.html @@ -0,0 +1 @@ +

jello

\ No newline at end of file diff --git a/stranky/test.html b/stranky/test.html new file mode 100644 index 0000000..5f08fc1 --- /dev/null +++ b/stranky/test.html @@ -0,0 +1 @@ +

jello_test

\ No newline at end of file diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..588efba --- /dev/null +++ b/templates/404.html @@ -0,0 +1 @@ +

JOŽO ČO TU ROBÍŠ

\ No newline at end of file diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 0000000..4ac8c9e --- /dev/null +++ b/templates/footer.html @@ -0,0 +1 @@ +

pata

\ No newline at end of file diff --git a/templates/header.html b/templates/header.html new file mode 100644 index 0000000..dee2c7b --- /dev/null +++ b/templates/header.html @@ -0,0 +1 @@ +

hlava

\ No newline at end of file diff --git a/templates/skeleton.html b/templates/skeleton.html new file mode 100644 index 0000000..acf73bf --- /dev/null +++ b/templates/skeleton.html @@ -0,0 +1,31 @@ + + + + + + + + + + + + GAME HUB + __TEMPLATE_SCRIPT__ + __TEMPLATE_STYLE__ + + + +
+ __TEMPLATE_HEADER__ +
+
+ __TEMPLATE_STRANKA__ +
+ + + + \ No newline at end of file