<?php
require_once($application_path . "view/gen_header.tpl.php");
?>

    <div class="container">

        <div class="login-page">
          <div class="form">
            <form class="register-form">
              <input type="text" placeholder="name" required/>
              <input type="password" placeholder="password" required/>
              <input type="text" placeholder="email address" required/>
              <button>create</button>
              <p class="message">Already registered? <a href="#">Sign In</a></p>
            </form>
            <form class="login-form" action="login" method="post">
              <input type="text" placeholder="username" name="username" required/>
              <input type="password" placeholder="password" name="password" required/>
              <button>login</button>
              <p class="message">Not registered? <a href="#">Create an account</a></p>
              <p class="alert-danger"><?php echo $_SESSION['SEAS_login_error_msg']; ?></p>
            </form>
          </div>
        </div>
		
        <div class="text-center">
	        <img src="view/images/seas-logo.png" alt="SEAS">
            <p>Pan Arab Research Center</p>
        </div>
    </div><!-- /.container -->

<?php
require_once($application_path . "view/gen_footer.tpl.php");
?>