Compare commits
3 Commits
0a3103197e
...
a4510dccb1
| Author | SHA1 | Date | |
|---|---|---|---|
| a4510dccb1 | |||
| 638a81a17f | |||
| 17de4f3db8 |
@ -137,25 +137,28 @@ thead {
|
||||
<div class="filter-container">
|
||||
<span>Filter:</span>
|
||||
<button class="filter-btn active">Semua</button>
|
||||
<button class="filter-btn">Easy</button>
|
||||
<button class="filter-btn">Medium</button>
|
||||
<button class="filter-btn">Hard</button>
|
||||
<button class="filter-btn easy">Easy</button>
|
||||
<button class="filter-btn medium">Medium</button>
|
||||
<button class="filter-btn hard">Hard</button>
|
||||
</div>
|
||||
|
||||
<div class="cards">
|
||||
<div class="card">
|
||||
🎮
|
||||
<p>Total Game Dimainkan</p>
|
||||
<p><div class="count"><span>Total Game Dimainkan</span></p>
|
||||
<span id="game-count">0</span></div></p>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
👑
|
||||
<p>Top Player</p>
|
||||
<p><div class="count"><span>Top Player</span></p>
|
||||
<span id="player-rank">0</span></div></p>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
⭐
|
||||
<p>Highest Score</p>
|
||||
<p><div class="count"><span>Skor Tertinggi</span></p>
|
||||
<span id="baseScoreEnd">0</span></div></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
12
koneksi.php
Normal file
12
koneksi.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
$host = "localhost";
|
||||
$user = "root"; // username DB
|
||||
$pass = ""; // password DB
|
||||
$db = "nama_database"; // ganti dengan nama database kamu
|
||||
|
||||
$conn = mysqli_connect($host, $user, $pass, $db);
|
||||
|
||||
if (!$conn) {
|
||||
die("Koneksi gagal: " . mysqli_connect_error());
|
||||
}
|
||||
?>
|
||||
@ -5,8 +5,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Login</title>
|
||||
|
||||
<style>
|
||||
body {
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
background: linear-gradient(135deg, #d9a7ff, #fbc2eb, #a1c4fd);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user