Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.144.37.38
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//hospital_manpower_edit.php
<?php
session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include 'menu.php';
include 'header.php';
if(isset($_POST['signup'])) 
{ 	
    $narayan=LoginManager::currentUser();
$hari=LoginManager::getUserTypeByuname("$narayan");
    $adminid=$hari; 
    $sql="UPDATE manpower SET RMO='$_POST[RMO]',paramedic='$_POST[paramedic]',nonparametric='$_POST[nonparametric]' WHERE adminid='$hari'";
if($qsql = mysqli_query($con,$sql))
		{
echo "<script>alert('Manpower Update successfully');</script><script>window.location='show_Manpower.php'</script>;</script>";
}
}
?>

<!DOCTYPE html>
<html>
<title>Testing new </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</script>
</head>
  <body>
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
    <form name="signup" method="post" >
      <fieldset>
        <legend>
          <h3>Manpower information</h3>
        </legend>
        <div  class="account-details">
            <?php
      		$narayan=LoginManager::currentUser();
$hari=LoginManager::getUserTypeByuname("$narayan");
		$sql ="SELECT * FROM manpower WHERE adminid='$hari'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		 echo "
           <label>Number of RMO/duty doctors<span>*</span></label>
      <input value='$rs[RMO]' name='RMO' type='text'>
            <label>Number of paramedic staff<span>*</span></label>
      <input   value='$rs[paramedic]' name='paramedic' type='text'>
 <label>Number of non-paramedic staff<span>*</span></label>
      <input value='$rs[nonparametric]' name='nonparametric' type='text'>
     
    </div>
 <br> 
 ";
		}
		?>
<button type="submit" name="signup" > Update</button>

</div>
</div>
</form>

</body>
</html> 

Anon7 - 2022
AnonSec Team