From 766287d7f1afdfaa1942dff1ebea6e488cad9b8a Mon Sep 17 00:00:00 2001 From: Daud Date: Sun, 23 Nov 2025 16:28:10 +0700 Subject: [PATCH 1/2] first commit --- daftar.php | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++ index.php | 26 +++++++++++++++++++++++ koneksi.php | 4 ++++ login.php | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ logout.php | 9 ++++++++ 5 files changed, 157 insertions(+) create mode 100644 daftar.php create mode 100644 index.php create mode 100644 koneksi.php create mode 100644 login.php create mode 100644 logout.php diff --git a/daftar.php b/daftar.php new file mode 100644 index 0000000..b6facd6 --- /dev/null +++ b/daftar.php @@ -0,0 +1,60 @@ + + + + + + + + Halaman: Daftar + + + alert("Selamat, anda berhasil mandaftarkan acc anda!")'; + } else { + echo ''; + } + } + + ?> + +
+ + + + + + + + + + + + + + + + + + + + +
+

Pendaftaran User

+
Nama
Username
Password
+ + Login +
+
+ + + \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..0ec3d92 --- /dev/null +++ b/index.php @@ -0,0 +1,26 @@ + + + + + + + + Halaman ke-1 + + +

Halaman ke-1

+ Home + Logout +
+ +

Selamat datang,

+ Halaman ini akan tampil setelah user login. + + \ No newline at end of file diff --git a/koneksi.php b/koneksi.php new file mode 100644 index 0000000..18ee0c8 --- /dev/null +++ b/koneksi.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/login.php b/login.php new file mode 100644 index 0000000..dce79d1 --- /dev/null +++ b/login.php @@ -0,0 +1,58 @@ + + + + + + + + Halaman: Login + + + 0) { + $data = mysqli_fetch_array($query); + $_SESSION['users'] = $data; + echo ''; + } else { + echo ''; + } + } + ?> + +
+ + + + + + + + + + + + + + + + + +
+

Login User

+
Username
Password
+ + Daftar +
+
+ + + \ No newline at end of file diff --git a/logout.php b/logout.php new file mode 100644 index 0000000..99fdf0c --- /dev/null +++ b/logout.php @@ -0,0 +1,9 @@ + + \ No newline at end of file From 17d765052bc4d9139dadd4db3c17d32f01422a51 Mon Sep 17 00:00:00 2001 From: Daud Date: Sun, 23 Nov 2025 16:34:04 +0700 Subject: [PATCH 2/2] hapus txt --- New Text Document.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 New Text Document.txt diff --git a/New Text Document.txt b/New Text Document.txt deleted file mode 100644 index 605f2fc..0000000 --- a/New Text Document.txt +++ /dev/null @@ -1 +0,0 @@ -wbelkjljbmfr tyrwutiwu7 \ No newline at end of file