From fac22f76c6d5944e3f90588816bc79131922a35a Mon Sep 17 00:00:00 2001 From: Kilian Hofmann Date: Thu, 27 Jun 2024 16:37:58 +0200 Subject: [PATCH] Counter styling --- homework/2/counterDB/counter.php | 21 -------- .../2/counterDB/{impl => counter}/.htaccess | 0 homework/2/counterDB/counter/counter.php | 50 +++++++++++++++++++ .../counterDB/{impl => counter}/functions.php | 2 +- .../2/counterDB/{impl => counter}/queries.php | 0 homework/2/counterDB/index.php | 3 +- tasks/guestBookDB/index.php | 2 + 7 files changed, 55 insertions(+), 23 deletions(-) delete mode 100644 homework/2/counterDB/counter.php rename homework/2/counterDB/{impl => counter}/.htaccess (100%) create mode 100644 homework/2/counterDB/counter/counter.php rename homework/2/counterDB/{impl => counter}/functions.php (88%) rename homework/2/counterDB/{impl => counter}/queries.php (100%) diff --git a/homework/2/counterDB/counter.php b/homework/2/counterDB/counter.php deleted file mode 100644 index bf690ec..0000000 --- a/homework/2/counterDB/counter.php +++ /dev/null @@ -1,21 +0,0 @@ - -
- Visitor count: -
\ No newline at end of file diff --git a/homework/2/counterDB/impl/.htaccess b/homework/2/counterDB/counter/.htaccess similarity index 100% rename from homework/2/counterDB/impl/.htaccess rename to homework/2/counterDB/counter/.htaccess diff --git a/homework/2/counterDB/counter/counter.php b/homework/2/counterDB/counter/counter.php new file mode 100644 index 0000000..abeb7cc --- /dev/null +++ b/homework/2/counterDB/counter/counter.php @@ -0,0 +1,50 @@ + + + +
+
+ + + +
+
+ Have visited this site +
+
\ No newline at end of file diff --git a/homework/2/counterDB/impl/functions.php b/homework/2/counterDB/counter/functions.php similarity index 88% rename from homework/2/counterDB/impl/functions.php rename to homework/2/counterDB/counter/functions.php index 00c0f57..d54f889 100644 --- a/homework/2/counterDB/impl/functions.php +++ b/homework/2/counterDB/counter/functions.php @@ -1,5 +1,5 @@ This is a dummy test for the database Counter - + \ No newline at end of file diff --git a/tasks/guestBookDB/index.php b/tasks/guestBookDB/index.php index d1afea3..09cded5 100644 --- a/tasks/guestBookDB/index.php +++ b/tasks/guestBookDB/index.php @@ -98,6 +98,8 @@ + + \ No newline at end of file