Server IP : 162.240.98.243 / Your IP : 18.189.171.125 Web Server : Apache System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : btiyawmy ( 1003) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/btiyawmy/public_html/login.easenup.in/ |
Upload File : |
<?php session_start(); require_once('../DBManager.php'); require_once('../LoginManager.php'); ?> <style> .center { border: 1px solid grey; text-align:; } .center2 { border: 5px solid grey; text-align:; } </style> <div class='center'> <?php $sql ="SELECT * FROM post_Confirmation_Sheet WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { echo" <h3 align='right'><a href='edit_Post_Operative_Assessment.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]&surgeryid=$rs[surgeryid]'><i class='fa fa-pencil-square-o'></i> </a></h3>"; } ?> <table id='example2' class='table table-bordered table-hover'> <?php $sql ="SELECT * FROM post_Confirmation_Sheet WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tr> <td width='50%'> Verify Patient Identity: </td> <td width='50%'>"; if($rs[verify_pt_identity] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> </tr> <tr> <td width='50%'> Consent Form Signed : </td> <td width='50%'>"; if($rs[consent_form_signed] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo "</td> </tr> <tr> <td width='50%'> Operation Consent: </td> <td width='50%'>"; if($rs[Operation_consent] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo "</td> </tr> <tr> <td width='50%'> Operative Assessment : </td> <td width='50%'>"; if($rs[operative_assessment] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo "</td> </tr> <tr> <td width='50%'> Medical Fitness : </td> <td width='50%'>"; if($rs[Medical_fitness] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo "</td> </tr> <tr> <td width='50%'> Last Meal : </td> <td width='50%'>"; if($rs[Last_meal] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo "</td> </tr> <tr> <td width='50%'> Allergy Noted : </td> <td width='50%'>"; if($rs[Allergy_noted] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo "</td> </tr> <tr> <td width='50%'> Reports Checked : </td> <td width='50%'>"; if($rs[reports_checked] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo "</td> </tr> "; } ?> </table> </div>