<?php
require_once('config/config.php');
require_once('foo/functions.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="img/favicon.png">
    <title><?php echo WEB_TITLE ?></title>

    <!-- Bootstrap CSS -->    
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <!-- bootstrap theme -->
    <link href="css/bootstrap-theme.css" rel="stylesheet">
    <!--external css-->
    <!-- font icon -->
    <link href="css/elegant-icons-style.css" rel="stylesheet" />
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <!-- Custom styles -->
    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet" />

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
</head>

  <body class="login-body">

    <div class="container">
	
	<!--header start-->
      <header class="header white-bg">

            <!--logo start-->
			<img src="img/logo.png" alt="<?php echo WEB_NAME ?>" />
            <!--logo end-->

            
      </header>      
      <!--header end-->

      <form class="form-validate login-form" id="forgotten_form" action="forgot-password.php" method="post">        
        <div class="login-wrap">
            <p class="login-img">
			<img src="img/logo.png" alt="<?php echo WEB_NAME ?>" />
			</p>
			
			<!-- Error Message -->
			<?php if (!empty($_GET['error'])): ?>
			<div class="alert fade in alert-danger">
				<button data-dismiss="alert" class="close close-sm" type="button">
				<i class="icon-remove"></i>
				</button>
				<?php echo $_GET['error']?>
			</div>
			<?php endif ?>
			
			
			<!-- Success Message -->
			<?php if (!empty($_GET['msg'])): ?>
			<div class="alert fade in alert-success">
				<button data-dismiss="alert" class="close close-sm" type="button">
				<i class="icon-remove"></i>
				</button>
				<?php echo $_GET['msg']?>
			</div>
			<?php endif ?>
			
			<p>Please enter your email to continue</p>
				
            <div class="input-group">
                <span class="input-group-addon"><i class="icon-envelope"></i></span>
                <input type="text" id="email" name="email" class="form-control grey" placeholder="Email Address">
            </div>

            <button class="btn btn-primary btn-lg btn-block" type="submit">Reset Password</button>
        </div>
      </form>

    </div>
	
	<!-- javascripts -->
    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <!-- nice scroll -->
    <script src="js/jquery.scrollTo.min.js"></script>
    <script src="js/jquery.nicescroll.js" type="text/javascript"></script>
    <!-- jquery validate js -->
    <script type="text/javascript" src="js/jquery.validate.min.js"></script>

    <!-- custom form validation script for this page-->
    <script src="js/form-validation-script.js"></script>
    <!--custome script for all page-->
    <script src="js/scripts.js"></script>


  </body>
</html>
