csrtechnew.ohctech.in/medical_certificate_fitness_duty_pdf.php
2025-04-14 13:28:09 +05:30

174 lines
4.8 KiB
PHP

<?php session_start();
include('includes/config/config.php');
include_once("includes/functions.php");
include_once("log_entry.php");
mysqli_query($conn, 'SET character_set_results=utf8');
error_reporting(0);
$query = "select * from company_profile where company_id = 5";
$result = mysqli_query($conn, $query);
$row_for_company = mysqli_fetch_array($result);
@extract($row_for_company);
?>
<!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">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<title>Medical Certificate of Fitness For Duty</title>
<style>
.print {
position: absolute;
right: 11%;
}
body{
height: 100%;
/* background-color: black; */
width: auto;
}
@media print {
#printPageButton {
display: none;
}
}
body {
font-family: Arial, Helvetica, sans-serif
}
table {
border-collapse: collapse;
}
.canteen {
background-color: #229954;
/* position: relative; */
left: 20%;
text-align: center;
padding-left: 10%;
padding-right: 10%;
color: white;
font-weight: bold;
}
.leftalign{
text-align: left;
}
.rightalign{
text-align: right;
}
.subTitle{
text-align: center;
font-size: medium;
font-weight: bold;
}
p{
font-size: medium;
}
.center{
padding: 20px;
width: 100%;
word-wrap: break-word;
font-weight: bold;
}
</style>
</head>
<body>
<center>
<table>
<tr>
<td>
<div class="container">
<div class="container">
<div class="container">
<?php
include "pdf_ohc_header.php";
?>
<button id="printPageButton" class="btn btn-success print"
onClick="window.print();">Print</button>
<br>
<hr>
<br>
<h4 class="canteen">Medical Certificate of Fitness for Duty</h4>
<h4 class="subTitle">TO WHOM IT MAY CONCERN</h4>
<br>
<h6 class="rightalign">DATE : </h6>
<h6 class="leftalign">SERIAL NO. : </h6>
<br><br>
<div class="center">
<span>THIS IS TO CERTIFY THAT MR./MRS./MISS :</span><span>______________________________</span>
<span>Age</span><span>__________</span>
<span>Years IS/WAS UNDER MY TREATMENT SINCE </span><span>__________</span>
<span> To </span><span>__________</span>
<span> FOR </span><span>__________</span>
<br><br>
<br><br>
<h5 style="text-align: center; font-weight: bold;">HE/SHE IS/WAS ADVISED TREATMENT AND REST FOR THIS PERIOD</h5>
<span>_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________</span>
<br><br>
<br><br>
<div class="leftailgn">
<span>(SIGNATURE OF PT.)</span>
</div>
<div class="rightalign">
<span>(SIGNATURE OF DOCTOR)</span>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
</center>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous">
</script>
</body>
</html>