<?php
	require_once("koneksi.php");
    include 'header.php';
?>

	<!-- breadcrumbs -->
		<div class="breadcrumbs">
			<div class="container">
				<ol class="breadcrumb breadcrumb1 animated wow slideInLeft" data-wow-delay=".5s">
					<li><a href="index.php"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>Beranda</a></li>
					<li class="active">Laman Masuk</li>
				</ol>
			</div>
		</div>
	<!-- //breadcrumbs -->
	<!-- login -->
		<div class="login">
			<div class="container">
				<h2>Formulir Masuk</h2>
				<?php
					if (isset($_SESSION['error'])) {
				    	echo "username atau password salah!";
				    }
				?>
				<div class="login-form-grids animated wow slideInUp" data-wow-delay=".5s">
					<form action="login_process.php" method="POST">
						<input type="text" name="username" value="" placeholder="Nama Pengguna" required="" >
						<input type="password" name="password" value="" placeholder="Kata Sandi" required="" >
						<input type="submit" name="masuk" value="masuk">
					</form>
				</div>
				<h4>Untuk akun baru</h4>
				<p><a href="registered.php">Daftar Disini</a>(Atau) Kembali ke<a href="index.php">Beranda<span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span></a></p>
			</div>
		</div>
	<!-- //login -->
	
<?php
	include 'footer.php';
?>