Hacked By AnonymousFox

Current Path : C:/AppServ/www/stat/
Upload File :
Current File : C:/AppServ/www/stat/homeu.php

<? 
include("lib/config.php");
include("lib/connect.php");
include("lib/session.php");

if($System_Session_Level=="") {
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 ShowDateLongTh($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/main.css">
    	<link rel="stylesheet" type="text/css" href="css/util.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;

}
</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="container-login100" style="background-image: url('images/bg-01.jpg');">
                                       <div align="center"><img src="logo.png" width="150" height="150" /><br>
                                         <strong>&nbsp;ระบบสถิติบุคลากร                                         </strong></div>
                                       <br />
 <h4 align="right"><span class="page_title">ยินดีต้อนรับ ! 
                                            คุณ<?=$System_Session_FullName?> เข้าสู่ระบบ                                            &nbsp;&nbsp;
  <input type="submit" name="button" id="button" class="inputlogin" value="ออกจากระบบ"  onclick="window.location='system/logout.php'" /></span></h4>
  <br />
  <table width="100%" border="1" align="center" style="border-collapse:collapse" bordercolor="#8EADBF" cellpadding="10">
   <tr>
     <td  bgcolor="#C6ECD9"><div align="center"><strong>เมนูหลัก</strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#FFFFFF"><div align="center"><strong><a href="1.php">บันทึกประวัติ</a></strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#FFFFFF"><div align="center"><strong><a href="2.php">ค้นหา/แก้ไขประวัติ</a></strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#C6ECD9"><div align="center"><strong>เมนูบันทึกการศึกษา / ฝึกอบรม /ประชุม / สัมมนา / ดูงาน</strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#FFFFFF"><div align="center"><strong><a href="3.php">บันทึกข้อมูลการศึกษา  / ฝึกอบรม /ประชุม / สัมมนา / ดูงาน</a></strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#FFFFFF"><div align="center"><strong><a href="5.php">แก้ไขประวัติการศึกษา  / ฝึกอบรม /ประชุม / สัมมนา / ดูงาน</a></strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#FFFFFF"><div align="center"><strong><a href="6.php">ค้นหาข้อมูลบุคลากร</a></strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#C6ECD9"><div align="center"><strong>เมนูรายงาน</strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#FFFFFF"><div align="center"><strong>รายงานงบประมาณ</strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#FFFFFF"><div align="center"><strong><a href="7.php">รายงานแยกตามรายคน</a></strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#FFFFFF"><div align="center"><strong><a href="8.php">รายงานแยกตามหลักสูตร</a></strong></div></td>
   </tr>
   <tr>
     <td bgcolor="#FFFFFF"><div align="center"><strong>รายงานแยกตามส่วนราชการ</strong></div></td>
   </tr>
 </table>
 <p>&nbsp;</p>
 <p><br>
 </p>
</div>
</body>
</html>

Hacked By AnonymousFox1.0, Coded By AnonymousFox