<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>
			<?php echo $this->baseTitle ?>
		</title>
		<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseUrl ?>assets/thema/apk2020/css/login.css?ver=<?php echo date("ymdhis") ?>">
		<script src="<?php echo $this->baseUrl ?>assets/js/jquery-1.7.2.min.js" type="text/javascript"></script>
		<script type="text/javascript" src="<?php echo $this->baseUrl ?>assets/js/login.apk.js"></script>
		<script type="text/javascript" src="<?php echo $this->baseUrl ?>assets/js/md5.js"></script>
	</head>
<body>
	<div class="_hedAtas">
		<img src="<?php echo $this->baseUrl ?>assets/thema/apk2020/css/images/login1.jpg" class="_logo1">
		<a href=""><img src="<?php echo $this->baseUrl ?>assets/thema/apk2020/css/images/logo_jig.png" class="_logo2"></a>
		<div class="_logo3">
			 Activity Report 
		</div>
		<div class="_logo5">
			Management & Reporting System
		</div>
		<div class="_logo4">
			&nbsp;
		</div>
	</div>
	

	<div class="_formLogin">
		<form action="" method="post" id="loginAction">
			<div class="_form1">
				<input name="user_name_login" type="text" class="searchfield _userLog" autocomplete="off" id="userName" title="UserName" onfocus="clearText(this)" onblur="clearText(this)" value="username" />
			</div>
			<div class="_form2">
				<input name="password_login" type="password" class="searchfield _passLog" id="password" title="Password" onfocus="clearText(this)" onblur="clearText(this)" value="PASSWORD" size="15"/>
			</div>
			<div class="_form2">
				<label><input type="checkbox" name="keep" class="_cekLog">Keep Login after closing apps</label>
			</div>
			<div class="_form2">
				<input type="hidden" name="url" value="<?php echo $url ?>">
				<input type="submit" name="submit" id="submit" class="_btnLog" value="LOGIN" />
				<div id="_proses"></div>
			</div>
		</form>
		<div class="_form2">
			<span class="_logIneed">
				I need recovery my password
			</span>
		</div>
		<div class="_form2">
			<span class="_logIneed">
				<a href="<?php echo $this->baseUrl ?>login/daftar6" class="anone">Sign Up</a>
			</span>
		</div>
		<div class="_form2">
			<div class="_form3">
				Ver.4.0 - Last Update <?php echo date("Y") ?>
			</div>
		</div>
	</div>

	<div class="_footer">
		Design and Manage By Sarijaya Strategic &copy; <?php echo date("Y") ?> - Sj Ware System
	</div>


</body>
<input type="hidden" id="_key" value="<?php echo $this->data->_keyCode ?>">
<input type="hidden" id="_jum" value="<?php echo $this->data->_keyJuml ?>">
<script type="text/javascript">
$(document).ready(function(){
	$('#loginAction').submit(function(e){
		nPass = excript($('#password').val(), $('#_key').val(), $('#_jum').val());
		lPass = $('#password').val();
		$('#password').val(nPass);
		e.preventDefault();
		$('#_proses').html('<span class="_left20px"><u>Process Login....</u></span>');
		$.ajax({
		type: 'POST',
			url: '<?php echo $this->baseUrl.'login/masuk' ?>',
			data: $(this).serialize(),
			success: function(data) {
				$('#_proses').html('<span class="_left20px"><u>'+data+'</u></span>');
				$('#password').val(lPass);
			}
		})
	})

	_height = screen.height;
	_height = parseInt(_height) - 500;
	$('._formLogin').css("height", _height+'px');
})
</script>