<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" type="text/css" href="../style.css">
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css">
</head>

<body>
	<?php
	session_start();

	if ($_SESSION['status'] == "") {
		header("location:../loginpageadmin.php?pesan=gagal");
	}

	?>
	<div class="topnav">
		<a class="active" href=" halaman_admin.php">Beranda</a>
		<a href=" datapesertaadm.php">Data Peserta</a>
		<a href="latihanadm.php">Latihan</a>
		<a href="datalombaadm.php">Lomba</a>
		<a href="dataraportadm.php">Nilai</a>
		<a href="approveva.php">Approve VA</a>
	</div>
	<h1>Halaman Admin</h1>

	<h6>Halo <b>
			<?php echo $_SESSION['username']; ?>
		</b> Anda telah login sebagai <b>
			<?php echo $_SESSION['status']; ?>
		</b>.</h6>
		<a class="btn btn-danger" href="../logout.php" role="button">LOGOUT</a>
		<br />
	<br />
</body>

</html>