From 5ec627f0a68690bbe705bc151e534e4d3ab8d640 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Sat, 25 Nov 2023 21:43:15 +0100 Subject: [PATCH] Add header.inc and footer.inc --- www/clients.php | 40 ++++++++++++++++++---------------- www/files/index.php | 33 +++++++--------------------- www/footer.inc | 2 ++ www/{index.html => header.inc} | 9 ++------ www/index.php | 7 ++++++ 5 files changed, 40 insertions(+), 51 deletions(-) create mode 100644 www/footer.inc rename www/{index.html => header.inc} (51%) create mode 100644 www/index.php diff --git a/www/clients.php b/www/clients.php index 589e8d0..138ea3d 100644 --- a/www/clients.php +++ b/www/clients.php @@ -1,22 +1,11 @@ +

Mandanten

+ + + +\n"; + } ?> + +
Name
$c
+

JSON-Format

+ - - - - Downloads - Elwig - Elektronische Winzergenossenschaftsverwaltung - - - - - + require "../header.inc"; ?>

Downloads

- - - - - - + - [$size, $mtime, $ctime]) { - echo " \n"; -} -?> + [$size, $mtime, $ctime]) { + echo " \n"; + } ?>
NameGröße
NameGröße
$name" . number_format($size / 1024 / 1024, 1) . " MB
$name" . number_format($size / 1024 / 1024, 1) . " MB
-

JSON-Format

- - -JSON-Format

+ + diff --git a/www/index.html b/www/header.inc similarity index 51% rename from www/index.html rename to www/header.inc index f3344b1..1d547da 100644 --- a/www/index.html +++ b/www/header.inc @@ -1,15 +1,10 @@ - Elwig - Elektronische Winzergenossenschaftsverwaltung + + <?php if (!empty($TITLE)) echo "$TITLE - "; ?>Elwig - Elektronische Winzergenossenschaftsverwaltung -

Elwig

-

Elektronische Winzergenossenschaftsverwaltung

- Source - Downloads - - diff --git a/www/index.php b/www/index.php new file mode 100644 index 0000000..7fb3a46 --- /dev/null +++ b/www/index.php @@ -0,0 +1,7 @@ + +

Elwig

+

Elektronische Winzergenossenschaftsverwaltung

+ Source
+ Downloads
+ Mandanten +