<?php
include('login.php'); // Includes Login Script

if(isset($_SESSION['login_user'])){
	header("location: index.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Admin Login</title>
<link href="css/submission_styles.css" rel="stylesheet" type="text/css">
</head>
<body>
	<div id="main">
		<h1>Admin Login</h1>
		<div id="login">
			<h2>Login Form</h2>
			<form action="" method="post">
				<label>User Name :</label>
				<input id="name" name="username" placeholder="username" type="text" style="background-color:white">
				<label>Password :</label>
				<input id="password" name="password" placeholder="**********" type="password" style="background-color:white">
				<input name="submit" type="submit" value=" Login " style="margin-top:10px; background-color:#00a0dc">
				<span><?php echo $error; ?></span>
			</form>
		</div>
	</div>
</body>
</html>