<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title>SIM LAPAK | Login Page</title>
	<link rel="shortcut icon" href="<?php echo base_url("/assets/img/favicon.png"); ?>">
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
	<meta content="" name="description" />
	<meta content="" name="author" />

	<!-- ================== BEGIN BASE CSS STYLE ================== -->
	<!-- <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet" /> -->
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
	<link href="<?php echo base_url(); ?>/assets/plugins/font-awesome/5.1/css/all.css" rel="stylesheet" />
	<link href="<?php echo base_url(); ?>assets/css/app.min.css" rel="stylesheet" />
	<!-- <link href="<?php echo base_url(); ?>/assets/css/style.min.css" rel="stylesheet" /> -->
	<!-- ================== END BASE CSS STYLE ================== -->
</head>
<body class="pace-top">
	<!-- begin #page-loader -->
	<div id="page-loader" class="fade show"><span class="spinner"></span></div>
	<!-- end #page-loader -->

	<!-- begin #page-container -->
	<div id="page-container" class="fade">
		<!-- begin login -->
		<div class="login login-with-news-feed">
			<!-- begin news-feed -->
			<div class="news-feed">
				<div class="news-image" style="background-image: url(../assets/img/background/login-bg.jpg)"></div>
				<div class="news-caption">
					<h4 class="caption-title"><b>SIM</b> LAPAK</h4>
					<p>
						Sistem Informasi Manajemen Laboratorium Pakan Dinas Peternakan Jawa Timur.
					</p>
				</div>
			</div>
			<!-- end news-feed -->
			<!-- begin right-content -->
			<div class="right-content bg-grey">
				<!-- begin login-header -->
				<div class="login-header">
					<div class="brand">
						<img width="40px" src="<?php echo base_url();?>/assets/img/logo.png" class="" alt="" /> <span class="text-white"><b>SIM</b> LAPAK</span>
						<small class="text-white">Login untuk mengakses fitur dari SIM LAPAK.</small>
					</div>
					<div class="icon">
						<i class="fa fa-sign-in-alt"></i>
					</div>
				</div>
				<!-- end login-header -->
				<!-- begin login-content -->

				<?php if(isset($errorMessage)) { ?>
					<div class="alert-1 panel panel-danger overflow-hidden m-b-10">
	            <div class="panel-heading">
									<p><?php echo $errorMessage; ?></p>
	            </div>
	        </div>
				<?php } ?>

				<div class="login-content">
					<form action="<?php echo site_url('index'); ?>" method="POST" name="login_form" class="form-input-flat">
                  <input type="hidden" name="type" value="login">
                  <div class="form-group">
                      <input type="text" name="username" class="form-control input-lg" placeholder="Username/Email" />
                  </div>
                  <div class="form-group">
                      <input type="password" name="password" class="form-control input-lg" placeholder="Password" />
                  </div>
                  <div class="checkbox checkbox-css m-b-30">
							<!-- <input type="checkbox" id="remember_me_checkbox" value="" />
							<label for="remember_me_checkbox">
							Remember Me
							</label> -->
						</div>
                  <div class="row m-b-20">
                      <div class="col-lg-12">
                          <button type="submit" name="login-button" class="btn btn-inverse btn-lg btn-block">Login</button>
                      </div>
                  </div>
						<hr />
						<p class="text-center text-grey-darker mb-0">
							&copy; PT. Delta Sinergi Prima
						</p>
              </form>
				</div>
				<!-- end login-content -->
			</div>
			<!-- end right-container -->
		</div>
		<!-- end login -->
	</div>
	<!-- end page container -->

	<!-- ================== BEGIN BASE JS ================== -->
	<script src="<?php echo base_url(); ?>assets/js/app.min.js"></script>
	<script src="<?php echo base_url(); ?>assets/js/theme/default.min.js"></script>
	<!-- ================== END BASE JS ================== -->
<script>
	  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

	  ga('create', 'UA-53034621-1', 'auto');
	  ga('send', 'pageview');

	</script>
</body>
</html>
