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