Hacked By AnonymousFox
<?
include("lib/config.php");
include("lib/connect.php");
include("lib/session.php");
/*if($System_Session_Level!="1") {
echo "<SCRIPT LANGUAGE=\"JavaScript\">window.location = \"index.php\";alert(\"You must Login first.\");</SCRIPT>";
}
*/
$sql="select * from ncis_staff where StaffID='$System_Session_User_ID'";
$query=mysql_query($sql);
$row=mysql_fetch_array($query);
function ShowDate($myDate) {
$myDateArray=explode("-",$myDate);
$myDay = sprintf("%d",$myDateArray[2]);
switch($myDateArray[1]) {
case "01" : $myMonth = "ม.ค."; break;
case "02" : $myMonth = "ก.พ."; break;
case "03" : $myMonth = "มี.ค."; break;
case "04" : $myMonth = "เม.ย."; break;
case "05" : $myMonth = "พ.ค."; break;
case "06" : $myMonth = "มิ.ย."; break;
case "07" : $myMonth = "ก.ค."; break;
case "08" : $myMonth = "ส.ค."; break;
case "09" : $myMonth = "ก.ย."; break;
case "10" : $myMonth = "ต.ค."; break;
case "11" : $myMonth = "พ.ย."; break;
case "12" : $myMonth = "ธ.ค."; break;
}
$myYear = sprintf("%d",$myDateArray[0])+543;
return($myDay . " " . $myMonth . " " . $myYear);
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>:: ระบบ NCIS ::</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" href="images/icons/list.ico"/>
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="fonts/Linearicons-Free-v1.0.0/icon-font.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/animate/animate.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/css-hamburgers/hamburgers.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/animsition/css/animsition.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/daterangepicker/daterangepicker.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="css/splash.css">
<link rel="stylesheet" type="text/css" href="css/util.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<!--===============================================================================================-->
<style type="text/css">
.inputlogin{
background:#056839;
font-family:Tahoma, Geneva, sans-serif;
font-size:16px;
padding: 5px 10px 5px 10px;
color: #fff;
font-weight: bold;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
border-bottom: 1px solid rgba(0,0,0,0.25);
cursor: pointer;
border-left:none;
border-top:none;
margin:10px 0 10px 0;
}
.inputlogin:hover{
background:#727FB2;
}
table {
border-collapse: collapse;
width: 100%;
}
td {
text-align: left;
}
td:hover {background-color: #FFC;}
</style>
<link rel="stylesheet" href="dist/css/default/zebra_datepicker.min.css" type="text/css">
<link rel="stylesheet" href="examples.css" type="text/css">
</head>
<body>
<div class="pages_container">
<div align="center"><img src="logo_sm.png" width="160" /></div><br />
<h4 align="right"><span class="page_title">ยินดีต้อนรับ !
คุณ<?=$System_Session_FullName?> เข้าสู่ระบบ
<input type="submit" name="button2" id="button2" class="inputlogin" value="แก้ไขรหัสผ่าน" onclick="window.location='system/logout.php'" />
<input type="submit" name="button" id="button" class="inputlogin" value="ออกจากระบบ" onclick="window.location='system/logout.php'" /></span></h4>
<blockquote><strong><br />
<h3>ระบบการจัดการข้อมูลระบบ NCIS (ข้อมูลอ้างอิง)</h3><br />
</strong></blockquote><br />
<table width="90%" border="0" align="center">
<tr>
<td width="25%"><table width="100%" border="1" bordercolor="#CCCC99" style="border-collapse:collapse; cursor:pointer" onClick="window.location='home1.php'">
<tr>
<td bgcolor="#FFFFFF"><h3 align="center"><img src="icon.png" width="120" /><br />
ข้อมูลกลุ่ม/ฝ่าย/งาน<br />
<br />
</h3></td>
</tr>
</table></td>
<td width="25%"><table width="100%" border="1" bordercolor="#CCCC99" style="border-collapse:collapse; cursor:pointer" onClick="window.location='home2.php'">
<tr>
<td bgcolor="#FFFFFF"><h3 align="center"><img src="icon.png" width="120" /><br />
ข้อมูลมาตรฐาน ISO<br />
<br />
</h3></td>
</tr>
</table></td>
<td width="25%"><table width="100%" border="1" bordercolor="#CCCC99" style="border-collapse:collapse; cursor:pointer" onClick="window.location='home3.php'">
<tr>
<td bgcolor="#FFFFFF"><h3 align="center"><img src="icon.png" width="120" /><br />
ข้อมูลตารางข้อกำหนด<br />
<br />
</h3></td>
</tr>
</table></td>
</tr>
</table><br />
<blockquote><strong><br />
<h3>ระบบการจัดการข้อมูลระบบ NCIS (ข้อมูลทะเบียนและรายงานผล)</h3><br />
</strong></blockquote><br />
<table width="90%" border="0" align="center">
<tr>
<td width="25%"><table width="100%" border="1" bordercolor="#CCCC99" style="border-collapse:collapse; cursor:pointer" onClick="window.location='home4.php'">
<tr>
<td><h3 align="center"><img src="icon.png" width="120" /><br />
ข้อมูลทะเบียนหน่วยงาน<br />
<br />
</h3></td>
</tr>
</table></td>
<td width="25%"><table width="100%" border="1" bordercolor="#CCCC99" style="border-collapse:collapse; cursor:pointer" onClick="window.location='home5.php'">
<tr>
<td bgcolor="#FFFFFF"><h3 align="center"><img src="icon.png" width="120" /><br />
ข้อมูลทะเบียนบุคลากร<br />
<br />
</h3></td>
</tr>
</table></td>
<td width="25%"><table width="100%" border="1" bordercolor="#CCCC99" style="border-collapse:collapse; cursor:pointer" onClick="window.location='home4.php'">
<tr>
<td><h3 align="center"><img src="icon.png" width="120" /><br />
ข้อมูลบันทึกข้อบกพร่อง<br />
<br />
</h3></td>
</tr>
</table></td>
</tr>
</table>
<br>
<table width="90%" border="0" align="center">
<tr>
<td width="25%"><table width="100%" border="1" bordercolor="#CCCC99" style="border-collapse:collapse; cursor:pointer" onClick="window.location='home4.php'">
<tr>
<td><h3 align="center"><img src="icon.png" width="120" /><br />
ข้อมูลรายการ NC<br />
<br />
</h3></td>
</tr>
</table></td>
<td width="25%"><table width="100%" border="1" bordercolor="#CCCC99" style="border-collapse:collapse; cursor:pointer" onClick="window.location='home5.php'">
<tr>
<td bgcolor="#FFFFFF"><h3 align="center"><img src="icon.png" width="120" /><br />
Report<br />
<br />
</h3></td>
</tr>
</table></td>
<td width="25%"><table width="100%" border="1" bordercolor="#CCCC99" style="border-collapse:collapse; cursor:pointer" onClick="window.location='home5.php'">
<tr>
<td bgcolor="#FFFFFF"><h3 align="center"><img src="icon.png" width="120" /><br />
สถิติการเข้าใช้งานในระบบ<br />
<br />
</h3></td>
</tr>
</table></td>
</tr>
</table>
<br>
</div>
</body>
</html>
Hacked By AnonymousFox1.0, Coded By AnonymousFox