<!-- <?php
$login = array(
	'name'	=> 'login',
	'id'	=> 'login',
	'value' => set_value('login'),
	'maxlength'	=> 80,
	'size'	=> 30,
);
if ($this->config->item('use_username', 'tank_auth')) {
	$login_label = 'Email or login';
} else {
	$login_label = 'Email';
}
?>
<?php echo form_open($this->uri->uri_string()); ?>
<table>
	<tr>
		<td><?php echo form_label($login_label, $login['id']); ?></td>
		<td><?php echo form_input($login); ?></td>
		<td style="color: red;"><?php echo form_error($login['name']); ?><?php echo isset($errors[$login['name']])?$errors[$login['name']]:''; ?></td>
	</tr>
</table>
<?php echo form_submit('reset', 'Get a new password'); ?>
<?php echo form_close(); ?> -->


<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta charset="utf-8">
		<meta http-equiv="cache-control" content="max-age=0">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT">
		<meta http-equiv="pragma" content="no-cache">
		<!--<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />-->
		<!--change by sunita 18122013 for IE11-->
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<!-- end of code-->
		<title>Nityam Hygiene - Refill Management System</title>

		<meta name="description" content="overview &amp; stats">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
     
		<link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/bootstrap.min.css">
		<link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/font-awesome.css">
		<link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/font-awesome.min.css">
        <link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/jquery-ui-1.10.3.full.min.css">
        <link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/jquery-ui-1.10.3.custom.min.css">
		<link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/ace.min.css">
		<link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/ace-rtl.min.css">
		<link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/ace-skins.min.css">
		
		<!--[if IE 7]>
		  <link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/font-awesome-ie7.min.css" />
		<![endif]-->

		

		<!--[if lte IE 8]>
			<link rel="stylesheet" href="<?php echo ASSETS_PATH;?>css/ace-ie.min.css" />
		<![endif]-->
	

		<!--[if lt IE 9]>
			<script src="<?php echo ASSETS_PATH;?>js/html5shiv.js"></script>
			<script src="<?php echo ASSETS_PATH;?>js/respond.min.js"></script>
            
		<![endif]-->
		
		<!--[if lte IE 8]>
		  <script src="<?php echo ASSETS_PATH;?>js/excanvas.min.js"></script>
		<![endif]-->

		
		
		
		
	<!--	<script src="<?php echo ASSETS_PATH;?>js/jquery.min.js"></script>-->
	
		
	</head>
		
	<body class="login-layout">
	
		<div class="main-container clearfix">
			<div class="main-content">
				<div>
					<div class="col-sm-10 col-sm-offset-1">
						<div class="login-container">
							<div class="center">
								<h1 class="text-center">
														
								
										<img src="<?php echo ASSETS_PATH;?>images/logohygiene.jpg" alt="logo">
									
								</h1>
								
							</div>

							<div class="space-6"></div>

							<div class="position-relative">
								<div id="login-box" class="login-box visible widget-box no-border">
									<div class="widget-body">
										<div class="widget-main">
											<h4 class="header purple lighter bigger">Forgot Password</h4>
											<div id="messages" style="color:green;"><h5><?php echo $this->session->flashdata('message'); ?></h5></div>
											<div class="space-6"></div>
												<form action="<?php echo base_url();?>index.php/authentication/mail_forgot_passoword" onsubmit="return validateForm()" method="post" accept-charset="utf-8">


												<fieldset>
													<label style="color: red;">														
																																																																																			</label>
												
													<label class="block clearfix">
														<span class="block input-icon input-icon-right">												
															<input type="text" class="form-control" id="forgot_password" onkeypress="return RestrictSpace()"  size="30" maxlength="80" value="" name="email" placeholder="Enter Email Id">															
															<i class="icon-user"></i>
														</span>
														<span id="forgot_password1" class="text-danger font-weight-bold"></span>
													</label>

													

													<div class="space"></div>

													<div class="clearfix">
														
										
														
				<button class="pull-right btn btn-sm btn-warning" type="submit" name="submit">
															<i class="fa fa-key"></i> Submit
														</button>
													</div>

													<div class="space-4"></div>
												</fieldset>
								
												</form>									
										</div>
										<!-- /widget-main -->
									
										
										
									</div><!-- /widget-body -->
								</div><!-- /login-box -->
							</div><!-- /position-relative -->
						</div>
					</div><!-- /.col -->
				</div><!-- /.row -->
			</div>
		</div>
        <div style="clear:both;"></div>
       
        
        <!-- /.main-container -->

		
		
	<script>
				$('document').ready(function(){
						 $('a').on("click", function (e) {
						 var rel = $(this).attr('rel');
						 //if(rel=='undefined'){
						 if($(this).attr('rel')){
							
							window.location.replace(rel);
						 }else{
						  e.preventDefault();
						 } 
						
						
						});
					});
	</script> 
	<script type="text/javascript">
		

		function validateForm(){

			var email = document.getElementById('forgot_password').value;


			if(email == ""){
				document.getElementById('forgot_password1').innerHTML =" Please Enter email id";
				return false;
			}
			else if(email_id!='')
		  {

				var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
				if(!emailReg.test(email_id)) {
					document.getElementById('forgot_password1').innerHTML ="Please Enter a valid Email Id";
					return false;
				}
		   }

			
		}

	</script>
	<script>
function RestrictSpace() {
    if (event.keyCode == 32) {
        return false;
    }
}
</script>




<!--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->



<!-- design start here -->

<!-- design end here -->

</body></html>