| Server IP : 104.21.73.108 / Your IP : 216.73.216.59 Web Server : Apache/2 System : Linux cat167-197.static.lnwhostname.com 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 User : paphayomho ( 1042) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/paphayomho/domains/paphayomhospital.go.th/private_html/HHC/admin/ |
Upload File : |
<?php include('header.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body id="login">
<div class="container">
<?php include('navbar_index.php'); ?>
<p><img src="images/banner.png" class="img-polaroid"></p>
<form id="login_form" class="form-signin" method="post">
<h3 class="form-signin-heading"><i class="icon-lock"></i> ลงชื่อเข้าใช้งานระบบ</h3>
<input type="text" class="input-block-level" id="usernmae" name="username" placeholder="ชื่อผู้ใช้" required>
<input type="password" class="input-block-level" id="password" name="password" placeholder="รหัสผ่าน" required>
<button data-placement="top" title="Click to Login" id="login1" name="login" class="btn btn-success" type="submit"><i class="icon-signin icon-large"></i>เข้าสู่ระบบ</button>
<script type="text/javascript">
$(document).ready(function(){
$('#login1').tooltip('show');
$('#login1').tooltip('hide');
});
</script>
</form>
<script>
jQuery(document).ready(function(){
jQuery("#login_form").submit(function(e){
e.preventDefault();
var formData = jQuery(this).serialize();
$.ajax({
type: "POST",
url: "login.php",
data: formData,
success: function(html){
if(html=='true')
{
$.jGrowl("Loading Please Wait......", { sticky: true });
$.jGrowl("Welcome to NOCHP Members Information System", { header: 'Access Granted' });
var delay = 1000;
setTimeout(function(){ window.location = 'coordinator.php' }, delay);
}else if (html == 'true_user'){
$.jGrowl("Loading Please Wait......", { sticky: true });
$.jGrowl("Welcome to NOCHP Members Information System", { header: 'Access Granted' });
var delay = 1000;
setTimeout(function(){ window.location = 'members.php' }, delay);
}else
{
$.jGrowl("Please Check your username and Password", { header: 'Login Failed' });
}
}
});
return false;
});
});
</script>
<table width="700" height="131" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="131"><img src="images/3.jpg" /></td>
<td><img src="images/5.jpg" /></td>
<td><img src="images/4.jpg" /></td>
<td><img src="images/6.jpg" /></td>
<td><img src="images/12.jpg" /></td>
</tr>
</table>
<?php include('footer_index.php'); ?>
</div> <!-- /container -->
<?php include('script.php'); ?>
</body>
</html>