Files
2026-09-16 23:20:08 +07:00

541 lines
26 KiB
PHP

<?php
//--- Update 23-03-2565 ---
// session_start();
// if ($_SESSION['sess_userid'] <> session_id()) {
// header("Location: index.php");
// exit();
// }
$page = "Doctor Certification";
require("connect_hosxp.php");
require("date_format.php");
$timezone = "Asia/Bangkok";
if (function_exists('date_default_timezone_set')) date_default_timezone_set($timezone);
$today = date("Y-m-d H:i:s");
$today2 = date("Y-m-d");
// $today_date = date("d");
// $today_month = date("m");
// $today_year = date("Y") + 543;
$vn = base64_decode($_GET['nn']);
$doctor_cid = base64_decode($_GET['doctor']);
if ($doctor_cid == "1329900133434") {
$doctor_name = "นพ.มรรษยุว์ อิงคภาสกร";
$doctor_cert_code = "ว52197";
} else if ($doctor_cid == "1840100404457") {
$doctor_name = "นพ.ภควัต พรหมเพชร";
$doctor_cert_code = "ว57709";
} else if ($doctor_cid == "1909900457323") {
$doctor_name = "พญ.จิตติมา มุสิกพันธุ์";
$doctor_cert_code = "ว61379";
}
$doctor_sign = $doctor_cid . ".png";
//$vn = "";
//$doctor_name = "พญ.จิตติมา มุสิกพันธ์";
//$doctor_cert_code = "ว61379";
if ($vn == "") {
echo "ขออภัย.!! ไม่พบข้อมูล...";
echo "<br>";
echo "Sorry.!! No Data...";
echo '<script type="text/javascript">
setTimeout("history.go(-1)",2000);
</script>';
exit();
}
$sql_doctor_cert = "SELECT h.universal_head_id, h.entry_date, o.hn, p.cid, Concat(p.pname, p.fname, ' ', p.lname) AS pt_name, o.vn, o.an, p.addrpart, p.moopart, t.full_name, pn.ename, Concat('เลขที่ ', p.addrpart, ' ', 'หมู่ ', p.moopart, ' ', t.full_name) AS pt_address, vn.age_y, p.hometel, p.birthday, p.clinic, d.universal_item_id, d.universal_item_value_text, o.vstdate, o.vsttime, h.vn, h.hn, i.universal_item_name, s.*, p.passport_no FROM universal_head h LEFT OUTER JOIN universal_detail d ON d.universal_head_id = h.universal_head_id LEFT OUTER JOIN universal_item i ON i.universal_item_id = d.universal_item_id LEFT OUTER JOIN ovst o ON o.vn = h.vn LEFT OUTER JOIN vn_stat vn ON vn.vn = h.vn LEFT OUTER JOIN patient p ON p.hn = o.hn LEFT OUTER JOIN thaiaddress t ON t.chwpart = p.chwpart AND t.amppart = p.amppart AND t.tmbpart = p.tmbpart LEFT OUTER JOIN opdscreen s ON h.vn = s.vn LEFT OUTER JOIN pname pn ON p.pname = pn.name WHERE h.vn = '$vn' GROUP BY h.vn";
$result_doctor_cert = mysqli_query($conn1, $sql_doctor_cert);
$row_doctor_cert = mysqli_fetch_array($result_doctor_cert);
$universal_head_id = $row_doctor_cert['universal_head_id'];
$entry_date = $row_doctor_cert['entry_date'];
//------------- กักตัว HI -------------------
$sql_check_hi = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id where ud.universal_item_id='3000' and uh.vn = '$vn' ";
$result_check_hi = mysqli_query($conn1, $sql_check_hi);
$row_check_hi = mysqli_fetch_array($result_check_hi);
$check_hi = $row_check_hi['universal_item_value_text'];
if ($check_hi == "Y") {
$checkbox_hi = "fa fa-check-square-o";
} else {
$checkbox_hi = "fa fa-square-o";
}
//-----------------------------------------------------
//------------- กักตัว CI-------------------
$sql_check_ci = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id where ud.universal_item_id='3001' and uh.vn = '$vn' ";
$result_check_ci = mysqli_query($conn1, $sql_check_ci);
$row_check_ci = mysqli_fetch_array($result_check_ci);
$check_ci = $row_check_ci['universal_item_value_text'];
if ($check_ci == "Y") {
$checkbox_ci = "fa fa-check-square-o";
} else {
$checkbox_ci = "fa fa-square-o";
}
$sql_ci_station = "select ui.universal_item_name from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id left outer join universal_item ui on ud.universal_item_id=ui.universal_item_id where ud.universal_item_value_text='Y' and ud.universal_item_id in('3002','3016','3017','3217','3137','3138','3139','3004','3018','3019','3136') and uh.vn = '$vn' ";
$result_ci_station = mysqli_query($conn1, $sql_ci_station);
$row_ci_station = mysqli_fetch_array($result_ci_station);
$ci_station = $row_ci_station['universal_item_value_text'];
//-----------------------------------------------------
//------------- สถานที่ตรวจสอบ ATK -------------------
$sql_atk_station = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on ud.universal_head_id=uh.universal_head_id where uh.universal_head_id='$universal_head_id' and ud.universal_item_id='3116' ";
$result_atk_station = mysqli_query($conn1, $sql_atk_station);
$row_atk_station = mysqli_fetch_array($result_atk_station);
$atk_station = $row_atk_station['universal_item_value_text'];
//-----------------------------------------------------
//------------- ระยะเวลากักตัว -------------------
$isolation_sum_date = "10";
$isolation_start_date = $entry_date;
$isolation_end_date = date('Y-m-d', strtotime($isolation_start_date . ' + ' . $isolation_sum_date . ' days'));
//-----------------------------------------------------
//------------- HOSP ATK CHECK -------------------
$sql_check_hos_atk = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id where ud.universal_item_id='2972' and uh.vn = '$vn' ";
$result_check_hos_atk = mysqli_query($conn1, $sql_check_hos_atk);
$row_check_hos_atk = mysqli_fetch_array($result_check_hos_atk);
$check_hos_atk = $row_check_hos_atk['universal_item_value_text'];
if ($check_hos_atk == "Y") {
$checkbox_hos_atk = "fa fa-check-square-o";
} else {
$checkbox_hos_atk = "fa fa-square-o";
}
//-----------------------------------------------------
//------------- HOSP RT-PCR CHECK -------------------
$sql_check_hos_rtpcr = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id where ud.universal_item_id='2973' and uh.vn = '$vn' ";
$result_check_hos_rtpcr = mysqli_query($conn1, $sql_check_hos_rtpcr);
$row_check_hos_rtpcr = mysqli_fetch_array($result_check_hos_rtpcr);
$check_hos_rtpcr = $row_check_hos_rtpcr['universal_item_value_text'];
if ($check_hos_rtpcr == "Y") {
$checkbox_hos_rtpcr = "fa fa-check-square-o";
} else {
$checkbox_hos_rtpcr = "fa fa-square-o";
}
//-----------------------------------------------------
//------------- Symtom 1-------------------
$sql_check_symtom_1 = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id where ud.universal_item_id ='2974' and uh.vn = '$vn' ";
$result_check_symtom_1 = mysqli_query($conn1, $sql_check_symtom_1);
$row_check_symtom_1 = mysqli_fetch_array($result_check_symtom_1);
$check_symtom_1 = $row_check_symtom_1['universal_item_value_text'];
if ($check_symtom_1 == "Y") {
$checkbox_symtom_1 = "fa fa-check-square-o";
} else {
$checkbox_symtom_1 = "fa fa-square-o";
}
//-----------------------------------------------------
//------------- Symtom 2-------------------
$sql_check_symtom_2 = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id where ud.universal_item_id in('2975','2976','2977','2978','2979') and uh.vn = '$vn' ";
$result_check_symtom_2 = mysqli_query($conn1, $sql_check_symtom_2);
$row_check_symtom_2 = mysqli_fetch_array($result_check_symtom_2);
$check_symtom_2 = $row_check_symtom_2['universal_item_value_text'];
if ($check_symtom_2 == "Y") {
$checkbox_symtom_2 = "fa fa-check-square-o";
} else {
$checkbox_symtom_2 = "fa fa-square-o";
}
//-----------------------------------------------------
//------------- สถานที่กักตัว IPD -------------------
$sql_admit_ipd = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id where ud.universal_item_id='3012' and uh.vn = '$vn' ";
$result_admit_ipd = mysqli_query($conn1, $sql_admit_ipd);
$row_admit_ipd = mysqli_fetch_array($result_admit_ipd);
$admit_ipd = $row_admit_ipd['universal_item_value_text'];
if ($admit_ipd == "Y") {
$checkbox_admit_ipd = "fa fa-check-square-o";
} else {
$checkbox_admit_ipd = "fa fa-square-o";
}
//-----------------------------------------------------
//------------- สถานที่กักตัว HI -------------------
$sql_admit_hi = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id where ud.universal_item_id='3000' and uh.vn = '$vn' ";
$result_admit_hi = mysqli_query($conn1, $sql_admit_hi);
$row_admit_hi = mysqli_fetch_array($result_admit_hi);
$admit_hi = $row_admit_hi['universal_item_value_text'];
if ($admit_hi == "Y") {
$checkbox_admit_hi = "fa fa-check-square-o";
} else {
$checkbox_admit_hi = "fa fa-square-o";
}
//-----------------------------------------------------
//------------- สถานที่กักตัว CI -------------------
$sql_admit_ci = "select ud.universal_item_value_text from universal_head uh left outer join universal_detail ud on uh.universal_head_id=ud.universal_head_id where ud.universal_item_id='3001' and uh.vn = '$vn' ";
$result_admit_ci = mysqli_query($conn1, $sql_admit_ci);
$row_admit_ci = mysqli_fetch_array($result_admit_ci);
$admit_ci = $row_admit_ci['universal_item_value_text'];
if ($admit_ci == "Y") {
$checkbox_admit_ci = "fa fa-check-square-o";
} else {
$checkbox_admit_ci = "fa fa-square-o";
}
//-----------------------------------------------------
//------------- Lab Result Data 1 -------------------
//$lab_result_line_1 = $row_novel_data1['lab_order_result'];
//-----------------------------------------------------
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HOSxP Web Service ✎ ✉ | <?php echo $page; ?></title>
<link rel="icon" type="image/png" sizes="16x16" href="favicon1.ico">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Great+Vibes&family=Sarabun&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body {
font-family: 'Sarabun', sans-serif;
font-size: 13px;
}
table {
width: 800px;
border-collapse: collapse;
}
table td {
line-height: 20px;
padding-left: 0px;
padding-right: 0px;
}
p {
display: block;
padding-left: 10px;
}
span.underline {
padding-bottom: 1.5px;
border-bottom: 1px dotted #b0b0b0;
color: blue;
font-weight: bold;
}
.btn {
border-radius: 10%;
background-color: #b0b0b0;
font-size: 14px;
cursor: auto;
display: inline-block;
}
@media print {
#print_slip {
visibility: hidden;
}
}
</style>
</head>
<body>
<table border="0">
<tbody>
<tr>
<td colspan="4"><span style="float: right; margin-top:0px;">No <?php echo $universal_head_id; ?></span>
<center><img src="img/logoKSH.png" width="11%" style="margin-left:60px;"></center>
</td>
</tr>
<tr>
<td colspan="4">
<center>
<font style="font-size: larger;"><b>โรงพยาบาลเกาะสมุย</font>
<br>
<font style="font-size:smaller;">61 หมู่ 1 ต.อ่างทอง อ.เกาะสมุย จ.สุราษฎร์ธานี 84140 โทร : 077-913200 แฟกซ์ : 077420150 </font>
<br>
<font style="font-size: larger;"><b>ใบรับรองแพทย์กรณีผู้ติดเชื้อโควิด 19</font>
<br>
<br>
</center>
</td>
</tr>
<tr>
<td><b><button class="btn">ส่วนที่ 1</button> &nbsp;&nbsp;&nbsp;ผู้ขอรับใบรับรองเป็นผู้กรอก</b></td>
</tr>
<tr>
<td>ข้าพเจ้า<span class="underline">
&emsp;&emsp;<?php echo $row_doctor_cert['pt_name']; ?>&emsp;&emsp;
</span></td>
</tr>
<tr>
<td>หมายเลขบัตรประจำตัวประชาชน<span class="underline">
&emsp;&emsp;<?php echo $row_doctor_cert['cid']; ?>&emsp;&emsp;
</span></td>
</tr>
<tr>
<td>สถานที่อยู่ (ที่สามารถติดต่อได้)<span class="underline">
&emsp;&emsp;<?php echo $row_doctor_cert['pt_address']; ?>&emsp;&emsp;
</span></td>
</tr>
<tr>
<td>ข้าพเจ้าขอให้การยืนยันประวัติดังนี้</td>
</tr>
<tr>
<td>1. ได้ทำการตรวจ ATK&emsp;&emsp;<i class="fa fa-square-o"></i>&nbsp;ด้วยตัวเอง&emsp;<i class="fa fa-check-square-o"></i>&nbsp;ที่สถานพยาบาลชื่อ
<span class="underline">
&emsp;&emsp;<?php echo $atk_station; ?>&emsp;&emsp;
</span>
</td>
</tr>
<tr>
<td>เมื่อวันที่<span class="underline">
&emsp;&emsp;<?php echo thai_date9($entry_date); ?>&emsp;&emsp;
</span> และมีผลเป็นบวก(ติดเชื้อ)</td>
</tr>
<tr>
<td>2. ได้รับการกักตัวแบบ&emsp;&emsp;<i class="<?php echo $checkbox_hi; ?>"></i>&nbsp;Home Isolation (HI)&emsp;&emsp;
<i class="<?php echo $checkbox_ci; ?>"></i>&nbsp;Community Isolation (CI) ที่
<span class="underline">
&emsp;&emsp;<?php echo $ci_station ?>&emsp;&emsp;
</span>
</td>
</tr>
<tr>
<td>ภายใต้การดูแลของสถานพยาบาล(ระบุ)<span class="underline">
&emsp;<?php echo "โรงพยาบาลเกาะสมุย" ?>&emsp;
</span> ระหว่างวันที่<span class="underline">
&nbsp;<?php echo thai_date9($isolation_start_date); ?>&nbsp;
</span>ถึง<span class="underline">
&nbsp;<?php echo thai_date9($isolation_end_date); ?>&nbsp;
</span>&nbsp;รวมทั้งสิ้นเป็นระยะเวลา<span class="underline">
&nbsp;<?php echo $isolation_sum_date; ?>&nbsp;
</span> วัน</td>
</tr>
<tr>
<td>3. ประวัติอื่นที่สำคัญ<span class="underline">
&emsp;&emsp;<?php echo "-" ?>&emsp;&emsp;
</span></td>
</tr>
<tr>
<td align="right">ลงชื่อ<span class="underline">
&emsp;&emsp;<?php echo "&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;" ?>&emsp;&emsp;
</span> วันที่<span class="underline">
&emsp;&emsp;<?php echo today_date($today2); ?>&emsp;&emsp;
</span>เดือน<span class="underline">
&emsp;&emsp;<?php echo today_month($today2); ?>&emsp;&emsp;
</span>ปี<span class="underline">
&emsp;&emsp;<?php echo today_year($today2); ?>&emsp;&emsp;
</span></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>
<font style="font-size: smaller;"><b>หมายเหตุ</b>&nbsp;(1) ในกรณีที่ไม่สามารถให้ข้อมูลหรือลงนามรับรองด้วยตนเองได้ ให้ผู้มีอำนาจตามกฎหมาย หรือ ผู้ปกครองลงนามรับรองแทนทนได้</font>
</td>
</tr>
<tr>
<td>
<font style="font-size: smaller;">&emsp;&emsp;&emsp;&emsp;&nbsp;(2) การให้ข้อมูลอันเป็นเท็จ อาจได้รับโทษตามกฎหมายที่เกี่ยวข้อง</font>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><b><button class="btn">ส่วนที่ 2</button> &nbsp;&nbsp;&nbsp;แพทย์เป็นผู้กรอก</b></td>
</tr>
<tr>
<td>สถานที่ตรวจ<span class="underline">
&emsp;&emsp;<?php echo "โรงพยาบาลเกาะสมุย" ?>&emsp;&emsp;
</span> วันที่<span class="underline">
&emsp;&emsp;<?php echo today_date($today2); ?>&emsp;&emsp;
</span>เดือน<span class="underline">
&emsp;&emsp;<?php echo today_month($today2); ?>&emsp;&emsp;
</span>ปี<span class="underline">
&emsp;&emsp;<?php echo today_year($today2); ?>&emsp;&emsp;
</span></td>
</tr>
<tr>
<td>ข้าพเจ้า<span class="underline">
&emsp;&emsp;<?php echo $doctor_name; ?>&emsp;&emsp;
</span> ใบอนุญาตประกอบวิชาชีพเวชกรรมที่<span class="underline">
&emsp;&emsp;<?php echo $doctor_cert_code; ?>&emsp;&emsp;
</span></td>
</tr>
<tr>
<td>ปฏิบัติงานภายใต้สถานพยาบาล (ระบุ)<span class="underline">
&emsp;&emsp;<?php echo "โรงพยาบาลเกาะสมุย" ?>&emsp;&emsp;
</span> ขอรับรองว่า</td>
</tr>
<tr>
<td>1. ได้เข้ารับการตรวจโรคโควิด 19 ด้วยวิธี</td>
</tr>
<tr>
<td><i class="<?php echo $checkbox_hos_atk; ?>"></i>&nbsp;ATK โดยบุคลาการของสถานพยาบาล (ระบุ)&nbsp;<span class="underline"><?php echo "&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;" ?></span>&emsp;&emsp; <i class="<?php echo $checkbox_hos_rtpcr; ?>"></i>&nbsp;RT-PCR&emsp;&emsp;<i class="fa fa-square-o"></i>&nbsp;Rapid PCR&emsp;&emsp;<i class="fa fa-square-o"></i>&nbsp;วิธีอื่น (ระบุ)&emsp;<span class="underline">
<?php echo "&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;" ?></span></td>
</tr>
<tr>
<td>เมื่อวันที่<span class="underline">
&emsp;&emsp;<?php echo thai_date9($entry_date); ?>&emsp;&emsp;
</span> และมีผลเป็นบวก(ติดเชื้อ)</td>
</tr>
<tr>
<td>2. ณ วันที่มาเข้ารับการตรวจโควิดดังกล่าว ผู้มาขอใบรับรองการตรวจ</td>
</tr>
<tr>
<td><i class="<?php echo $checkbox_symtom_1; ?>"></i>&nbsp;ไม่มีอาการและไม่มีอาการแสดง(Asymptomatic) ของโรคโควิด 19
</tr>
<tr>
<td><i class="<?php echo $checkbox_symtom_2; ?>"></i>&nbsp;มีอาการเล็กน้อย
</tr>
<tr>
<td>3. ผู้ติดเชื้อได้รับการรักษาภายใต้การจัดการของสถานพยาบาล (ระบุ)</td>
</tr>
<tr>
<td>แบบ&emsp;<i class="<?php echo $checkbox_admit_ipd; ?>"></i>&nbsp;ผู้ป่วยใน&emsp; <i class="<?php echo $checkbox_admit_hi; ?>"></i>&nbsp;Home Isolation&emsp;<i class="<?php echo $checkbox_admit_ci; ?>"></i>&nbsp;Community Isolation&emsp; ระหว่างวันที่<span class="underline">
&nbsp;<?php echo thai_date9($isolation_start_date); ?>&nbsp;
</span>ถึง<span class="underline">
&nbsp;<?php echo thai_date9($isolation_end_date); ?>&nbsp;
</span>&nbsp;รวมทั้งสิ้นเป็นระยะเวลา<span class="underline">
&nbsp;<?php echo $isolation_sum_date; ?>&nbsp;
</span> วัน</td>
</tr>
<tr>
<td>
<font style="font-size: smaller;"><b>หมายเหตุ</b> เนื่องจากเตียงในการรักษา COVID-19 ของโรงพยาบาลเกาะสมุยเต็ม ไม่สามารถให้พักรักษาตัวที่โรงพยาบาลได้</font>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>
<font style="font-size: larger;"><b><u>สรุปความเห็นของแพทย์</u></b></font>&emsp;
<font style="font-size: smaller;">(ตัวเลือกใด<u>ไม่</u>ต้องการยืนยัน ให้ขีดฆ่าทิ้ง)</font>
</td>
</tr>
<tr>
<td><i class="fa fa-square-o"></i>&nbsp;ผู้มาขอใบรับรองทำตการตรวจการติดเชื้อโดยวิธี ATK "ด้วยตนเอง"
</tr>
<tr>
<td><i class="fa fa-square-o"></i>&nbsp;ผู้มาขอใบรับรองได้รับการตรวจยืนยันการติดเชื้อ "ภายใต้สถานพยาบาล" และยืนยันได้ว่ามีการติดเชื้อโควิด 19 จริง
</tr>
<tr>
<td><i class="fa fa-check-square-o"></i>&nbsp;ผู้ติดเชื้อได้รับการดูแลรักษา <b>ไม่น้อยกว่า 10 วัน</b> นับจากวันที่เริ่มมีอาการหรือวันที่มีการตรวจพบเชื้อ
</tr>
<tr>
<td>&emsp;&emsp;&nbsp;ซึ่งตามแนวทางการรักษาของกรมการแพทย์ ถือว่าผู้ป่วย <b>พ้นระยะการแพร่เชื้อแล้ว</b></td>
</tr>
<tr>
<td>&emsp;&emsp;&nbsp;***** <b><u>ไม่จำเป็น</u></b> ต้องได้รับการตรวจหาเชื้อด้วยวิธิการใด ๆ เพื่อยืนยัน*****</td>
</tr>
</tbody>
</table>
<br><br>
<!-- Doctor Sign -->
<table border="0">
<tbody>
<tr>
<td align="right">&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
</td>
<td align="center"><b>ลงชื่อ </b>
<span class="underline">
<font style="font-size:larger; font-family: 'Dancing Script', cursive; color:blue;">&nbsp;&nbsp;&nbsp;<img src="doctor_sign/<?php echo $doctor_sign; ?>">&nbsp;&nbsp;&nbsp;</font>
</span>
</td>
</tr>
<tr align="right">
<td align="center"></td>
<td align="center">( <?php echo $doctor_name; ?> )<br><?php echo $doctor_cert_code; ?></td>
</tr>
</tbody>
</table>
<br />
<br />
<table border="0" style="border: none !important;">
<tr>
<td align="center"><button onclick="myPrint()" id="print_slip">&nbsp;&nbsp;Print&nbsp;&nbsp;</button></td>
</tr>
</table>
<script>
function myPrint() {
window.print();
}
</script>
</body>
</html>
<?php //mysqli_close($conn_web)
?>
<?php //mysqli_close($conn_salary)
?>
<?php //mysqli_close($conn_hosoffice)
?>