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

	if ((isset($_SESSION['username']) != '')) 
	{
		header('Location: Experiences.php');
	}	
	

?>


<!DOCTYPE html>
<html >
  <head>
    <meta charset="UTF-8">
    <title>Zylotech Admin Login</title>

    <link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css'>
    <link rel="stylesheet" href="asset/style.css">

      <style>
          body { 
  background: url(images/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
      </style>
  </head>

  <body >

   <div class="wrapper">
    <form class="form-signin" method="post" action="">
      <img class="Logo_img" src="/images/logo.png" alt="Zylotech Logo">
        <h4 class="text-center">Admin Login</h4>
		
      <input type="text" class="form-control login_input" name="username" required="" autofocus=""/><br>
      <input type="password" class="form-control"  name="password" required=""/>

        <button class="btn btn-lg btn-primary btn-block" type="submit" name="submit" value="Login!">Login</button> 
		<h5 style="color:red;font-weight: bold;"><?php echo $error;?> </h5>
    </form>
	 

  </div>



  </body>
</html>
