Hacked By AnonymousFox

Current Path : C:/AppServ/www/bhz/edit160368/
Upload File :
Current File : C:/AppServ/www/bhz/edit160368/report42.php

<?php 
include("lib/config.php");
include("lib/connect.php");
include("lib/session.php");
$Id=$_GET["Id"];
$Month=$_GET["Month"];
$action=$_GET["action"];
$Yearsend=$_GET["Yearsend"];
$Zone=$_GET["Zone"];

if($System_Session_User_ID=="") {
echo "<SCRIPT LANGUAGE=\"JavaScript\">window.location = \"index.php\";alert(\"You must Login first.\");</SCRIPT>";
 } 

$sql="select * from hospital where Id='$Id'";
$query=mysql_query($sql);
$row=mysql_fetch_array($query);

$sql1="select * from namesave2 where Idrefer='$Id' and Monthi='$Month' and Zone='$Zone' order by Id desc";
$query1=mysql_query($sql1);
$row1=mysql_fetch_array($query1);

$sql81="select * from typesave2 where Idsend='$Id' and Monthi='$Month' and Category='8' and Orderi='1' and Yearsend='$Yearsend' and Zone='$Zone'  order by Id desc";
$query81=mysql_query($sql81);
$row81=mysql_fetch_array($query81);

$sql81="select * from typesave2 where Idsend='$Id' and Monthi='$Month' and Category='8' and Orderi='1' and Yearsend='$Yearsend' and Zone='$Zone'  order by Id desc";
$query81=mysql_query($sql81);
$row81=mysql_fetch_array($query81);

$sql82="select * from typesave2 where Idsend='$Id' and Monthi='$Month' and Category='8' and Orderi='2' and Yearsend='$Yearsend' and Zone='$Zone'  order by Id desc";
$query82=mysql_query($sql82);
$row82=mysql_fetch_array($query82);

$sql83="select * from typesave2 where Idsend='$Id' and Monthi='$Month' and Category='8' and Orderi='3' and Yearsend='$Yearsend' and Zone='$Zone'  order by Id desc";
$query83=mysql_query($sql83);
$row83=mysql_fetch_array($query83);

$sql84="select * from typesave2 where Idsend='$Id' and Monthi='$Month' and Category='8' and Orderi='4' and Yearsend='$Yearsend' and Zone='$Zone'  order by Id desc";
$query84=mysql_query($sql84);
$row84=mysql_fetch_array($query84);

$sql85="select * from typesave2 where Idsend='$Id' and Monthi='$Month' and Category='8' and Orderi='5' and Yearsend='$Yearsend' and Zone='$Zone'  order by Id desc";
$query85=mysql_query($sql85);
$row85=mysql_fetch_array($query85);

?>
<!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">
<!--===============================================================================================-->	
<!--===============================================================================================-->
<style type="text/css">
<!--
.style27 {
	color: #FF0000;
	font-size: 14px;
}
.header {
  padding: 15px;
  text-align: center;
  background: #2F4F4F; color:white;
  font-size: 20px; 
}
.header2 {
  padding: 15px;
  text-align: center;
  background: #CCFF99; 
  font-size: 20px; 
}

.style28 {color: #FF0000;
	font-weight: bold;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.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;
}.top{
	background-image: url("header.jpg");
  	background-repeat: no-repeat;
}

-->
</style>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body>
<script>
function NumChk() {
  
<? for($i=1;$i<=4;$i++){ ?>
    var number = document.getElementById("input<?=$i?>").value;
    if (number < 0) {
      alert('ระบบรับค่าจำนวนตัวเลขตั้งแต่ 0 ขึ้นไป');
       document.getElementById("num<?=$i?>").value = "0";      
  }
<? } ?>

    }
</script>
<table width="100%" border="1" style="border-collapse:collapse" bordercolor="#CCCCCC" cellpadding="10">
	  
	  <tr>
	    <td colspan="14" align="center" bgcolor="#05291B" class="top" b><br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br></td>
      </tr>
</table>
	<div class="header">รายงานผลการดำเนินงานตามแผนกลยุทธ์การขับเคลื่อนเขตสุขภาพกรุงเทพมหานคร (Bangkok Health Zoning) รายตัวชี้วัด ประจำปีงบประมาณ 
	  <?=$Yearsend?>
	</div>
   <div class="header2">
     <?=$row[Name]?>
   </div>
<div id="dropDownSelect1">
  <div align="center">
    <input type="submit" name="button2" id="button2" class="inputlogin" value="กลับหน้าหลัก" onClick="window.location='main4.php'"  />
  </div>
</div>
	<table width="100%" border="1" style="border-collapse:collapse" bordercolor="#CCCCCC" cellpadding="10">
	  <tr>
	    <td><div align="center"><strong>ปีงบประมาณ
	      <?=$Yearsend?>
	     <? if($Yearsend>2566) { ?>  เดือน
  <? if($Month==1) {   echo"ต.ค."; ?>
  <?=$Yearsend-1?>
  <? } ?>
  <? if($Month==2) {   echo"พ.ย."; ?>
  <?=$Yearsend-1?>
  <? } ?>
  <? if($Month==3) {   echo"ธ.ค."; ?>
  <?=$Yearsend-1?>
  <? } ?>
  <? if($Month==4) {   echo"ม.ค."; ?>
  <?=$Yearsend?>
  <? } ?>
  <? if($Month==5) {   echo"ก.พ."; ?>
  <?=$Yearsend?>
  <? } ?>
  <? if($Month==6) {   echo"มี.ค."; ?>
  <?=$Yearsend?>
  <? } ?>
  <? if($Month==7) {   echo"เม.ย."; ?>
  <?=$Yearsend?>
  <? } ?>
  <? if($Month==8) {   echo"พ.ค."; ?>
  <?=$Yearsend?>
  <? } ?>
  <? if($Month==9) {   echo"มิ.ย. "; ?>
  <?=$Yearsend?>
  <? } ?>
  <? if($Month==10) {   echo"ก.ค. "; ?>
  <?=$Yearsend?>
  <? } ?>
  <? if($Month==11) {   echo"ส.ค. "; ?>
  <?=$Yearsend?>
  <? } ?>
  <? if($Month==12) {   echo"ก.ย. "; ?>
  <?=$Yearsend?>
  <? } ?><? }else{ ?>
(กรอกข้อมูลภาพรวมทั้ง 12 เดือน)
<? } ?>
        </strong></div></td>
      </tr>
	  <tr>
	    <td><span class="style28">*ระบุว่าเป็นคําถามที่จําเป็นต้องกรอกข้อมูล</span></td>
      </tr>
	  <tr>
 <td bgcolor="#E6E6E6"><div align="center"><strong>นโยบายที่ 8 เอราวัณ ง่ายทันใจ</strong></div></td>      </tr>
	  <tr>
	    <td bgcolor="#FFFFFF"><div align="center"> Zone
	      <?=$row81[Zone]?>
        </div></td>
      </tr>
	  <tr>
	    <td bgcolor="#FFFFFF"><br>
	      จำนวนครั้งของการรับบริการทั้งหมด (ครั้ง)<span class="style28">*</span><br>
          <br>
จำนวน
<?=$row81[Detail]?> ครั้ง<br></td>
      </tr>
	  <tr>
	    <td bgcolor="#FFFFFF"><br>
	      จำนวนผู้ป่วย Emergency care ที่มีการรายงานข้อมูล (ว.8)  (ครั้ง)<span class="style28">*</span><br>
          <br>
จำนวน
<?=$row82[Detail]?> ครั้ง<br></td>
      </tr>
	  <tr>
	    <td bgcolor="#FFFFFF"><br>
	      จำนวนผู้ป่วยฉุกเฉินวิกฤตที่ได้รับการปฏิบัติการฉุกเฉินภายใน 8 นาที (ครั้ง)<span class="style28">*</span><br>
          <br>
จำนวน
<?=$row83[Detail]?> ครั้ง<br></td>
      </tr>
	  <tr>
	    <td bgcolor="#FFFFFF"><br>
	      ร้อยละของผู้ป่วยฉุกเฉินวิกฤตที่ได้รับการปฏิบัติการฉุกเฉินภายใน  8 นาที<span class="style28">*</span><br>
          <br>
          ร้อยละ
<?=$row84[Detail]?>           <br></td>
      </tr>
	  
	  
	  <tr>
	    <td bgcolor="#E6E6E6" align="center"><div role="listitem">
	      <div jsname="bLLMxc" role="heading">
	        <div>
	          <div><strong>ผู้รายงานข้อมูล<br>
	          </strong></div>
	        </div>
	      </div>
	      </div>	      </td>
      </tr>
	  <tr>
        <td bgcolor="#FFFFFF"><div align="center">ชื่อ  สกุล<br>
                <?=$row1[Namesave]?>
        </div></td>
      </tr>
	  <tr>
        <td bgcolor="#FFFFFF"><div align="center">เบอร์โทรศัพท์<br>
                <?=$row1[Tel]?>
        </div></td>
      </tr>
	  <tr>
	    <td bgcolor="#FFFFFF"><div align="center">ตำแหน่ง<br>
              <?=$row1[Position]?>
        </div></td>
      </tr>
	  <tr>
        <td bgcolor="#FFFFFF"><div align="center">วันเวลาที่บันทึกข้อมูล<br>
		<? 
$sqlno="select * from namesave2 where Idrefer='$Id' and Monthi='$Month' and Zone='$Zone' order by Id asc";
$queryno=mysql_query($sqlno);
$row1=mysql_fetch_array($queryno);
?>  
  <?=$row1[Datetime]?>
<? 
$sqlno="select * from namesave2 where Idrefer='$Id' and Monthi='$Month' and Zone='$Zone' order by Id desc";
$queryno=mysql_query($sqlno);
$row1=mysql_fetch_array($queryno);
$numno=mysql_num_rows($queryno);
if($numno>1){
?>  
  <br>
  <br>
  วันเวลาที่แก้ไขข้อมูล<br>
  <?=$row1[Datetime]?>
  <? } ?>
  </div></td>
      </tr>
</table>
</body>
</html>

Hacked By AnonymousFox1.0, Coded By AnonymousFox