<!DOCTYPE html>
<?php
ob_start();
session_start();
?>
<html>

<head>
	<link rel="stylesheet" type="text/css" href="style.css">
</head>
<style>
    body {
        background-image: url("img/landing.png");
        background-size: 25cm;
        background-color: #EBEBEB;
    }
</style>

<body>

	<?php
	if (isset($_GET['pesan'])) {
		if ($_GET['pesan'] == "gagal") {
			echo "<div class='alert'>Username atau Password Salah! <br> Mohon Cek kembali</div>";
		}
	}
	?>

	<div class="tempat">
		<p class="text_login">Silahkan login</p>

		<form action="cekloginuser.php" method="post">
			<label>Username</label>
			<input type="text" name="nama_peserta" class="form_login" placeholder="Masukkan Nama Lengkap"
				required="required">

			<label>Password</label>
			<input type="password" name="sandi" class="form_login" placeholder="Masukkan Password" required="required">

			<input type="submit" class="tombol_login" value="LOGIN">
			<p>Belum Punya Akun?? KLIK <a href="formregisteruser.php">DISINI</a></p>
		</form>
	</div>
</body>

</html>