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>";
}
?>
<!DOCTYPE HTML>
<html>
<head>
<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>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>:: รายงานผลติดตามงบประมาณรายจ่ายประจำปีงบประมาณ พ.ศ. 2568 ::</title>
<style type="text/css">
#container {
height: 400px;
}
.highcharts-figure,
.highcharts-data-table table {
min-width: 310px;
max-width: 800px;
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;
}
.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;
}
.style1 {font-weight: bold}
.style2 {font-weight: bold}
.style3 {font-weight: bold}
</style>
<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>
</head>
<body>
<table width="100%" border="0">
<tr>
<td><div align="center">
<h2><strong><img src="logo.jpg" height="100"></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>
<h2>
<div align="center"><span class="page_title">
<input type="submit" name="button2" id="button2" class="inputlogin" value="กลับหน้าหลัก" onClick="window.location='home.php'" />
</span>
</div>
<div align="center">
<strong> ติดตามงบประมาณรายจ่ายประจำปีงบประมาณ พ.ศ. 2568<br>
ค่าครุภัณฑ์ที่ดินและสิ่งก่อสร้าง (ค่าครุภัณฑ์)</strong><br>
<br>
อัพเดทข้อมูลล่าสุด :
<?php
echo "<meta charset='utf-8'>";
function ThDate()
{
//วันภาษาไทย
//$ThDay = array ( "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์" );
//เดือนภาษาไทย
$ThMonth = array ( "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน","พฤษภาคม", "มิถุนายน", "กรกฏาคม", "สิงหาคม","กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม" );
//กำหนดคุณสมบัติ
$week = date( "w" ); // ค่าวันในสัปดาห์ (0-6)
$months = date( "m" )-1; // ค่าเดือน (1-12)
$day = date( "d" ); // ค่าวันที่(1-31)
$years = date( "Y" )+543; // ค่า ค.ศ.บวก 543 ทำให้เป็น ค.ศ.
return "วันที่ $day
เดือน $ThMonth[$months]
พ.ศ. $years";
}
echo ThDate(); // แสดงวันที่
?> เวลา
<?php
//date_default_timezone_set("asia/bangkok");
$date = date('h:i:s');
echo $date;
?><br>
</div>
<?
///////แดง
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and a.Idrefer='$System_Session_User_ID' and b.Step<8 and b.Id>30 order by b.Id desc";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
///////ส้ม
$sql_level2="select * from fin_data a,fin_step b where a.Id=b.Idfin and a.Idrefer='$System_Session_User_ID' 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') and b.Id>30 order by b.Id desc";
$query_level2=mysql_query($sql_level2);
$num_level2=mysql_num_rows($query_level2);
///////เหลือง
$sql_level3="select * from fin_data a,fin_step b where a.Id=b.Idfin and a.Idrefer='$System_Session_User_ID' and (b.Step='28' or b.Step='29' or b.Step='42') and b.Id>30 order by b.Id desc";
$query_level3=mysql_query($sql_level3);
$num_level3=mysql_num_rows($query_level3);
///////เขียว
$sql_level4="select * from fin_data a,fin_step b where a.Id=b.Idfin and a.Idrefer='$System_Session_User_ID' and (b.Step='31' or b.Step='32' or b.Step='43' or b.Step='44') and b.Id>30 order by b.Id desc";
$query_level4=mysql_query($sql_level4);
$num_level4=mysql_num_rows($query_level4);
$total=$num_level1+$num_level2+$num_level3+$num_level4;
$a1=($num_level1/$total)*100;
$a2=($num_level2/$total)*100;
$a3=($num_level3/$total)*100;
$a4=($num_level4/$total)*100;
$showa1=number_format($a1,2);
$showa2=number_format($a2,2);
$showa3=number_format($a3,2);
$showa4=number_format($a4,2);
?>
<script src="stacked/code/highcharts.js"></script>
<script src="stacked/code/modules/exporting.js"></script>
<script src="stacked/code/modules/export-data.js"></script>
<script src="stacked/code/modules/accessibility.js"></script>
<table width="100%" border="0">
<tr>
<td width="50%" valign="top">
<figure class="highcharts-figure">
<div id="container2"></div>
<p class="highcharts-description"> </p>
</figure>
<script type="text/javascript">
Highcharts.chart('container2', {
chart: {
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false,
type: 'pie'
},
title: {
text: ''
},
tooltip: {
pointFormat: '{series.name}: <b>{point.percentage:.2f}%</b>'
},
accessibility: {
point: {
valueSuffix: '%'
}
},
plotOptions: {
series: {
allowPointSelect: true,
cursor: 'pointer',
dataLabels: [{
enabled: true,
distance: 20
},
{
enabled: true,
distance: -40,
format: '{point.percentage:.2f}%',
style: {
fontSize: '1.2em',
textOutline: 'none',
opacity: 0.7
},
filter: {
operator: '>',
property: 'percentage',
value: 10
}
}], showInLegend: true
}
},
series: [
{
name: 'Percentage',
colorByPoint: true,
data: [
{
name: 'อยู่ระหว่างขั้นตอนการจัดซื้อจัดจ้างจนถึงลงนามสัญญา',
color: '#F09B6F',
sliced: true,
selected: true,
y: <?=$showa2?>
},
{
name: 'อยู่ระหว่างขั้นตอนการทำ TOR',
color: '#B0504C',
sliced: true,
selected: true,
y: <?=$showa1?>
},
{
name: 'อยู่ระหว่างขั้นตอนการบริหารสัญญา',
color: '#FAE35C',
sliced: true,
selected: true,
y: <?=$showa3?>
},
{
name: 'อยู่ระหว่างขั้นตอนการเบิกจ่าย',
color: '#9AB85C',
sliced: true,
selected: true,
y: <?=$showa4?>
}
]
}
]
});
</script></td>
<td width="50%">
<?
///////แดง
$sql_levela1="select * from fin_data a,fin_step b where a.Id=b.Idfin and b.Step<8 and b.Id>51 and b.Idstaff='$System_Session_User_ID'";
$query_levela1=mysql_query($sql_levela1);
$num_levela1=mysql_num_rows($query_levela1);
///////ส้ม
$sql_levela2="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') and b.Id>51 and b.Idstaff='$System_Session_User_ID'";
$query_levela2=mysql_query($sql_levela2);
$num_levela2=mysql_num_rows($query_levela2);
///////เหลือง
$sql_levela3="select * from fin_data a,fin_step b where a.Id=b.Idfin and (b.Step='28' or b.Step='29' or b.Step='42') and b.Id>51 and b.Idstaff='$System_Session_User_ID'";
$query_levela3=mysql_query($sql_levela3);
$num_levela3=mysql_num_rows($query_levela3);
///////เขียว
$sql_levela4="select * from fin_data a,fin_step b where a.Id=b.Idfin and (b.Step='31' or b.Step='32' or b.Step='43' or b.Step='44') and b.Id>51 and b.Idstaff='$System_Session_User_ID'";
$query_levela4=mysql_query($sql_levela4);
$num_levela4=mysql_num_rows($query_levela4);
?>
<div id="container"></div>
<p class="highcharts-description"> </p>
</figure>
<script type="text/javascript">
Highcharts.chart('container', {
chart: {
type: 'column'
},
title: {
text: 'จำนวนรายการ/โครงการ'
},
subtitle: {
text: ''
},
xAxis: {
categories: ['<?=$System_Session_FullName?>']
},
yAxis: {
min: 0,
title: {
text: 'Percent'
},
stackLabels: {
enabled: true
},
labels: {
overflow: 'justify'
},
},
tooltip: {
pointFormat: '<span style="color:{series.color}">{series.name}</span>' +
': <b>{point.y}</b> ({point.percentage:.0f}%)<br/>',
shared: true
},
plotOptions: {
column: {
stacking: 'percent',
dataLabels: {
enabled: true
}
}
},
series: [{
name: 'อยู่ระหว่างขั้นตอนการเบิกจ่าย',
color: '#9AB85C',
data: [<?=$num_levela4?>]
}, {
name: 'อยู่ระหว่างขั้นตอนการบริหารสัญญา',
color: '#FAE35C',
data: [<?=$num_levela3?>]
},{
name: 'อยู่ระหว่างขั้นตอนการจัดซื้อจัดจ้างจนถึงลงนามสัญญา',
color: '#F09B6F',
data: [<?=$num_levela2?>]
}, {
name: 'อยู่ระหว่างขั้นตอนการทำ TOR',
color: '#B0504C',
data: [<?=$num_levela1?>]
} ]
});
</script></td>
</tr>
<tr>
<td colspan="2">
<h4>
<div align="center">รวมจำนวน <?=$total?> รายการ/โครงการ<br>
รวมงบประมาณ
<?
$sqlc1="select sum(Money) from fin_data where Idrefer='$System_Session_User_ID' order by Id asc";
$queryc1=mysql_query($sqlc1);
$rowc1=mysql_fetch_array($queryc1);
?>
<?=number_format($rowc1[0],2)?>
</div>
</h4> </td>
</tr>
</table>
<hr>
<h2>
<div align="center">
จำนวนรายการ/โครงการงบประมาณรายจ่ายประจำปีงบประมาณ พ.ศ. 2568 จำแนกตามขั้นตอนการจัดซื้อจัดจ้าง <br>
ค่าครุภัณฑ์ที่ดินและสิ่งก่อสร้าง (ค่าครุภัณฑ์)</div></h2>
<div id="container3" style="width:100%; height:1000px"></div>
<script type="text/javascript">
Highcharts.chart('container3', {
chart: {
type: 'bar'
},
title: {
text: ''
},
subtitle: {
text: ''
},
xAxis: {
categories: ['1.1 ประกาศแผนการจัดซื้อจัดจ้าง',
'1.2 แต่งตั้ง คกก.กำหนดร่างขอบเขตของงาน (TOR) และราคากลาง',
'1.3 คกก.กำหนดกำหนดร่างขอบเขตของงาน (TOR) และราคากลาง',
'1.4 ขอความเห็นชอบร่างขอบเขตของงาน (TOR) และราคากลาง',
'1.5 ผลการประกาศร่าง TOR ทางเว็บไซด์มีผู้วิจารณ์ และ คกก.ทบทวน TOR ใหม่',
'1.6 ยกเลิกการประมูลฯ และ คกก. ทบทวน TOR ใหม่',
'2.1 รายงานขอซื้อและจัดทำร่างประกาศและร่างเอกสารประกวดราคา',
'2.2 นำร่างประกาศและร่างเอกสารประกวดราคาประกาศทางเว็บไซต์ เพื่อรับฟังความคิดเห็น',
'2.3 รอผลการนำร่างประกาศและร่างเอกสารประกวดราคาประกาศทางเว็บไซต์',
'2.4 จัดทำเอกสารประกาศประกวดราคา',
'2.5 เผยแพร่ประกาศและเอกสารประกวดราคาทางเว็บไซด์',
'3.1 กำหนดยื่นข้อเสนอด้านราคา',
'3.2 คกก.พิจารณาผลการเปิดประมูลฯ',
'3.3 คกก.รายงานผลการจัดซื้อโดยวิธีประกวดราคา (e-bidding)',
'4.1 อนุมัติจัดซื้อ',
'4.2 อยู่ระหว่างขออนุมัติเงินประจำงวด',
'5.1 รวบรวมเอกสารส่งตรวจร่างสัญญา',
'5.2 ตรวจร่างสัญญา',
'5.3 อยู่ระหว่างจัดทำสัญญา/ใบสั่งซื้อ',
'5.4 ลงนามสัญญา',
'6.1 รอส่งมอบของ',
'6.2 ส่งมอบของแล้ว อยู่ระหว่าง คกก.ตรวจรับพัสดุ',
'6.3 รายงานผลการตรวจรับพัสดุ',
'7.1 รวบรวมเอกสารตั้งฎีกาเบิกจ่ายเงิน',
'7.2 ตรวจสอบฎีกา',
'7.3 แก้ไขฎีกา',
'7.4 เบิกจ่ายเงินแล้ว',
<?
$sqlc2="select * from fin_step where Step='2' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc2=mysql_query($sqlc2);
$numc2=mysql_num_rows($queryc2);
$sqlc3="select * from fin_step where Step='3' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc3=mysql_query($sqlc3);
$numc3=mysql_num_rows($queryc3);
$sqlc4="select * from fin_step where Step='4' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc4=mysql_query($sqlc4);
$numc4=mysql_num_rows($queryc4);
$sqlc5="select * from fin_step where Step='5' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc5=mysql_query($sqlc5);
$numc5=mysql_num_rows($queryc5);
$sqlc7="select * from fin_step where Step='6' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc7=mysql_query($sqlc7);
$numc7=mysql_num_rows($queryc7);
$sqlc8="select * from fin_step where Step='7' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc8=mysql_query($sqlc8);
$numc8=mysql_num_rows($queryc8);
$sqlc11="select * from fin_step where Step='11' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc11=mysql_query($sqlc11);
$numc11=mysql_num_rows($queryc11);
$sqlc14="select * from fin_step where Step='12' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc14=mysql_query($sqlc14);
$numc14=mysql_num_rows($queryc14);
$sqlc16="select * from fin_step where Step='39' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc16=mysql_query($sqlc16);
$numc16=mysql_num_rows($queryc16);
$sqlc32="select * from fin_step where Step='40' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc32=mysql_query($sqlc32);
$numc32=mysql_num_rows($queryc32);
$sqlc17="select * from fin_step where Step='41' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc17=mysql_query($sqlc17);
$numc17=mysql_num_rows($queryc17);
$sqlc20="select * from fin_step where Step='14' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc20=mysql_query($sqlc20);
$numc20=mysql_num_rows($queryc20);
$sqlc21="select * from fin_step where Step='16' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc21=mysql_query($sqlc21);
$numc21=mysql_num_rows($queryc21);
$sqlc23="select * from fin_step where Step='17' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc23=mysql_query($sqlc23);
$numc23=mysql_num_rows($queryc23);
$sqlc24="select * from fin_step where Step='20' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc24=mysql_query($sqlc24);
$numc24=mysql_num_rows($queryc24);
$sqlc25="select * from fin_step where Step='21' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc25=mysql_query($sqlc25);
$numnew26=mysql_num_rows($queryc25);
$sqlc28="select * from fin_step where Step='23' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc28=mysql_query($sqlc28);
$numnew27=mysql_num_rows($queryc28);
$sqlc31="select * from fin_step where Step='24' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc31=mysql_query($sqlc31);
$numnew28=mysql_num_rows($queryc31);
$sqlc25="select * from fin_step where Step='25' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc25=mysql_query($sqlc25);
$numnew29=mysql_num_rows($queryc25);
$sqlc26="select * from fin_step where Step='26' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc26=mysql_query($sqlc26);
$numnew30=mysql_num_rows($queryc26);
$sqlc28="select * from fin_step where Step='28' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc28=mysql_query($sqlc28);
$numnew31=mysql_num_rows($queryc28);
$sqlc29="select * from fin_step where Step='29' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc29=mysql_query($sqlc29);
$numnew32=mysql_num_rows($queryc29);
$sqlc42="select * from fin_step where Step='42' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc42=mysql_query($sqlc42);
$numnew33=mysql_num_rows($queryc42);
$sqlc31="select * from fin_step where Step='31' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc31=mysql_query($sqlc31);
$numnew34=mysql_num_rows($queryc31);
$sqlc32="select * from fin_step where Step='32' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc32=mysql_query($sqlc32);
$numnew35=mysql_num_rows($queryc32);
$sqlc43="select * from fin_step where Step='43' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc43=mysql_query($sqlc43);
$numnew36=mysql_num_rows($queryc43);
$sqlc44="select * from fin_step where Step='44' and Idstaff='$System_Session_User_ID' and Idfin>32";
$queryc44=mysql_query($sqlc44);
$numnew37=mysql_num_rows($queryc44);
?>
],
title: {
text: null
},
gridLineWidth: 0,
lineWidth: 0
},
yAxis: {
min: 0,
title: {
text: 'จำนวนรายการ/โครงการ',
align: 'high'
},
labels: {
overflow: 'justify'
}
},
plotOptions: {
bar: {
dataLabels: {
enabled: true
},
}
},
credits: {
enabled: false
},
series: [{
name: '',
colors: [
'#B0504C', '#B0504C', '#B0504C', '#B0504C', '#B0504C', '#B0504C', '#F09B6F', '#F09B6F',
'#F09B6F', '#F09B6F', '#F09B6F', '#F09B6F', '#F09B6F', '#F09B6F', '#F09B6F',
'#F09B6F', '#F09B6F', '#F09B6F', '#F09B6F', '#F09B6F', '#FAE35C', '#FAE35C', '#FAE35C', '#9AB85C', '#9AB85C', '#9AB85C', '#9AB85C'
],
colorByPoint: true,
data: [<?=$numc2?>,<?=$numc3?>,<?=$numc4?>,<?=$numc5?>,<?=$numc7?>,<?=$numc8?>,<?=$numc11?>,<?=$numc14?>,<?=$numc16?>,<?=$numc32?>,<?=$numc17?>,<?=$numc20?>,<?=$numc21?>,<?=$numc23?>,<?=$numc24?>,<?=$numnew26?>,<?=$numnew27?>,<?=$numnew28?>,<?=$numnew29?>,<?=$numnew30?>,<?=$numnew31?>,<?=$numnew32?>,<?=$numnew33?>,<?=$numnew34?>,<?=$numnew35?>,<?=$numnew36?>,<?=$numnew37?>]
}]
});
</script>
<hr>
<h2 align="center">
<strong>งบประมาณรายจ่ายประจำปีงบประมาณ พ.ศ. 2568 จำแนกตามประเภทการจัดซื้อจัดจ้าง<br>
ค่าครุภัณฑ์ที่ดินและสิ่งก่อสร้าง (ค่าครุภัณฑ์)</strong></h2>
<table width="100%" border="0">
<tr>
<td valign="top"><table width="100%" border="1" align="left" style="border-collapse:collapse" cellpadding="10">
<tr>
<td colspan="2"><div align="center"><strong>E-bidding</strong>
</div></td>
<td colspan="2"><div align="center"><strong>เจาะจง</strong>
</div></td>
<td colspan="2"><div align="center"><strong>รวม</strong></div></td>
</tr>
<tr>
<td><div align="center"><strong>จำนวน</strong><br>
<strong>รายการ/โครงการ</strong><br>
<br>
</div></td>
<td><div align="center"><strong>จำนวนเงิน</strong><br>
<br>
</div></td>
<td><div align="center"><strong>จำนวน</strong><br>
<strong>รายการ/โครงการ</strong><br>
<br>
</div></td>
<td><div align="center"><strong>จำนวนเงิน</strong><br>
<br>
</div></td>
<td><div align="center"><strong>จำนวน</strong><br>
<strong>รายการ/โครงการ</strong><br>
<br>
</div></td>
<td><div align="center"><strong>จำนวนเงิน</strong><br>
<br>
</div></td>
</tr>
<tr>
<td><div align="center">
<?
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and a.Typebuy='3' and b.Idstaff='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
?>
<?=$num_level1?>
</div></td>
<td><div align="center">
<div align="right">
<?
$sql_level1="select sum(Money) from fin_data a,fin_step b where a.Id=b.Idfin and a.Typebuy='3' and b.Idstaff='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_fetch_array($query_level1);
?>
<? if($num_level1[0]!=0){?>
<?=number_format($num_level1[0],0)?>
<? } ?>
</div>
</div></td>
<td><div align="center">
<?
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and a.Typebuy='2' and b.Idstaff='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
?>
<? if($num_level1!=0){?>
<?=$num_level1?>
<? } ?>
</div></td>
<td><div align="center">
<div align="right">
<?
$sql_level1="select sum(Money) from fin_data a,fin_step b where a.Id=b.Idfin and a.Typebuy='2' and b.Idstaff='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_fetch_array($query_level1);
?>
<? if($num_level1[0]!=0){?>
<?=number_format($num_level1[0],0)?>
<? } ?>
</div>
</div></td>
<td><div align="center">
<?
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and b.Idstaff='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
?>
<?=$num_level1?>
</div></td>
<td><div align="center">
<div align="right">
<?
$sql_level1="select sum(Money) from fin_data a,fin_step b where a.Id=b.Idfin and b.Idstaff='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_fetch_array($query_level1);
?>
<? if($num_level1[0]!=0){?>
<?=number_format($num_level1[0],0)?>
<? } ?>
</div>
</div></td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="1" style="border-collapse:collapse" cellpadding="10">
<tr>
<td rowspan="2"><div align="center"><strong>ขั้นตอน</strong><br>
<br>
<br>
</div></td>
<td colspan="2"><div align="center"><strong>E-bidding</strong>
</div></td>
<td colspan="2"><div align="center"><strong>เจาะจง</strong>
</div></td>
</tr>
<tr>
<td><div align="center"><strong>จำนวน</strong><br>
<strong>รายการ/โครงการ</strong>
</div></td>
<td><div align="center"><strong>จำนวนเงิน</strong>
</div></td>
<td><div align="center"><strong>จำนวน</strong><br>
<strong>รายการ/โครงการ</strong>
</div></td>
<td><div align="center"><strong>จำนวนเงิน</strong>
</div></td>
</tr>
<?php
$sqln="select * from namestep order by Id asc";
$queryn=mysql_query($sqln);
while($rown=mysql_fetch_array($queryn)){
?>
<tr <? if($rown[No]=="39"||$rown[No]=="40"||$rown[No]=="41"||$rown[No]=="9"||$rown[No]=="11"||$rown[No]=="12"||$rown[No]=="13"||$rown[No]=="14"||$rown[No]=="15"||$rown[No]=="16"||$rown[No]=="17"||$rown[No]=="18"||$rown[No]=="19"||$rown[No]=="20"||$rown[No]=="21"||$rown[No]=="22"||$rown[No]=="23"||$rown[No]=="24"||$rown[No]=="25"||$rown[No]=="26"){?>bgcolor="#f9cca6"<? } if($rown[No]=="1"||$rown[No]=="2"||$rown[No]=="3"||$rown[No]=="4"||$rown[No]=="5"||$rown[No]=="6"||$rown[No]=="7"){?>bgcolor="#daa6a4"<? } if($rown[No]=="28"||$rown[No]=="29"||$rown[No]=="42"){?>bgcolor="#fcf1ad"
<? } if($rown[No]=="31"||$rown[No]=="32"||$rown[No]=="43"||$rown[No]=="44"){?>bgcolor="#ccdbad"<? } ?>> <td><?=$rown[Name]?></td>
<td><div align="center">
<?
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and b.Step='$rown[No]' and a.Typebuy='3' and a.Idrefer='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
?>
<? if($num_level1!=0){?>
<?=$num_level1?><? } ?>
</div></td>
<td><div align="center">
<?
$sql_level1="select sum(Money) from fin_data a,fin_step b where a.Id=b.Idfin and b.Step='$rown[No]' and a.Typebuy='3' and a.Idrefer='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_fetch_array($query_level1);
?>
<? if($num_level1[0]!=0){?> <?=number_format($num_level1[0],0)?><?php } ?>
</div></td>
<td><div align="center">
<?
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and b.Step='$rown[No]' and a.Idrefer='$System_Session_User_ID' and a.Typebuy='2' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
?>
<? if($num_level1!=0){?>
<?=$num_level1?>
<? } ?>
</div></td>
<td><div align="center">
<?
$sql_level1="select sum(Money) from fin_data a,fin_step b where a.Id=b.Idfin and b.Step='$rown[No]' and a.Idrefer='$System_Session_User_ID' and a.Typebuy='2' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_fetch_array($query_level1);
?>
<? if($num_level1[0]!=0){?>
<?=number_format($num_level1[0],0)?>
<?php } ?>
</div></td>
</tr> <? } ?>
<tr>
<td><div align="center"><strong>รวม</strong></div></td>
<td><div align="center"> <strong> <?
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and a.Typebuy='3' and a.Idrefer='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
?>
<?=$num_level1?>
</strong></div></td>
<td><div align="center">
<strong> <?
$sql_level1="select sum(Money) from fin_data a,fin_step b where a.Id=b.Idfin and a.Typebuy='3' and a.Idrefer='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_fetch_array($query_level1);
?>
<?=number_format($num_level1[0],0)?></strong>
</div></td>
<td><div align="center"> <strong>
<?
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and a.Typebuy='2' and a.Idrefer='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
?>
<?=$num_level1?>
</strong></div></td>
<td><div align="center"> <strong>
<?
$sql_level1="select sum(Money) from fin_data a,fin_step b where a.Id=b.Idfin and a.Typebuy='2' and a.Idrefer='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_fetch_array($query_level1);
?>
<?=number_format($num_level1[0],0)?>
</strong> </div></td>
</tr>
</table></td>
</tr>
</table>
<hr>
<h2 align="center"><strong>จำนวนรายการ/โครงการงบประมาณรายจ่ายประจำปีงบประมาณ พ.ศ. 2568 <br>
จำแนกตามขั้นตอนการจัดซื้อจัดจ้าง แยกรายหน่วยงาน <br>
ค่าครุภัณฑ์ที่ดินและสิ่งก่อสร้าง (ค่าครุภัณฑ์)</strong></h2>
<table width="100%" border="1" cellpadding="10" align="left" style="border-collapse:collapse">
<tr>
<td width="37%"><div align="center"><strong>ขั้นตอน</strong><br>
<br>
</div></td>
<td width="63%"><div align="center"><strong>
<?=$System_Session_FullName?>
</strong></div></td>
</tr>
<?php
$sqln="select * from namestep order by Id asc";
$queryn=mysql_query($sqln);
while($rown=mysql_fetch_array($queryn)){
?>
<tr <? if($rown[No]=="39"||$rown[No]=="40"||$rown[No]=="41"||$rown[No]=="9"||$rown[No]=="11"||$rown[No]=="12"||$rown[No]=="13"||$rown[No]=="14"||$rown[No]=="15"||$rown[No]=="16"||$rown[No]=="17"||$rown[No]=="18"||$rown[No]=="19"||$rown[No]=="20"||$rown[No]=="21"||$rown[No]=="22"||$rown[No]=="23"||$rown[No]=="24"||$rown[No]=="25"||$rown[No]=="26"){?>bgcolor="#f9cca6"<? } if($rown[No]=="1"||$rown[No]=="2"||$rown[No]=="3"||$rown[No]=="4"||$rown[No]=="5"||$rown[No]=="6"||$rown[No]=="7"){?>bgcolor="#daa6a4"<? } if($rown[No]=="28"||$rown[No]=="29"||$rown[No]=="42"){?>bgcolor="#fcf1ad"
<? } if($rown[No]=="31"||$rown[No]=="32"||$rown[No]=="43"||$rown[No]=="44"){?>bgcolor="#ccdbad"<? } ?>>
<td><?=$rown[Name]?></td>
<td><div align="center">
<?
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and b.Step='$rown[No]' and b.Idstaff='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
?>
<?=$num_level1?>
</div></td>
</tr>
<? } ?>
<tr>
<td><div align="center"><strong>รวม</strong></div></td>
<td><div align="center"><strong>
<?
$sql_level1="select * from fin_data a,fin_step b where a.Id=b.Idfin and b.Idstaff='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_num_rows($query_level1);
?>
<?=$num_level1?>
</strong></div></td>
</tr>
</table>
<p align="center"> </p>
<hr>
<h2 align="center"><strong>จำนวนรายการ/โครงการงบประมาณรายจ่ายประจำปีงบประมาณ พ.ศ. 2568 <br>
จำแนกตามขั้นตอนการจัดซื้อจัดจ้าง แยกรายหน่วยงาน <br>
ค่าครุภัณฑ์ที่ดินและสิ่งก่อสร้าง (ค่าครุภัณฑ์)</strong></h2>
<table width="100%" border="1" cellpadding="10" align="left" style="border-collapse:collapse">
<tr>
<td width="37%"><div align="center"><strong>ขั้นตอน</strong><br>
<br>
</div></td>
<td width="63%"><div align="center"><strong>
<?=$System_Session_FullName?>
</strong></div></td>
</tr>
<?php
$sqln="select * from namestep order by Id asc";
$queryn=mysql_query($sqln);
while($rown=mysql_fetch_array($queryn)){
?>
<tr <? if($rown[No]=="39"||$rown[No]=="40"||$rown[No]=="41"||$rown[No]=="9"||$rown[No]=="11"||$rown[No]=="12"||$rown[No]=="13"||$rown[No]=="14"||$rown[No]=="15"||$rown[No]=="16"||$rown[No]=="17"||$rown[No]=="18"||$rown[No]=="19"||$rown[No]=="20"||$rown[No]=="21"||$rown[No]=="22"||$rown[No]=="23"||$rown[No]=="24"||$rown[No]=="25"||$rown[No]=="26"){?>bgcolor="#f9cca6"<? } if($rown[No]=="1"||$rown[No]=="2"||$rown[No]=="3"||$rown[No]=="4"||$rown[No]=="5"||$rown[No]=="6"||$rown[No]=="7"){?>bgcolor="#daa6a4"<? } if($rown[No]=="28"||$rown[No]=="29"||$rown[No]=="42"){?>bgcolor="#fcf1ad"
<? } if($rown[No]=="31"||$rown[No]=="32"||$rown[No]=="43"||$rown[No]=="44"){?>bgcolor="#ccdbad"<? } ?>>
<td><?=$rown[Name]?></td>
<td>
<div align="right">
<?
$sql_level1="select sum(Money) from fin_data a,fin_step b where a.Id=b.Idfin and b.Step='$rown[No]' and a.Idrefer='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_fetch_array($query_level1);
?>
<? if($num_level1[0]!=0){?>
<?=number_format($num_level1[0],0)?>
<? } ?> </div></td>
</tr>
<tr>
<? } ?>
<td><div align="center"><strong>รวม</strong></div></td>
<td><div align="right"><strong>
<?
$sql_level1="select sum(Money) from fin_data a,fin_step b where a.Id=b.Idfin and a.Idrefer='$System_Session_User_ID' and b.Id>30";
$query_level1=mysql_query($sql_level1);
$num_level1=mysql_fetch_array($query_level1);
?>
<? if($num_level1[0]!=0){?>
<?=number_format($num_level1[0],0)?>
<? } ?> </strong></div></td>
</tr>
</table>
<p align="center"> </p>
</body>
</html>
Hacked By AnonymousFox1.0, Coded By AnonymousFox