Delete menu.php
This commit is contained in:
parent
bdebfb8250
commit
a2d7cfe9e1
94
menu.php
94
menu.php
@ -1,94 +0,0 @@
|
||||
<?php
|
||||
session_start();
|
||||
if (!isset($_SESSION['user_id'])) {
|
||||
header('Location: index.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
$username = htmlspecialchars($_SESSION['username']);
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="id">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Menu Utama - Dam Inggris</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background: #f0f4f8;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.menu-box {
|
||||
background: white;
|
||||
padding: 30px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.15);
|
||||
text-align: center;
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 0;
|
||||
color: #0ea5a4;
|
||||
font-size: 20px
|
||||
}
|
||||
|
||||
p {
|
||||
color: #555;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
a.menu-btn {
|
||||
display: block;
|
||||
width: 95%;
|
||||
background: #0ea5a4;
|
||||
padding: 12px;
|
||||
margin: 10px 0;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-radius: 8px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
transition: 0.2s;
|
||||
}
|
||||
|
||||
a.menu-btn:hover {
|
||||
background: #0c8c8b;
|
||||
}
|
||||
|
||||
a.back-btn {
|
||||
display: block;
|
||||
margin-top: 15px;
|
||||
color: #444;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
a.back-btn:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="menu-box">
|
||||
<h2>Selamat Datang Di Menu, <?= $username ?></h2>
|
||||
|
||||
<a class="menu-btn" href="mode.php">🎮 New Game</a>
|
||||
<a class="menu-btn" href="settings.php">⚙ Settings</a>
|
||||
|
||||
<a class="back-btn" href="logout.php">⬅ Logout</a>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user