<!DOCTYPE html>
<html>

<head>
	<link rel="stylesheet" type="text/css" href="../style.css">
	<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
	<?php
	session_start();

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

	?>
	<div class="topnav">
		<a class="active" href="halaman_coach.php">Beranda</a>
		<a href="datapesertacch.php">Data Peserta</a>
		<a href="latihancch.php">Latihan</a>
		<a href="datalombacch.php">Lomba</a>
		<a href="dataraportcch.php">Penilaian</a>
	</div>
	<h1>Halaman Coach</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>