Server IP : 162.240.98.243 / Your IP : 18.217.199.122 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/www/login.easenup.in/ |
Upload File : |
<h3 align='center'>Gate pass</h3> <style> .center { border: 1px solid grey; text-align:; } .center2 { border: 5px solid grey; text-align:; } </style> <div class='center'> <?php $sql ="SELECT * FROM Gatepass WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { echo" <h3 align='right'><a href='edit_showpage_Create_Gate_pass.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]'><i class='fa fa-pencil-square-o' aria-hidden='true'></i> </a></h3>"; } ?> <table id='example2' class='table table-bordered table-hover'> <?php $sql ="SELECT * FROM Gatepass WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { if($rs[Checklist_Filed] == 'on'){ echo " <tr><td width='50%'>Discharge Checklist Filed: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Discharge Checklist Filed: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[Ambulance_Required] == 'on'){ echo " <tr><td width='50%'>Ambulance Required and Booked: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Ambulance Required and Booked: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[Discharge_Handover] == 'on'){ echo " <tr><td width='50%'>Discharge Handover with NOC: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Discharge Handover with NOC: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } echo " <tr> <td width='50%'> Time of Exit: </td> <td width='50%'>$rs[Time_Exit]</td> </tr> "; } ?> </table> </div>