<!DOCTYPE html>
<html>
<head>
	<title>SPS Lite Accounting</title>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<!-- Tell the browser to be responsive to screen width -->
	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
	<link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="<?php echo base_url(); ?>dist/img/logo_salihin_32x32.png">
	<link rel="apple-touch-icon" href="<?php echo base_url(); ?>dist/img/logo_salihin_32x32.png">
	<!-- Bootstrap 3.3.5 -->
	<link rel="stylesheet" href="<?php echo base_url(); ?>bootstrap/css/bootstrap.min.css">
	<!-- Font Awesome -->
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
	<!-- Ionicons -->
	<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
	<!-- Theme style -->
	<link rel="stylesheet" href="<?php echo base_url(); ?>dist/css/AdminLTE.css">
	<!-- iCheck -->
	<link rel="stylesheet" href="<?php echo base_url(); ?>plugins/iCheck/square/blue.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>dist/custom/custom.css">
	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
	<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
	<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
	<![endif]-->
</head>
<body class="hold-transition skin-red-light login-page">
	<div class="login-box">
		<div class="login-wrap col-lg-12 col-md-12 col-xs-12">
			<div class="login-box-body">
				<div class="login-logo">
					<a href="<?php echo base_url(); ?>home" alt="SPS Lite Accounting"><img src="<?php echo base_url(); ?>dist/img/logo.png" style="width:100%" /></a>
				</div>
				<?php if (!$msg_sent) { ?>
				<div class="alert alert-danger alert-dismissible <?php echo validation_errors() ? '' : 'hidden'?>">
                	<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
					<?php if(isset($msg_wrong_email) && $msg_wrong_email == "true") {?><p style="color:#F24336;" class="login-box-msg">System unable to find your email address</p> <?php } ?>
					<?php echo validation_errors(); ?>
				</div>
				<p class="login-box-msg">Please enter your email address for assistance</p>
				<?php
				echo form_open('forgetPassword/send_email', array('id' => 'loginForm', 'name' => 'loginForm'));
				?>
				<div class="form-group has-feedback">
					<input type="email" id="userID" name="userID" class="form-control" placeholder="Email" required />
					<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
				</div>
				<div class="row">
					<div class="col-xs-4 pull-right">
						<input type="submit" class="btn btn-primary btn-block btn-flat" value="Submit" />
					</div>
				</div>
				<?php } ?>
				<?php echo form_close(); ?>
			</div>
			<div class="additional-info col-xs-12 text-center">
				<a href="<?php echo base_url() ?>login">Login</a>
			</div>
		</div>
	</div>
	<script src="<?php echo base_url(); ?>plugins/jQuery/jQuery-2.1.4.min.js"></script>
	<!-- Bootstrap 3.3.5 -->
	<script src="<?php echo base_url(); ?>bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
