Spaces:
Running
Running
File size: 5,920 Bytes
971eb1e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | <?php
$appName = $this->session->userdata('appName');
$username = $this->session->userdata('username');
$completeName = $this->session->userdata('completeName');
$Emp_ID = $this->session->userdata('Emp_ID');
$imgemp_filename = '';
$sqlGetIMG = "SELECT imgemp_filename FROM tbl_employee_img WHERE imgemp_empid = '$Emp_ID'";
$resGetIMG = $this->db->query($sqlGetIMG)->result();
foreach($resGetIMG as $rowGIMG) :
$imgemp_filename = $rowGIMG ->imgemp_filename;
endforeach;
$urlLogIn = site_url('Auth/');
$urlLogCA = site_url('Auth/contact_adm');
$urlLogOut = site_url('Auth/logout');
$urlOpenLock = site_url('Auth/openLock/?id='.$this->url_encryption_helper->encode_url($appName));
?>
<!DOCTYPE html>
<html class="lockscreen">
<head>
<meta charset="UTF-8">
<title>NSS | Reset Success</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<link rel="icon" type="image/png" href="<?php echo base_url() . 'assets/AdminLTE-2.0.5/dist/img/favicon/lock-02.png'; ?>" sizes="32x32">
<!-- bootstrap 3.0.2 -->
<link href="<?php echo base_url('assets/AdminLTE/css/bootstrap.min.css') ?>" rel="stylesheet" type="text/css" />
<!-- font Awesome -->
<link href="<?php echo base_url('assets/AdminLTE/css/font-awesome.min.css') ?>" rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="<?php echo base_url('assets/AdminLTE/css/AdminLTE.css') ?>" rel="stylesheet" type="text/css" />
<!-- Ionicons -->
<link href="<?php echo base_url('assets/ionicons-2.0.1/css/ionicons.min.css') ?>" rel="stylesheet" type="text/css" />
<!-- Bootstrap 3.3.2 -->
<link href="<?php echo base_url('assets/AdminLTE-2.0.5/bootstrap/css/bootstrap.min.css') ?>" rel="stylesheet" type="text/css" />
<!-- Font Awesome Icons -->
<link href="<?php echo base_url('assets/font-awesome-4.3.0/css/font-awesome.min.css') ?>" rel="stylesheet" type="text/css" />
</head>
<style type="text/css">
html, body {
width: 100%;
height: 100%;
}
body{
margin: 0;
display: table
}
body>div {
display: table-cell;
vertical-align: middle; /* vertical */
}
</style>
<body>
<div class="wrapper">
<div id="login-overlay" class="modal-dialog">
<div class="modal-content" style="vertical-align:middle">
<div class="modal-header" style="text-align:center">
<button type="button" class="close" data-dismiss="modal" style="display:none">
<span aria-hidden="true">×</span><span class="sr-only">Close</span>
</button>
<img src="<?php echo base_url() . 'assets/AdminLTE-2.0.5/dist/img/DeniedAccess.png'; ?>" style="max-width:260px" >
</div>
<div class="modal-body">
<div class="row">
<div class="col-xs-12">
<p class="lead"><?php echo $compName;?>, <span class="text-success">Reset Success ... !!!</span></p>
You have used this system illegally. System already sent a message to <strong><?php echo $EMAIL; ?></strong>.<br><br>Regards,<br><strong>Dian Hermanto.</strong>
<br><br>
<ul class="list-unstyled" style="line-height: 2">
<li><span class="fa fa-check text-success"></span>
<a href="<?php echo $urlLogIn; ?>" style="color:#000">Back to Log In</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
<!-- jQuery 2.0.2 -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="<?php echo base_url('assets/AdminLTE/js/bootstrap.min.js') ?>" type="text/javascript"></script>
<!-- page script -->
<script type="text/javascript">
$(function() {
startTime();
$(".center").center();
$(window).resize(function() {
$(".center").center();
});
});
/* */
function startTime()
{
var today = new Date();
var h = today.getHours();
var m = today.getMinutes();
var s = today.getSeconds();
// add a zero in front of numbers<10
m = checkTime(m);
s = checkTime(s);
//Check for PM and AM
var day_or_night = (h > 11) ? "PM" : "AM";
//Convert to 12 hours system
if (h > 12)
h -= 12;
//Add time to the headline and update every 500 milliseconds
$('#time').html(h + ":" + m + ":" + s + " " + day_or_night);
setTimeout(function() {
startTime()
}, 500);
}
function checkTime(i)
{
if (i < 10)
{
i = "0" + i;
}
return i;
}
/* CENTER ELEMENTS IN THE SCREEN */
jQuery.fn.center = function() {
this.css("position", "absolute");
this.css("top", Math.max(0, (($(window).height() - $(this).outerHeight()) / 2) +
$(window).scrollTop()) - 30 + "px");
this.css("left", Math.max(0, (($(window).width() - $(this).outerWidth()) / 2) +
$(window).scrollLeft()) + "px");
return this;
}
</script>
</html> |