Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.118.31.67
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_Risk_Assessment_Status.php

<?php session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include 'header.php';
include 'dashboarddocument.php';
//Code for Registration 
if(isset($_POST['riskass'])) 
{ 
    	$updated_at=date("F d, Y / h:i:s A");
//$sql ="UPDATE CovidChecklist SET symptoms_fever='$_POST[symptoms_fever]',difficulty_breathing='$_POST[difficulty_breathing]',country_days='$_POST[country_days]',other_cities='$_POST[other_cities]',two_weeks='$_POST[two_weeks]',health_facility='$_POST[health_facility]',created_at='$_POST[created_at]',updated_at='$updated_at'  WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";

$sql ="UPDATE Risk_Assessment_Status SET Fitness_Procedure='$_POST[Fitness_Procedure]',Risk_Factors_Present='$_POST[Risk_Factors_Present]',Plan_Action='$_POST[Plan_Action]',Arranged_units_blood='$_POST[Arranged_units_blood]',RequisitionForm='$_POST[RequisitionForm]',updated_at='$updated_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]' AND discription='Intial Assessment<br>Covid 19 Checklist<br>Doc.no-'";
if($qsql = mysqli_query($con,$sql))
		{
		    if($qsql = mysqli_query($con,$sql1))
		    {
    echo "<script>alert('Update successfully');</script><script>window.location.href = 'PreOperativeAssessmentSheet.php?prescriptionid=$_GET[prescriptionid]&patientid=$_GET[patientid]&surgeryid=$_GET[surgeryid]';</script>;</script>";
  } 
  }else {
    echo "Sorry, there was an error uploading your file.";
  } 
   
  
}

?>


<?php session_start();
// include 'dbconnection.php';
// require_once("../patientmanager.php");
// require_once("../DBManager.php");
// if(isset($_POST['riskass'])) 
// {
//   PatientManager::RiskStatus("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Fitness_Procedure]","$_POST[Risk_Factors_Present]","$_POST[Arranged_units_blood]","$_POST[RequisitionForm]","$_POST[abo_rh]","$_POST[units]","$_POST[group_name]","$_POST[address]","$_POST[Ref_Dr]","$_POST[Nurse_Name]","$_POST[Blood_Bag_Number]","$_POST[Products_Blood_Group]","$_POST[product_name]","$_POST[blood_bank_name]","$_POST[date_of_expiry]","$_POST[Blood_Checked_Doctor]","$_POST[doctor_id_no]","$_POST[entered_by]");
// }
?>
<!DOCTYPE html>
<html lang="en">
<head><meta charset="ibm866">
     <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>
  
<meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
  <title>Document</title>
<script>
function myFunction1031() {
  var checkBox = document.getElementById("myCheck1031");
  var text = document.getElementById("text1031");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction2() {
  var checkBox = document.getElementById("myCheck2");
  var text = document.getElementById("text2");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction3() {
  var checkBox = document.getElementById("myCheck3");
  var text = document.getElementById("text3");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction4() {
  var checkBox = document.getElementById("myCheck4");
  var text = document.getElementById("text4");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}


</script>
	<style>

.center {
   border: 1px solid grey;
   text-align:;
}
 </style>
   </head>
  <body>
   <div class="content-wrapper">
        <section class="content-header">
    <form name="riskass" method="POST">
               <h2 align="center">Risk Assessment Status </h2>
               <br>
               <div class="center">
      <table id="example2" class="table table-bordered table-hover"> 
      <?php 
		$sql ="SELECT * FROM Risk_Assessment_Status WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'AND surgeryid='$_GET[surgeryid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo "
                  <thead>
 <tr> <td width='50%'>Fitness for Procedure
</td>
<td width='50%'><select name='Fitness_Procedure'>
        <option value='$rs[Fitness_Procedure]'>$rs[Fitness_Procedure]</option>
        <option value='Fit for Procedure' >Fit for Procedure</option>
       <option value='Decline'>Decline</option>
        <option value='Accepted with High Risk'>Accepted with High Risk</option>
        <option value='Accepted with Mild risk'>Accepted with Mild Risk</option>
             </select></td>
          </tr>
          
           <tr>
                      <div class='account-details'>
            <tr><td style='width:29%'><div><h5>Risk Factors Present : </h5> </td></div><td  style='width:46%'><div>
                <textarea name='Risk_Factors_Present' rows='2' cols='70'>$rs[Risk_Factors_Present]</textarea>
            </div></td></tr>
                  <tr>
                      <div class='account-details'>
            <tr><td style='width:29%'><div><h5>Plan of Action : </h5> </td></div><td  style='width:46%'><div>
                <textarea name='Plan_Action' rows='2' cols='70'>$rs[Plan_Action]</textarea>
            </div></td></tr>
            <tr> <td width='50%'>Arranged units of blood to be kept ready in BTO  
</td>
<td width='50%'><select name='Arranged_units_blood'>
        <option value='$rs[Arranged_units_blood]'>$rs[Arranged_units_blood]</option>
       <option value='0'>0</option>
        <option value='1'>1</option>
        <option value='2'>2</option>
        <option value='3'>3</option>
        <option value='4'>4</option>
        <option value='5'>5</option>
        <option value='6'>6</option>
         <option value='7'>7</option>
    <option value='8'>8</option>
    <option value='9'>9</option>
    <option value='10'>10</option>
           </select></td>
          </tr>
          ";
          if($rs[RequisitionForm]=='on')
          {
              echo"<tr><td><span style='font-size: 20px'>Generate Blood RequisitionForm </span></h3></td><td><label class='switch'>
  <input type='checkbox' name='RequisitionForm'   checked>
  <span class='slider'></span>
</label>
</td>
</tr>";
              
          }
          else{
              echo"<tr><td><span style='font-size: 20px'>Generate Blood RequisitionForm </span></h3></td><td><label class='switch'>
  <input type='checkbox' name='RequisitionForm'  >
  <span class='slider'></span>
</label>
</td>
</tr>";
          }


}
?>
</table>

      </div>
<input type="submit" name="riskass" value="Submit">

	
</div>
</form>
</body>
</html> 

Anon7 - 2022
AnonSec Team