<?php
session_start();
if (isset($_SESSION['username'])) {
    header("location:../index.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="../css/bootstrap.min.css">
  <link rel="stylesheet" href="../css/main.css">
  <script src="../js/jquery.min.js"></script>
  <script src="../js/bootstrap.min.js"></script>
</head>
<body >

    <div class="container">

<div class="row justify-content-md-center">
      <div class="span4"></div>
      <div class="span4"><img src="../img/citylink.gif" class="center-block img-responsive"/></div>
      <div class="span4"></div>
    </div>
      <form class="form-signin" name="form1" method="post" action="checklogin.php">
        <div class="row justify-content-md-center">
        <h2 class="form-signin-heading">Please sign in</h2></div>
		<div class="row justify-content-center">
		<div id="message"></div></div>
<div class="row justify-content-center">
		  <div class="col-xs-6">
        <input name="myusername" id="myusername" type="text" class="form-control" placeholder="Username" autofocus></div>
</div>  
<div class="row justify-content-center">
<div class="col-xs-6">

        <input name="mypassword" id="mypassword" type="password" class="form-control" placeholder="Password">
</div> </div> 
      <!-- The checkbox remember me is not implemented yet...
        <label class="checkbox">
          <input type="checkbox" value="remember-me"> Remember me
        </label>
        -->
      <div class="row justify-content-center">  <div class="col-xs-3">

  <button name="Submit" id="submit" class="btn btn-xs btn-primary btn-block" type="submit">Sign in</button>
</div>

		</div>  

    </form>
  </div>  </div> <!-- /container -->

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery-2.2.4.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script type="text/javascript" src="js/bootstrap.js"></script>
    <!-- The AJAX login script -->
    <script src="js/login.js"></script>

  </body>
</html>
