Server IP : 162.240.98.243 / Your IP : 13.58.116.51 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'); include("../dbconnection.php"); $sql2 ="SELECT * FROM save_activity WHERE srno='$_GET[srno]'"; $qsql2 = mysqli_query($con,$sql2); if($re1 = mysqli_fetch_array($qsql2)) { include 'dashboarddocument.php'; } ?> <?php include 'fileheader.php'; ?> <?php include("dbconnection.php"); $sqlpatient = "SELECT * FROM save_activity WHERE prescriptionid='$_GET[prescriptionid]' AND discription='Discharge Summery<br>Follow Up<br>Doc.no-'"; $qsqlpatient = mysqli_query($con,$sqlpatient); if($rsp = mysqli_fetch_array($qsqlpatient)) { if($rsp[discription]== 'Discharge Summery<br>Follow Up<br>Doc.no-'){ echo"<h4>Doc.no : $rsp[srno]</h4>"; } else{ echo ""; } } ?> <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'> <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> <?php $sql11 ="SELECT * FROM save_activity WHERE srno='$_GET[srno]' "; $qsql11 = mysqli_query($con,$sql11); while($rs11 = mysqli_fetch_array($qsql11)) { $sql ="SELECT * FROM Gatepass WHERE prescriptionid='$rs11[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $sql1 ="SELECT * FROM site_users WHERE userno='$rs[entered_by]'"; $qsql1 = mysqli_query($con,$sql1); while($rs1 = mysqli_fetch_array($qsql1)) { echo"<h5><b> Created & Updated </b><h5> <table id='example2' class='table table-bordered table-hover'> <tr><td width=50%><b>By :</b>$rs1[name] </b><td width='50%'><b>At :</b> $rs11[created_at] </tr>"; } } } ?> </table>