
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title><?php echo $title; ?></title>
<meta name="description" content="<?php echo $description; ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<!-- bootstrap & fontawesome -->
<link rel="stylesheet" href="<?php echo base_url(); ?>assets_v2/css/bootstrap.min.css" />
<link rel="stylesheet" href="<?php echo base_url(); ?>assets_v2/font-awesome/4.5.0/css/font-awesome.min.css" />
<!-- text fonts -->
<link rel="stylesheet" href="<?php echo base_url(); ?>assets_v2/css/fonts.googleapis.com.css" />
<META NAME="robots" CONTENT="noindex,nofollow">
<!-- ace styles -->
<link rel="stylesheet" href="<?php echo base_url(); ?>assets_v2/css/ace.min.css" />
<link rel="stylesheet" href="<?php echo base_url(); ?>assets_v2/css/ace-rtl.min.css" />
</head>
<body class="login-layout" style="background-image: url('<?php echo base_url(); ?>images/wall.webp');
height: 100%;
background-position: center; 
background-repeat: repeat;
background-size: cover;"><div class="main-container">
<div class="main-content">
	<div class="row" style="margin-top:5%;">
		<div class="col-sm-10 col-sm-offset-1">
		
			<div class="login-container" style="width:400px;">
				<?php if(!empty($pesan)){ ?>
				<div class="alert alert-<?php echo $alert;?>" role="alert" style="text-align:center;">
				 <strong><?php echo validation_errors(); echo $pesan ;?></strong>
				</div><?php }?>				
			 <div class="well" style="border-radius: 30px; " >
				<div class="position-relative">									
					<div id="login-box" class="login-box visible widget-box no-border" style="background-color: #0880e8;">
				<div class="center">
					<div class="header company-pattern" style="border-bottom: 3px solid #ffcc00;">
						<img src="<?php echo base_url(); ?>images/Lambang_Kota_Madiun_lawas.webp" height="120"><br/>
					</div>		
					<h4>
						<span class="white" id="id-text2"  style="font-size:16px;"><?php echo substr($title,0,30); ?></span>
					</h4>		
					<h4>
						<span class="white" id="id-text2" style="font-size:18px;"><?php echo substr($title,30,80); ?></span>
					</h4>
					
				</div>
						<div class="widget-body">
						<?php 		
						$attribute = array('role' => 'form', 'method' => 'post');
						echo form_open(base_url().'login/cek', $attribute); 
						?>																	
									<fieldset style="background-color: #e7e7e7;">
									<br />
										<label class="block clearfix">
											<span class="block input-icon input-icon-right">
												<input type="text" class="form-control" name="username" placeholder="Masukkan Username" />
												<i class="ace-icon fa fa-credit-card"></i>
											</span>
										</label>
										<label class="block clearfix">
											<span class="block input-icon input-icon-right">
												<input type="password" class="form-control" name="password" placeholder="Masukkan Password" />
												<i class="ace-icon fa fa-lock"></i>
											</span>
										</label>
										<div class="space"></div>	
										<label class="block clearfix">
											<span class="block input-icon input-icon-right">
												<?php 
												echo $script;
												echo $widget;
												?>
												<i class="ace-icon fa fa-lock"></i>
											</span>
										</label>																					
										<button type="submit" name="button" value="button" class="btn btn-primary btn-block" >Masuk</button>
									</fieldset>
									</form>							</div><!-- /.widget-main -->
						</div><!-- /.widget-body -->
					</div><!-- /.login-box -->
				</div><!-- /.position-relative -->
			</div>
			</div>
		</div><!-- /.col -->
	</div><!-- /.row -->
</div><!-- /.main-content -->
</div><!-- /.main-container -->
<!-- /.main-container -->
<!-- basic scripts -->
<!--[if !IE]> -->
<script src="<?php echo base_url(); ?>assets_v2/js/jquery-2.1.4.min.js"></script>
<!-- <![endif]-->
<!--[if IE]>
<script src="assets/js/jquery-1.11.3.min.js"></script>
<![endif]-->
<script type="text/javascript">
if ('ontouchstart' in document.documentElement) document.write("<script src='<?php echo base_url(); ?>assets_v2/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
</script>
</body>
</html>