Hacked By AnonymousFox
<?
include("lib/config.php");
include("lib/connect.php");
include("lib/session.php");
if($System_Session_User_ID=="") {
echo "<SCRIPT LANGUAGE=\"JavaScript\">window.location = \"admin.php\";alert(\"You must Login first.\");</SCRIPT>";
}
$sql="select * from bhz_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);
}
$Zone=$_GET["Zone"];
if($Zone==""){ $Zone="1"; }
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>:: รายงานผลการดำเนินงานตามแผนกลยุทธ์การขับเคลื่อนเขตสุขภาพกรุงเทพมหานคร (Bangkok Health Zoning) ::</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">
<script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
<style>
.chart--container {
height: 100%;
width: 100%;
min-height: 530px;
}
.zc-ref {
display: none;
}
</style>
</head>
<body class="zc-body">
<div class="pages_container">
<div align="center"><strong><img src="logo.jpg" height="100"><br>
</strong></div>
<br />
<h4 align="right"><span class="page_title">
<input type="submit" name="button" id="button" class="inputlogin" value="ออกจากระบบ" onclick="window.location='system/logout.php'" /></span></h4>
<div align="center">
<h2><span class="page_title">
<input type="submit" name="button2" id="button2" class="inputlogin" value="กลับหน้าหลัก" onclick="window.location='homez8.php'" />
</span><br>
รายงานผลการดำเนินงานรายตัวชี้วัด<br>
ตามแผนกลยุทธ์การขับเคลื่อนเขตสุขภาพกรุงเทพมหานคร (Bangkok Health Zoning)<strong> <br>
นโยบายที่ 1 สอบถาม/รับเรื่อง/ปรึกษาปัญหาสุขภาพ<br>
</strong><strong>ปีงบประมาณ 2567 เดือน ไตรมาส<br>
</strong></h2>
<p align="center"> </p>
<table width="100%" border="1" style="border-bottom:collapse;collapse" cellpadding="10">
<tr>
<td><div align="center"><strong>KR.1.3 เปิดบริการศูนย์สนับสนุนบริการเวชศาสตร์เขตเมือง (Urban Medicine Service Center, UMSC) ครบ 12 โรงพยาบาล </strong></div></td>
<td><div align="center"><strong>KR.1.4 เปิดบริการศูนย์สนับสนุนบริการเวชศาสตร์เขตเมือง (Urban Medicine Service Center, UMSC) ใน ศบส.ครบ 6 แห่ง </strong></div></td>
</tr>
<tr>
<td> <div id="myChart" class="chart--container">
<a class="zc-ref" href="https://www.zingchart.com/">Powered by ZingChart</a>
</div>
<script>
ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
let chartConfig = {
type: 'gauge',
globals: {
fontSize: '25px',
},
plot: {
tooltip: {
borderRadius: '5px',
},
valueBox: {
text: '%v', // default
fontSize: '35px',
placement: 'center',
rules: [{
text: '%v<br>EXCELLENT',
rule: '%v = 11',
},
],
},
size: '100%',
},
plotarea: {
marginTop: '80px',
},
scaleR: {
aperture: 180,
center: {
visible: false,
},
item: {
offsetR: 0,
rules: [{
offsetX: '15px',
rule: '%i == 9',
}, ],
},
labels: ['0','6'],
maxValue: 69,
minValue: 0,
ring: {
rules: [
{
backgroundColor: '#29B6F6',
rule: '%v >= 10',
},
],
size: '50px',
},
},
series: [{
values: [0], // starting value
backgroundColor: 'black',
indicator: [10, 10, 10, 10, 0.75],
}, ],
};
zingchart.render({
id: 'myChart',
data: chartConfig,
height: '100%',
width: '100%',
});
</script></td>
<td> </td>
</tr>
<tr>
<td><div align="center"><br>
เป้าหมาย 12 แห่ง <br>
ปีงบ 2567 = 11 <br>
<br>
</div></td>
<td><div align="center">เป้าหมาย 6 แห่ง <br>
ปีงบ 2567 = 0 แห่ง </div></td>
</tr>
<tr>
<td colspan="2"><div align="center"><strong><br>
KR.1.5 ประชากรเข้าถึงการบริการผ่านศูนย์สนับสนุนบริการเวชศาสตร์เขตเมือง (Urban Medicine Service Center, UMSC) เพิ่มขึ้น</strong></div></td>
</tr>
<tr>
<td colspan="2" align="center"><div id="myChart2" class="chart--container"><a class="zc-ref" href="https://www.zingchart.com/">Powered by ZingChart</a></div>
<script>
ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
let chartConfig2 = {
type: 'bar',
backgroundColor: 'white',
title: {
text: '',
backgroundColor: 'none',
fontColor: 'black',
fontSize: '16px',
fontStyle: 'italic',
},
plot: {
tooltip: {
visible: false,
},
valueBox: {
text: '%v',
fontColor: '#000000',
placement: 'top-in',
},
stacked: true,
},
plotarea: {
margin: '55 20 40 50',
},
scaleX: {
values: ['Zone1', 'Zone2', 'Zone3', 'Zone4', 'Zone5', 'Zone6', 'Zone7'],
guide: {
visible: false,
},
item: {
fontColor: '#616161',
fontSize: '16px',
},
lineColor: '#616161',
tick: {
lineColor: '#616161',
},
},
scaleY: {
guide: {
visible: false,
},
item: {
fontColor: '#616161',
fontSize: '12px',
},
lineColor: '#616161',
minValue: '0px',
step: 200,
thousandsSeparator: ',',
tick: {
lineColor: '#616161',
},
},
series: [{
values: [84246, 0,7399,14788,8061,0,2887],
backgroundColor: '#E1CEE6',
},
{
values: [36303, 12080,24246,5737,12455,0,14006],
backgroundColor: '#FEE6D6',
},
],
};
zingchart.node_click = (p) => {
let fieldVal = parseFloat(document.getElementById('newVal').value);
if (!isNaN(fieldVal)) {
let newNewVal =
parseFloat(document.getElementById('newVal').value) + p.value;
zingchart.exec('zc', 'setnodevalue', {
plotindex: p.plotindex,
nodeindex: p.nodeindex,
value: newNewVal,
});
}
};
zingchart.bind('zc', 'complete', (info) => {
// remove old lines (if any)
zingchart.exec(info.id, 'removeobject', {
type: 'shape',
cls: 'nodelink',
});
let iPlots = zingchart.exec(info.id, 'getplotlength');
// let's assume all plots have same number of nodes
let iNodes = zingchart.exec(info.id, 'getnodelength', {
plotindex: 0,
});
let aLines = [];
for (let n = 0; n < iNodes - 1; n++) {
for (let p = 0; p < iPlots; p++) {
let oNode1 = zingchart.exec(info.id, 'getobjectinfo', {
object: 'node',
plotindex: p,
nodeindex: n,
});
let oNode2 = zingchart.exec(info.id, 'getobjectinfo', {
object: 'node',
plotindex: p,
nodeindex: n + 1,
});
aLines.push({
type: 'line',
cls: 'nodelink',
lineWidth: '2px',
lineColor: '#212121',
points: [
[oNode1.x + oNode1.width / 2, oNode1.y],
[oNode2.x - oNode2.width / 2, oNode2.y],
],
});
}
}
zingchart.exec(info.id, 'addobject', {
type: 'shape',
data: aLines,
});
});
zingchart.render({
id: 'myChart2',
data: chartConfig2,
height: '100%',
width: '100%',
});
</script></td>
</tr>
<tr>
<td colspan="2"><div align="center"><br>
เป้าหมายเพิ่มขึ้น 15,000 ราย <br>
ปีงบ 2567 เพิ่มขึน 104,827 ราย <br>
<br>
</div></td>
</tr>
</table>
<p align="center"><strong> <br>
</strong></p>
<p><br>
<br>
</p>
</div>
</body>
</html>
Hacked By AnonymousFox1.0, Coded By AnonymousFox