diff --git a/login.html b/login.html new file mode 100644 index 0000000..692d2e6 --- /dev/null +++ b/login.html @@ -0,0 +1,404 @@ + + +
+ + +
+
+
+
+
+
+
+
+
+
+
+
+ Login untuk bermain Memory Flip Card Game
++ Belum punya akun? + Daftar Sekarang +
+ + + + + + \ No newline at end of file diff --git a/login.php b/login.php new file mode 100644 index 0000000..8b2a96e --- /dev/null +++ b/login.php @@ -0,0 +1,40 @@ + + alert('Username atau Password salah!'); + window.location.href='index.html'; + "; + exit; + } + + // Login sukses + $_SESSION['username'] = $row['username']; + $_SESSION['login'] = true; // Tambahan untuk cek status login nanti + + // PERBAIKAN 3: Arahkan ke file game kamu (sesuaikan nama filenya) + // Di screenshot ada mainboard.html, pakai itu. + echo ""; + exit; +} +?> \ No newline at end of file diff --git a/register.html b/register.html new file mode 100644 index 0000000..335a183 --- /dev/null +++ b/register.html @@ -0,0 +1,321 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+ Daftar untuk bermain Memory Card Game
+ + + ++ Sudah punya akun? Login Sekarang +
+