From 91b0c62d7fa0d89c1d9d77c4aa99bf8fb77d042c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=A0krab=C3=A1nek?= Date: Thu, 23 Mar 2023 09:32:51 +0000 Subject: [PATCH] Upload files to 'nk_part3' --- nk_part3/action_delete.php | 24 ++++++++++++++++ nk_part3/action_login.php | 25 +++++++++++++++++ nk_part3/action_reg.php | 30 ++++++++++++++++++++ nk_part3/action_write.php | 18 ++++++++++++ nk_part3/admin.php | 57 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 154 insertions(+) create mode 100644 nk_part3/action_delete.php create mode 100644 nk_part3/action_login.php create mode 100644 nk_part3/action_reg.php create mode 100644 nk_part3/action_write.php create mode 100644 nk_part3/admin.php diff --git a/nk_part3/action_delete.php b/nk_part3/action_delete.php new file mode 100644 index 0000000..e990cb0 --- /dev/null +++ b/nk_part3/action_delete.php @@ -0,0 +1,24 @@ +". mysqli_errno($conn); +} + + +?> \ No newline at end of file diff --git a/nk_part3/action_login.php b/nk_part3/action_login.php new file mode 100644 index 0000000..9faa0f1 --- /dev/null +++ b/nk_part3/action_login.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/nk_part3/action_reg.php b/nk_part3/action_reg.php new file mode 100644 index 0000000..ecdbf1a --- /dev/null +++ b/nk_part3/action_reg.php @@ -0,0 +1,30 @@ + \ No newline at end of file diff --git a/nk_part3/action_write.php b/nk_part3/action_write.php new file mode 100644 index 0000000..94d00e1 --- /dev/null +++ b/nk_part3/action_write.php @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/nk_part3/admin.php b/nk_part3/admin.php new file mode 100644 index 0000000..73ebd1d --- /dev/null +++ b/nk_part3/admin.php @@ -0,0 +1,57 @@ + + + + + + + + Navštěvní kniha + + +

Návštěvní kniha - ADMIN

+ + +
+ +

Příspěvky

+ 0) { + while ($row = mysqli_fetch_assoc($result)){ + echo "

id:".$row["id"].";title".$row["title"]."

"; + } + } + ?> + +

Users

+ 0) { + while ($row = mysqli_fetch_assoc($result)){ + echo "

id:".$row["id"]."; user:".$row["username"]."

"; + } + } + + ?> + + \ No newline at end of file