Hacked By AnonymousFox

Current Path : C:/AppServ/www/bkup/finan300368/financial/bk/
Upload File :
Current File : C:/AppServ/www/bkup/finan300368/financial/bk/home.php

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

if($System_Session_User_ID=="") {
echo "<SCRIPT LANGUAGE=\"JavaScript\">window.location = \"index.php\";alert(\"You must Login first.\");</SCRIPT>";
 } 
$sql="select * from fin_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>FINANCIAL V.1</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%;
}

</style>
         <link rel="stylesheet" href="dist/css/default/zebra_datepicker.min.css" type="text/css">
        <link rel="stylesheet" href="examples.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
<!--
body {
	background-image: url(images/bg-0111);
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style37 {color: #000000}
.style39 {color: #056839}
-->
</style></head>
<body>
<table width="100%" border="0">
  <tr>
    <td><div align="center">
      <h2><strong><img src="logo.jpg"  height="100"><br>
        </strong><br>
        <span class="h5"> <strong>รายงานผลการติดตามเงินงบประมาณ ปีงบประมาณ 2568 </strong></span></h2>
    </div></td>
  </tr>
  <tr>
  <tr>
<td>
<hr>
</td></tr>
    <td bgcolor="#FDE8FA"><div align="center">
      <h3><span class="page_title"><strong>ยินดีต้อนรับ !
        <?=$System_Session_FullName?>
        เข้าสู่ระบบ</strong> &nbsp;&nbsp;
        <input type="submit" name="button" id="button" class="inputlogin" value="ออกจากระบบ"  onClick="window.location='system/logout.php'" />
        </span></h3>
    </div></td>
  </tr>
  <tr><td>
<hr>
</td></tr>
</table>
<div class="pages_container">
                                       <div align="center"></div>
                                       <br />
                                       <strong><br />
                                       </strong>
  <blockquote><strong>
    <h3>ข้อมูลรายการจัดซื้อ</h3>
    <span class="page_title">
    <input type="submit" name="button2" id="button2" class="inputlogin" value="เพิ่มข้อมูล"  onClick="window.location='adddata.php'" />
    </span><br />
 </strong>
 <?php
 $sqlc="select * from fin_data where Idrefer='$System_Session_User_ID'";
 $queryc=mysql_query($sqlc);
 $numc=mysql_num_rows($queryc);
 if($numc>0)
 { 
 ?>
 
   <table width="98%" border="1" align="center" cellpadding="10" cellspacing="0" style="border-collapse:collapse">
     <tr>
       <td width="218" bgcolor="#EFEFEF"><h3 align="center" class="style37">รายการ</h3></td>
       <td width="112" bgcolor="#EFEFEF"><h3 align="center" class="style37">แหล่งเงิน</h3></td>
       <td width="233" bgcolor="#EFEFEF"><h3 align="center" class="style37">ผลการดำเนินการ</h3></td>
       <td width="197" bgcolor="#EFEFEF"><div align="center"><strong>วิธีการจัดซื้อ</strong></div></td>
       <td width="161" bgcolor="#EFEFEF"><div align="center"><strong>งบประมาณหลังปรับโอน</strong></div></td>
       <td width="158" bgcolor="#EFEFEF"><div align="center"><strong>หมายเลขโครงการ EGP</strong></div></td>
       <td width="57" bgcolor="#EFEFEF"><div align="center"><strong>จัดการข้อมูล</strong></div></td>
     </tr>
<?php	 
	  $sqlc1="select * from fin_data where Idrefer='$System_Session_User_ID'";
 $queryc1=mysql_query($sqlc1);
while($rowc1=mysql_fetch_array($queryc1)){
?>
     <tr>
       <td height="32"><div align="center"><?=$rowc1[Record]?></div></td>
       <td align="left"><div align="center"><?
	   if($rowc1[Source]=="1"){ echo"เงินงบประมาณ"; }
	   if($rowc1[Source]=="2"){ echo"เงินบำรุง รพ."; }
	   if($rowc1[Source]=="3"){ echo"เงินทุนหมุนเวียน"; }
	   if($rowc1[Source]=="4"){ echo"เงินประกันสังคม"; }
	   if($rowc1[Source]=="5"){ echo"เงินกองทุนหลักประกันสุขภาพ"; }
	   if($rowc1[Source]=="6"){ echo"เงินประกันสุขภาพสำหรับแรงงานต่างด้าว"; }
	   if($rowc1[Source]=="7"){ echo"เงินกองทุนแพทย์ศาสตร์"; }
	   if($rowc1[Source]=="8"){ echo"เงินบำรุงหอพักรพ."; }
	   if($rowc1[Source]=="9"){ echo"เงินอุดหนุนรัฐบาล"; }
	   if($rowc1[Source]=="10"){ echo"เงินระบบบริหารการแพทย์ฉุกเฉิน(EMS)"; }
	   ?>  

	   </div></td>
   <td align="center"><div align="center">
<?
	   if($rowc1[Result]=="1"){ echo"งบลงทุน (ยังไม่ก่อหนี้)"; }
	   if($rowc1[Result]=="2"){ echo"งบลงทุน (ก่อหนี้แล้ว)"; }
	   if($rowc1[Result]=="3"){ echo"งบลงทุน (ยังไม่ก่อหนี้) กันไว้เบิกเหลี่อมปี"; }
	   if($rowc1[Result]=="4"){ echo"งบลงทุน (ก่อหนี้แล้ว) กันไว้เบิกเหลี่อมปี"; }
	   if($rowc1[Result]=="5"){ echo"งบดำเนินงาน (ก่อหนี้แล้ว)"; }
	   if($rowc1[Result]=="6"){ echo"งบดำเนินงาน (ยังไม่ก่อหนี้)"; }
	   if($rowc1[Result]=="7"){ echo"งบรายจ่ายอื่น"; }

	   ?>  	   
	   </div></td>
       <td ><div align="center">
	   <?
	   if($rowc1[Typebuy]=="1"){ echo"วิธีคัดเลือก"; }
	   if($rowc1[Typebuy]=="2"){ echo"วิธีเฉพาะเจาะจง"; }
	   if($rowc1[Typebuy]=="3"){ echo"วิธีประกวดราคาอิเล็กทรอนิกส์ (e-bidding)"; }

	   ?>  	
	   </div></td>
       <td align="right"><div align="center"><?=$rowc1[Money]?></div></td>
       <td align="right"><div align="center"><?=$rowc1[Egp]?></div></td>
       <td align="right"><div align="center"><strong><span class="page_title">
         <input type="submit" name="button22" id="button22" class="inputlogin" value="ดูข้อมูล"  onClick="window.location='viewdata.php?Id=<?=$rowc1[Id]?>'" />
         </span></strong><strong><span class="page_title">
           <input type="submit" name="button23" id="button23" class="inputlogin" value="แก้ไขข้อมูล"  onClick="window.location='editdata.php?Id=<?=$rowc1[Id]?>'" />
        </span></strong></div></td>
     </tr>
	 <?php } ?>
   </table>
   <?php }else{ ?>
   
   <table width="98%" border="1" align="center" cellpadding="10" cellspacing="0" style="border-collapse:collapse">
     <tr>
       <td width="218" bgcolor="#EFEFEF"><h3 align="center" class="style37">รายการ</h3></td>
       <td width="112" bgcolor="#EFEFEF"><h3 align="center" class="style37">แหล่งเงิน</h3></td>
       <td width="233" bgcolor="#EFEFEF"><h3 align="center" class="style37">ผลการดำเนินการ</h3></td>
       <td width="197" bgcolor="#EFEFEF"><div align="center"><strong>วิธีการจัดซื้อ</strong></div></td>
       <td width="161" bgcolor="#EFEFEF"><div align="center"><strong>งบประมาณหลังปรับโอน</strong></div></td>
       <td width="158" bgcolor="#EFEFEF"><div align="center"><strong>หมายเลขโครงการ EGP</strong></div></td>
       <td width="57" bgcolor="#EFEFEF"><div align="center"><strong>จัดการข้อมูล</strong></div></td>
     </tr>
     <tr>
       <td height="32" colspan="7"><div align="center">
         <p>&nbsp;</p>
         <p><strong>ยังไม่มีข้อมูลกรุณาเพิ่มข้อมูลโดย <span class="style39">กดปุ่มเพิ่มข้อมูล</span> </strong></p>
         <p>&nbsp;</p>
       </div></td>
      </tr>
   </table>
   <?php } ?>
 </blockquote><br />
 <br>
</div>
</body>
</html>

Hacked By AnonymousFox1.0, Coded By AnonymousFox