<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $title;?></title>
<link href="<?php echo base_url();?>assets/frontend/img/ico/favicon.png" rel="shortcut icon">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/backend/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/backend/dist/css/AdminLTE.min.css">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/backend/plugins/iCheck/square/blue.css">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/backend/dist/css/skins/_all-skins.min.css">
<style type="text/css">
.skin-red .wrapper, .skin-red .main-sidebar, .skin-red .left-side {background-color: #f8f8f8;}
img{ display:inline-block !important;}
.error{font-size: 14px;margin-top: 5px;letter-spacing: 0.2px;}
</style>
</head>
<body class="hold-transition skin-red login-page">
	<div class="login-box"> 
	
 		<div class="login-logo"><?php if(isset($page_title) && $page_title!=''){ ?><a href="#" class="lgn_title"><?php echo $page_title;?></a><?php } ?></div>
		
		<div class="login-box-body">
			<p class="login-box-msg"><a href="<?php echo base_url(); ?>"><i class="fa fa-long-arrow-left" aria-hidden="true"></i> BACK to HOME</a></p>
			<?php if(isset($custom_variable_first) && $custom_variable_first!=''){ ?><p class="login-box-msg">Sign in to start your session</p><?php } ?>
			<p id="ret">
				<?php if(isset($success_msg) && $success_msg!=''){ ?><div class="alert alert-dismissable alert-success"><?php echo $success_msg;?></div><?php }  ?>
				<?php if(isset($error_login) && $error_login!=''){ ?><div class="alert alert-dismissable alert-danger" style="margin:0;"><?php echo $error_login;?></div><?php } ?>
				<?php if(validation_errors() != false) { echo'<div class="alert alert-dismissable alert-danger" style="margin:0;">'. validation_errors().'</div>'; } ?>
			</p>