Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.137.213.142
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_Anesthesia_Consent.php
<?php session_start();
include 'dbconnection.php';
require_once('../patientmanager.php');
require_once('../DBManager.php');
?>
 
 <?php
  include("dbconnection.php");
	$sqlpatient = "SELECT * FROM save_activity WHERE  prescriptionid='$_GET[prescriptionid]' AND discription='Intial Assessment<br>GENERAL CONSENT<br>Doc.no-'";
	$qsqlpatient = mysqli_query($con,$sqlpatient);
	if($rsp = mysqli_fetch_array($qsqlpatient))
	{
	    if($rsp[discription]== 'Intial Assessment<br>GENERAL CONSENT<br>Doc.no-'){
	        echo"<h4 align='right'>Doc.no : $rsp[srno]</h4>";

} else{
    echo "";
}
       
	}
		?>
		 <div class='center'>  <?php
  	$sql ="SELECT * FROM AnesthesiaConsent 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_showpage_Anesthesia_Consent.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]&surgeryid=$rs[surgeryid]'><i class='fa fa-pencil-square-o'></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></h3>";
		}
		?>
 <?php
    $sql ="SELECT * FROM AnesthesiaConsent 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='center'>Anesthesia Consent</h3>
 <table id='example2' class='table table-bordered table-hover'>
 ";
 if($rs[Patient_not_accepted] == 'on'){
     echo " <tr><td>Patient not accepted for anesthesia: </td>
<td><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "<tr><td>Patient not accepted for anesthesia: </td>
<td ><i class='fa fa-times' aria-hidden='true'></i></td></tr>";
}
if($rs[Patient_accepted] == 'on'){
     echo " <tr><td>Patient accepted for anesthesia & explained: </td>
<td><i class='fa fa-check' aria-hidden='true'></i></td></tr><tr>

<td>Type of Anesthesia procedure:</td>
<td>	$rs[Anesthesia_procedure]</td>
</tr>";
} else{
    echo "<tr><td>Patient accepted for anesthesia & explained: </td>
<td><i class='fa fa-times' aria-hidden='true'></i></td></tr>";
}

 
echo"

<td colspan='2'><img width='80%' height='50%' src='uploads/$rs[Upload_Consent]' target='_blank' style='width:100px; height:80px;'></td>
</tr>

";
}
?>

</table>


<?php
  	$sql ="SELECT * FROM AnesthesiaConsent WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'";
		$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);
		if($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> $rs[updated_at] </tr>";   
		    
		}
		}
		?>
		</table>

Anon7 - 2022
AnonSec Team