Hacked By AnonymousFox

Current Path : C:/AppServ/www/bkup/finan300368/financial/
Upload File :
Current File : C:/AppServ/www/bkup/finan300368/financial/report-group2.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: 'Mitr', 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}
-->
</style>
<link rel="preconnect" href="https://fonts.gstatic.com">
	<link href="https://fonts.googleapis.com/css2?family=Mitr:wght@300&display=swap" rel="stylesheet">
 
	<style type="text/css">
		body{
			font-family: 'Mitr', sans-serif;
		}
	.inputlogin1 {
background:#056839;

			font-family: 'Mitr', 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;
}
.highcharts-figure,
.highcharts-data-table table {
    min-width: 310px;
    max-width: 500px;
    margin: 1em auto;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.highcharts-description {
    margin: 0.3rem 10px;
}

    </style>
</head>
<body>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<script src="https://code.highcharts.com/modules/accessibility.js"></script>
<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>
                                       <div align="center">
                                         <p><br />
                                         </p>
                                         <p><strong><br />
                                         </strong>                                         </p>
                                       </div>
  <blockquote><strong>
    <h3 align="center">รายงานข้อมูลติดตามงบประมาณ อยู่ระหว่างขั้นตอนการจัดซื้อจัดจ้างจนถึงลงนามสัญญา<br />
 </h3>
    </strong>
    <table width="98%" border="1" align="center" cellpadding="10" cellspacing="0" style="border-collapse:collapse">
     <tr>
       <td width="97" bgcolor="#EFEFEF"><h3 align="center" class="style37">ลำดับ</h3></td>
       <td width="234" bgcolor="#EFEFEF"><h3 align="center" class="style37">หน่วยงาน/โรงพยาบาล</h3></td>
       <td width="229" bgcolor="#EFEFEF"><div align="center"><strong>รายการ/โครงการ</strong></div></td>
       <td width="126" bgcolor="#EFEFEF"><div align="center"><strong>จำนวนเงิน (บาท)</strong></div></td>
       <td width="95" bgcolor="#EFEFEF"><div align="center"><strong>จำนวน</strong></div></td>
       <td width="120" bgcolor="#EFEFEF"><div align="center"><strong>ราคาต่อหน่วย</strong></div></td>
       <td width="173" bgcolor="#EFEFEF"><div align="center"><strong>ขั้นตอน</strong></div></td>
      </tr>
<?php	 
	  $sqlc1="select * from fin_data a,fin_step b where a.Id=b.Idfin and (b.Step='11' or b.Step='12'  or b.Step='39'  or b.Step='40'  or b.Step='41'  or b.Step='14' or b.Step='16' or b.Step='17' or b.Step='20' or b.Step='21' or b.Step='23' or b.Step='24' or b.Step='25' or b.Step='26') group by a.Id order by b.Id desc";
 $queryc1=mysql_query($sqlc1);
 $i=1;
while($rowc1=mysql_fetch_array($queryc1)){
?>
     <tr>
       <td height="32"><div align="center">
         <?=$i?>
       </div></td>
       <td align="center"><div align="center">
<?

 $sqlfin="select * from fin_staff where StaffID='$rowc1[Idrefer]'";
 $queryfin=mysql_query($sqlfin);
$rowfin=mysql_fetch_array($queryfin);
		echo $rowfin[StaffFname];

	   ?>  	   
	   </div></td>
       <td ><div align="center">
	   <?=$rowc1[Record]?>  	
	   </div></td>
       <td align="right"><div align="center">
	   <?php
	   //$tmn=$rowc1[Money];
	   //$am=$rowc1[Amount];
	  // if($rowc1[Amount]!=""){ $totale=$tmn/$am*100; }
	   ?>
	   <?=number_format($rowc1[Money],2)?></div></td>
       <td align="right"><div align="center"><?=$rowc1[Amount]?></div></td>
       <td align="right"><div align="center"> 
	   <?php if($rowc1[Amount]!=""){ 
	   $tmn=$rowc1[Money];
	   $am=$rowc1[Amount];
	   $totale=$tmn/$am;
	   ?>
	   <?=number_format($totale,2)?>
       <?php } ?>
       </div></td>
       <td align="right"><div align="center"><?
 if($rowc1[Step]=="2"){ echo"1.1 ประกาศแผนการจัดซื้อจัดจ้าง"; }                         
      if($rowc1[Step]=="3"){ echo"1.2 แต่งตั้ง คกก.กำหนดร่างขอบเขตของงาน (TOR) และราคากลาง"; }                          
      if($rowc1[Step]=="4"){ echo"1.3 คกก.กำหนดกำหนดร่างขอบเขตของงาน (TOR) และราคากลาง"; }                      
      if($rowc1[Step]=="5"){ echo"1.4 ขอความเห็นชอบร่างขอบเขตของงาน (TOR) และราคากลาง"; }                          
     if($rowc1[Step]=="6"){ echo"1.5 ผลการประกาศร่าง TOR ทางเว็บไซด์มีผู้วิจารณ์ และ คกก.ทบทวน TOR ใหม่"; }                            
      if($rowc1[Step]=="7"){ echo"1.6 ยกเลิกการประมูลฯ และ คกก. ทบทวน TOR ใหม่"; }                            
      if($rowc1[Step]=="11"){ echo"2.1 รายงานขอซื้อและจัดทำร่างประกาศและร่างเอกสารประกวดราคา"; }                           
      if($rowc1[Step]=="12"){ echo"2.2 นำร่างประกาศและร่างเอกสารประกวดราคาประกาศทางเว็บไซต์ เพื่อรับฟังความคิดเห็น"; }    
      if($rowc1[Step]=="39"){ echo"2.3 รอผลการนำร่างประกาศและร่างเอกสารประกวดราคาประกาศทางเว็บไซต์"; }     
      if($rowc1[Step]=="40"){ echo"2.4 จัดทำเอกสารประกาศประกวดราคา"; }     
      if($rowc1[Step]=="41"){ echo"2.5 เผยแพร่ประกาศและเอกสารประกวดราคาทางเว็บไซด์"; }                           
      if($rowc1[Step]=="14"){ echo"3.1 กำหนดยื่นข้อเสนอด้านราคา"; }                
      if($rowc1[Step]=="16"){ echo"3.2 คกก.พิจารณาผลการเปิดประมูลฯ"; }                           
      if($rowc1[Step]=="17"){ echo"3.3 คกก.รายงานผลการจัดซื้อโดยวิธีประกวดราคา (e-bidding)"; }                           
      if($rowc1[Step]=="20"){ echo"4.1 อนุมัติจัดซื้อ"; }                            
      if($rowc1[Step]=="21"){ echo"4.2 อยู่ระหว่างขออนุมัติเงินประจำงวด"; }                            
      if($rowc1[Step]=="23"){ echo"5.1 รวบรวมเอกสารส่งตรวจร่างสัญญา"; }                          
      if($rowc1[Step]=="24"){ echo"5.2 ตรวจร่างสัญญา"; }                            
      if($rowc1[Step]=="25"){ echo"5.3 อยู่ระหว่างจัดทำสัญญา/ใบสั่งซื้อ"; }                          
      if($rowc1[Step]=="26"){ echo"5.4 ลงนามสัญญา"; }                          
      if($rowc1[Step]=="28"){ echo"6.1 รอส่งมอบของ"; }                           
      if($rowc1[Step]=="29"){ echo"6.2 ส่งมอบของแล้ว อยู่ระหว่าง คกก.ตรวจรับพัสดุ"; }  
      if($rowc1[Step]=="42"){ echo"6.3 รายงานผลการตรวจรับพัสดุ"; }                              
      if($rowc1[Step]=="31"){ echo"7.1 รวบรวมเอกสารตั้งฎีกาเบิกจ่ายเงิน"; }                           
      if($rowc1[Step]=="32"){ echo"7.2  ตรวจสอบฎีกา"; }    
      if($rowc1[Step]=="43"){ echo"7.3  แก้ไขฎีกา"; }    
      if($rowc1[Step]=="44"){ echo"7.4  เบิกจ่ายเงินแล้ว"; }  
	  if($rowc1[Step]=="15"){ echo" ยกเลิกการเปิดซองประกวดราคาฯ"; } 
	  
		  		 if($rowc1[Step]=="33"){ echo"1. เสนอโครงการและขออนุมัติเงินประจำงวด"; }             
			  if($rowc1[Step]=="34"){ echo"2. ประชาสัมพันธ์เชิญชวนกลุ่มเป้าหมายเข้าร่วมกิจกรรม"; }         
			     if($rowc1[Step]=="35"){ echo"3. จัดซื้อวัสดุเพื่อใช้ในการจัดกิจกรรม"; } 
				  if($rowc1[Step]=="36"){ echo" 4. ดำเนินกิจกรรมตามโครงการ"; }    
				  if($rowc1[Step]=="37"){ echo" 5. อยู่ระหว่างดำเนินการตั้งฎีกาเบิกจ่ายเงิน"; } 
				   if($rowc1[Step]=="38"){ echo" 6. เบิกจ่ายเงินแล้ว"; } 
	   ?>
	    
</div>       </td>
      </tr>
	 <?php $i++; } ?>
   </table>
  </blockquote>
  <br />
 <br>
</div>



</body>
</html>

Hacked By AnonymousFox1.0, Coded By AnonymousFox