Hacked By AnonymousFox
<?
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);
$Id=$_GET["Id"];
$sqlc1="select * from fin_data where Id='$Id'";
$queryc1=mysql_query($sqlc1);
$rowc1=mysql_fetch_array($queryc1);
$sqlc2="select * from fin_step where Idfin='$Id'";
$queryc2=mysql_query($sqlc2);
$numc2=mysql_num_rows($queryc2);
$rowc2=mysql_fetch_array($queryc2);
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);
}
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>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;
}
-->
</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;
}
</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>
<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><span class="page_title">
<input type="submit" name="button2" id="button2" class="inputlogin" value="กลับหน้าหลัก" onClick="window.location='home.php'" />
</span><br />
</h3>
</strong>
<form action="saveedit.php" method="post">
<table width="100%" border="1" cellpadding="10" cellspacing="0" style="border-collapse:collapse">
<tr>
<td colspan="2" align="left" bgcolor="EFEFEF"><div align="center">
<h3><strong>ดูข้อมูลรายการจัดซื้อ</strong></h3>
</div></td>
</tr>
<tr>
<td width="454" align="left" bgcolor="EFEFEF"><div align="center"><strong>วงเงินได้ผู้รับจ้าง</strong></div></td>
<td width="736"><?=$rowc1[Moneyco]?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>คาดการณ์เบิกจ่ายงบประมาณ (ครั้งที่ 1)</strong></div></td>
<td align="left">
<?php if($rowc1[Round1]=="1"){ ?>ต.ค. 67-ม.ค.68<?php } ?>
<?php if($rowc1[Round1]=="2"){ ?>ก.พ.68-พ.ค.68<?php } ?>
<?php if($rowc1[Round1]=="3"){ ?>มิ.ย.68-ก.ย.68<?php } ?> </td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>ยอดเงินการเบิกจ่าย (ครั้งที่ 1)</strong></div></td>
<td><?=$rowc1[Money1]?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>คาดการณ์เบิกจ่ายงบประมาณ (ครั้งที่ 2)</strong></div></td>
<td> <?php if($rowc1[Round2]=="1"){ ?>ต.ค. 67-ม.ค.68<?php } ?>
<?php if($rowc1[Round2]=="2"){ ?>ก.พ.68-พ.ค.68<?php } ?>
<?php if($rowc1[Round2]=="3"){ ?>มิ.ย.68-ก.ย.68<?php } ?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>ยอดเงินการเบิกจ่าย (ครั้งที่ 2)</strong></div></td>
<td><?=$rowc1[Money2]?></td>
</tr>
<tr>
<td width="454" align="left" bgcolor="EFEFEF"><div align="center"><strong>คาดการณ์เบิกจ่ายงบประมาณ (ครั้งที่ 3)</strong></div></td>
<td> <?php if($rowc1[Round3]=="1"){ ?>ต.ค. 67-ม.ค.68<?php } ?>
<?php if($rowc1[Round3]=="2"){ ?>ก.พ.68-พ.ค.68<?php } ?>
<?php if($rowc1[Round3]=="3"){ ?>มิ.ย.68-ก.ย.68<?php } ?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>ยอดเงินการเบิกจ่าย (ครั้งที่ 3)</strong></div></td>
<td><?=$rowc1[Money3]?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>หมายเลขโครงการ EGP</strong></div></td>
<td><?=$rowc1[Egp]?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>ชื่อบริษัท</strong></div></td>
<td><?=$rowc1[Namecompany]?></td>
</tr>
<tr>
<td width="454" align="left" bgcolor="EFEFEF"><div align="center"><strong>แหล่งเงิน</strong></div></td>
<td><?
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)"; }
?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>ผลการดำเนินการ</strong></div></td>
<td><?
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"งบรายจ่ายอื่น"; }
?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>งบประมาณ</strong></div></td>
<td><?
if($rowc1[Budget]=="1"){ echo"งบลงทุน"; }
if($rowc1[Budget]=="2"){ echo"งบดำเนินงาน"; }
if($rowc1[Budget]=="3"){ echo"งบรายจ่ายอื่น"; }
?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>งบรายจ่ายอื่น</strong></div></td>
<td> </td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>รายการ</strong></div></td>
<td><?=$rowc1[Record]?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>รายละเอียด</strong></div></td>
<td><?=$rowc1[Detail]?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>วิธีการจัดซื้อ</strong></div></td>
<td><?
if($rowc1[Typebuy]=="1"){ echo"วิธีคัดเลือก"; }
if($rowc1[Typebuy]=="2"){ echo"วิธีเฉพาะเจาะจง"; }
if($rowc1[Typebuy]=="3"){ echo"วิธีประกวดราคาอิเล็กทรอนิกส์ (e-bidding)"; }
?></td>
</tr>
<tr>
<td align="left" bgcolor="EFEFEF"><div align="center"><strong>งบประมาณหลังปรับโอน</strong></div></td>
<td><?=$rowc1[Money]?></td>
</tr>
<tr>
<td colspan="2"><div align="center"><br />
<table width="100%" border="1" align="center" cellpadding="10" cellspacing="0" style="border-collapse:collapse">
<tr height="32">
<td height="32" bgcolor="#EFEFEF"><div align="center"><strong>รายการ</strong></div></td>
<td width="21%" align="left" bgcolor="#EFEFEF"><div align="center"><strong>ขั้นตอนการดำเนินการ</strong></div></td>
<td width="7%" align="left" bgcolor="#EFEFEF"><div align="center"><strong>ครั้งที่</strong></div></td>
<td width="12%" align="left" bgcolor="#EFEFEF"><div align="center"><strong>รายละเอียด</strong></div></td>
<td width="11%" bgcolor="#EFEFEF"><div align="center"><strong>วันที่<br>
คาดการ</strong><strong>ณ์</strong></div></td>
<td width="10%" bgcolor="#EFEFEF"><div align="center"><strong>วันที่<br>
แล้วเสร็จ</strong></div></td>
<td width="14%" bgcolor="#EFEFEF"><div align="center"><strong>หมายเหตุ</strong></div></td>
<td width="13%" bgcolor="#EFEFEF"><div align="center"><strong>วันเวลาที่ปรับปรุง</strong></div></td>
</tr>
<?php
$sqlc2="select * from fin_step where Idfin='$Id'";
$queryc2=mysql_query($sqlc2);
$numc2=mysql_num_rows($queryc2);
if($numc2>0){
while($rowc2=mysql_fetch_array($queryc2)){
?>
<tr height="32">
<td height="32"><div align="center">
<?=$rowc1[Record]?>
</div></td>
<td align="center"><div align="left">
<?
if($rowc2[Step]=="1"){ echo"1. TOR แล้วเสร็จ"; }
if($rowc2[Step]=="2"){ echo"1.1 ประกาศแผนการจัดซ้อจัดจ้าง"; }
if($rowc2[Step]=="3"){ echo"1.2 แต่งตั้งคกก.กำหนดร่างขอบเขตงาน (TOR) และราคากลาง"; }
if($rowc2[Step]=="4"){ echo" 1.3 คกก.กำหนดรายละเอียดและคุณลักษณะครุภัณฑ์"; }
if($rowc2[Step]=="5"){ echo" 1.4 ขอความเห็นชอบร่างขอบเขตงาน (TOR) และราคากลาง"; }
if($rowc2[Step]=="6"){ echo" 1.5 ผลการประกวดร่าง TOR มีผู้วิจารณ์ คกก.ทบทวน TOR ใหม่"; }
if($rowc2[Step]=="7"){ echo" 1.6 รายงานขอซื้อและจัดทำร่างประกาศและร่างเอกสารประกวดราคาประกาศทางเว็บไซต์"; }
if($rowc2[Step]=="8"){ echo"1.7 นำร่าง TOR พร้อมร่างประกาศและร่างเอกสารประกวดราคาประกาศฯทางเว็บไซต์"; }
if($rowc2[Step]=="9"){ echo"1.8 รอผลประกาศร่างขอบเขตของงาน TOR ทางเว็บไซต์"; }
if($rowc2[Step]=="10"){ echo"2. รายงานขอซื้อขอจ้าง"; }
if($rowc2[Step]=="11"){ echo"2.1 รายงานผลการรับฟังความคิดเห็นร่าง TOR"; }
if($rowc2[Step]=="12"){ echo"2.2 จัดทำเอกสารประกาศประกวดราคา"; }
if($rowc2[Step]=="13"){ echo" 3. การจัดหา (กำหนดยื่นข้อเสนอและราคา)"; }
if($rowc2[Step]=="14"){ echo"3.1 จัดทำประกาศประกวดราคาทางเว็บไซต์"; }
if($rowc2[Step]=="15"){ echo" 3.1 จัดทำประกาศประกวดราคาทางเว็บไซต์"; }
if($rowc2[Step]=="16"){ echo" 3.2 รอเปิดซอง"; }
if($rowc2[Step]=="17"){ echo" 3.3 อยู่ระหว่างคกก.พิจารณาผลการเปิดซอง"; }
if($rowc2[Step]=="18"){ echo" 3.4 คกก.รายงานผลการจัดซื้อโดยวิธีประกวดราคา (e-bidding)"; }
if($rowc2[Step]=="19"){ echo"4. อนุมัติจัดซื้อ"; }
if($rowc2[Step]=="20"){ echo" 4.1 อนุมัติจัดซื้อ"; }
if($rowc2[Step]=="21"){ echo" 4.2 อยู่ระหว่างขออนุมัติเงินประจำงวด"; }
if($rowc2[Step]=="22"){ echo" 5. การจัดทำสัญญา"; }
if($rowc2[Step]=="23"){ echo" 5.1 รวบรวมเอกสารส่งตรวจร่างสัญญา"; }
if($rowc2[Step]=="24"){ echo" 5.2 ตรวจร่างสัญญา"; }
if($rowc2[Step]=="25"){ echo" 5.3 อยู่ระหว่างจัดทำสัญญา/ใบสั่งซื้อ"; }
if($rowc2[Step]=="26"){ echo" 5.4 ลงนามสัญญา"; }
if($rowc2[Step]=="27"){ echo" 6. บริหารพัสดุ"; }
if($rowc2[Step]=="28"){ echo" 6.1 รอส่งมอบของ"; }
if($rowc2[Step]=="29"){ echo" 6.2 ส่งมอบของแล้ว อยู่ระหว่าง คกก.ตรวจรับพัสดุ"; }
if($rowc2[Step]=="30"){ echo" 7. การเบิกจ่ายเงิน"; }
if($rowc2[Step]=="31"){ echo" 7.1 รวบรวมเอกสารตั้งฎีกาเบิกจ่ายเงิน"; }
if($rowc2[Step]=="32"){ echo" 7.2 เบิกจ่ายเงินแล้ว"; }
?>
</div></td>
<td align="center"><?=$rowc2[No]?></td>
<td align="center"><?=$rowc2[Detail]?></td>
<td align="center"><?=$rowc2[Date1]?></td>
<td align="center"><?=$rowc2[Date2]?></td>
<td align="center"><?=$rowc2[Comment]?></td>
<td align="center"><?=ShowDateLongTh($rowc2[Datetimesave])?> <?=substr($rowc2[Datetimesave],11,8)?></td>
</tr>
<?php } } ?>
</table>
<br />
</div></td>
</tr>
</table>
</form>
</blockquote><br />
<br>
</div>
</body>
</html>
Hacked By AnonymousFox1.0, Coded By AnonymousFox