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

<?php
session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include 'header.php';
$DisplayForm=True;
$narayan=LoginManager::currentUser();
$hari=LoginManager::getUserTypeByuname("$narayan");
		$sql ="SELECT * FROM spc WHERE adminid='$hari'";
		$qsql = mysqli_query($con,$sql);
		if($rh = mysqli_fetch_array($qsql))
		{
$DisplayForm=False;
echo "<script>window.location='show_Specialties.php'</script>";
}
if($DisplayForm)
{
?>


<?php session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include 'headers.php';
//Code for Registration 
if(isset($_POST['signup'])) 

{ 	$narayan=LoginManager::currentUser();
$hari=LoginManager::getUserTypeByuname("$narayan");
    $adminid=$hari; 
  $GeneralSurgery=$_POST['GeneralSurgery'];
  $ENT=$_POST['ENT'];
  $Opthalmology=$_POST['Opthalmology'];
  $Gynaecology=$_POST['Gynaecology'];
  $Orthopaedics=$_POST['Orthopaedics'];
  $Cardi=$_POST['Cardi'];
  $Paediatric=$_POST['Paediatric'];
  $Genitourinary=$_POST['Genitourinary'];
  $Neuro=$_POST['Neuro'];
  $Surgical=$_POST['Surgical'];
  $Medical=$_POST['Medical'];
  $Radiation=$_POST['Radiation'];
  $Burns=$_POST['Burns'];
  $Polytrauma=$_POST['Polytrauma'];
  $Dental=$_POST['Dental'];
  $Paedi=$_POST['Paedi'];
  $Critical=$_POST['Critical'];
  $General=$_POST['General'];
  $Paediatr=$_POST['Paediatr'];
  $Neonatology=$_POST['Neonatology'];
  $Cardiology=$_POST['Cardiology'];
  $Nephrology=$_POST['Nephrology'];
  $Neurology=$_POST['Neurology'];
  $Pulmonology=$_POST['Pulmonology'];
  $Gastroenterology=$_POST['Gastroenterology'];
  $pathologist=$_POST['pathologist'];
  $radiologist=$_POST['radiologist'];
  $anesthesiologist=$_POST['anesthesiologist'];
  $hematologist=$_POST['hematologist'];
  $endocrinology=$_POST['endocrinology'];
 $family_medicine=$_POST['family_medicine'];
  $Physiology=$_POST['Physiology'];
   $Emergency_Trauma=$_POST['Emergency_Trauma'];
  $Radiotherapy=$_POST['Radiotherapy'];
   $Plastic_Surgery=$_POST['Plastic_Surgery'];
   $Urology=$_POST['Urology'];
  $Dermatology=$_POST['Dermatology'];
  $Diabetologists=$_POST['Diabetologists'];
  $Immunologist=$_POST['Immunologist'];
  $Otorhinolaryngology=$_POST['Otorhinolaryngology'];
  $Pharmacology=$_POST['Pharmacology'];
  $Psychiatry=$_POST['Psychiatry'];
  $Community=$_POST['Community'];
  $Forensic=$_POST['Forensic'];
  $IVF=$_POST['IVF'];
  $laparoscopic_general_surgery=$_POST['laparoscopic_general_surgery'];
    $msg=mysqli_query($con,"insert into spc(adminid,GeneralSurgery,ENT,Opthalmology,Gynaecology,Orthopaedics,Cardi,Paediatric,Genitourinary,Neuro,Surgical,Medical,Radiation,Burns,Polytrauma,Dental,Paedi,Critical,General,Paediatr,Neonatology,Cardiology,Nephrology,Neurology,Pulmonology,Gastroenterology,pathologist,radiologist,anesthesiologist,hematologist,endocrinology,family_medicine,Physiology,Emergency_Trauma,Radiotherapy,Plastic_Surgery,Urology,Dermatology,Diabetologists,Immunologist,Otorhinolaryngology,Pharmacology,Psychiatry,Community,Forensic,IVF,laparoscopic_general_surgery)values('$adminid','$GeneralSurgery','$ENT','$Opthalmology','$Gynaecology','$Orthopaedics','$Cardi','$Paediatric','$Genitourinary','$Neuro','$Surgical','$Medical','$Radiation','$Burns','$Polytrauma','$Dental','$Paedi','$Critical','$General','$Paediatr','$Neonatology','$Cardiology','$Nephrology','$Neurology','$Pulmonology','$Gastroenterology','$pathologist','$radiologist','$anesthesiologist','$hematologist','$endocrinology','$family_medicine','$Physiology','$Emergency_Trauma','$Radiotherapy','$Plastic_Surgery','$Urology','$Dermatology','$Diabetologists','$Immunologist','$Otorhinolaryngology','$Pharmacology','$Psychiatry','$Community','$Forensic','$IVF','$laparoscopic_general_surgery')");
    if($msg)
    {
  echo "<script>alert('Specialties Added successfully');</script><script>window.location='hospital_Services.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">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script>
$('input[type="checkbox"]').change(function(e) {

var checked = $(this).prop("checked"),
    container = $(this).parent(),
    siblings = container.siblings();

container.find('input[type="checkbox"]').prop({
  indeterminate: false,
  checked: checked
});

function checkSiblings(el) {

  var parent = el.parent().parent(),
      all = true;

  el.siblings().each(function() {
    let returnValue = all = ($(this).children('input[type="checkbox"]').prop("checked") === checked);
    return returnValue;
  });
  
  if (all && checked) {

    parent.children('input[type="checkbox"]').prop({
      indeterminate: false,
      checked: checked
    });

    checkSiblings(parent);

  } else if (all && !checked) {

    parent.children('input[type="checkbox"]').prop("checked", checked);
    parent.children('input[type="checkbox"]').prop("indeterminate", (parent.find('input[type="checkbox"]:checked').length > 0));
    checkSiblings(parent);

  } else {

    el.parents("li").children('input[type="checkbox"]').prop({
      indeterminate: true,
      checked: false
    });

  }

}

checkSiblings(container);
});
</script>
<body>
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
<form name="signup" method="post">
<h3 align="center">
Specialities
</h3>    
<div  class="account-details">
    <div class="checkbox">
    <input type="checkbox" name="GeneralSurgery" id="GeneralSurgery">
        <span>General Surgery </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="ENT" id="ENT">
         <span>ENT </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Opthalmology" id="Opthalmology">
         <span>Opthalmology  </span></div>
        <div class="checkbox">
        <input type="checkbox" name="Gynaecology" id="Gynaecology">
          <span>Obstetrics & Gynaecology  </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Orthopaedics" id="Orthopaedics">
        <span>Orthopaedics</span> 
        </div>
        <div class="checkbox"> 
        <input type="checkbox" name="Cardi" id="Cardi">
       <span>Cardio Thoracic Surgery </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Paediatric" id="Cardi">
     <span>Paediatric surgery  </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Genitourinary" id="Genitourinary">
      <span>Genitourinary Surgery  </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Neuro" id="Neuro">
        <span>Neuro Surgery </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Surgical" id="Surgical">
      <span>Surgical Oncology </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Medical" id="Medical">
       <span>Medical Oncology </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Radiation" id="Radiation">
      <span>Radiation Oncology</span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Burns" id="Burns">
       <span>Burns,Plastic& reconstructive Surgery </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Polytrauma" id="Polytrauma">
      <span>Polytrauma </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Dental" id="Dental">
        <span>Dental Surgery </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Paedi" id="Paedi">
       <span>Paediatric Cancer </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Critical" id="Critical">
       <span>Critical Care Unit</span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="General" id="General">
       <span>General Medicine  </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Paediatr" id="Paediatr">
       <span>Paediatrics </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Neonatology" id="Neonatology">
      <span>Neonatology </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Cardiology" id="Cardiology">
        <span>Cardiology</span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Nephrology" id="Nephrology">
        <span>Nephrology </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Neurology" id="Neurology">
      <span>Neurology </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Pulmonology" id="Pulmonology">
      <span>Chest diseases and respiratory medicine (Pulmonology) </span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="Gastroenterology" id="Gastroenterology">
      <span>Gastroenterology </span>
        </div> <div class="checkbox">
        <input type="checkbox" name="pathologist" id="pathologist">
      <span>Pathologist </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="radiologist" id="radiologist">
      <span>Radiologist </span>
        </div>
         <div class="checkbox">
        <input type="checkbox" name="anesthesiologist" id="anesthesiologist">
      <span>Anesthesiologist </span>
        </div>
          <div class="checkbox">
        <input type="checkbox" name="hematologist" id="hematologist">
      <span>Hematologist </span>
        </div>
         <div class="checkbox">
        <input type="checkbox" name="endocrinology" id="endocrinology">
      <span>Endocrinology & Metabolism</span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="family_medicine" id="family_medicine">
      <span>family Medicine</span>
        </div>
         <div class="checkbox">
        <input type="checkbox" name="Physiology">
      <span>Physiology</span>
        </div>
         <div class="checkbox">
        <input type="checkbox" name="Emergency_Trauma">
      <span>Emergency and Trauma Care</span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="Radiotherapy">
      <span>Radiotherapy & Radiation </span>
        </div>
        <div class="checkbox">
        <input type="checkbox" name="Plastic_Surgery">
      <span>Plastic Surgery </span>
        </div>
         <div class="checkbox">
        <input type="checkbox" name="Urology">
      <span>Urology </span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="Dermatology">
      <span>Dermatology & Venereology </span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="Diabetologists">
      <span>Diabetologists </span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="Immunologist">
      <span>Immunologist </span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="Otorhinolaryngology">
      <span>Otorhinolaryngology </span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="Pharmacology">
      <span>Pharmacology </span>
        </div>
        
            <div class="checkbox">
        <input type="checkbox" name="Psychiatry">
      <span>Psychiatry</span>
        </div>
            <div class="checkbox">
        <input type="checkbox" name="Community">
      <span>Community Medicine</span>
        </div>
            <div class="checkbox">
        <input type="checkbox" name="Forensic">
      <span>Forensic Medicine </span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="IVF">
      <span>IVF</span>
        </div>
           <div class="checkbox">
        <input type="checkbox" name="laparoscopic_general_surgery">
      <span>Laparoscopic General Surgery </span>
        </div>
        
<input type="submit" value="Submit" name="signup"> 
</form>
<?php
}
?>
</body>
</html>

Anon7 - 2022
AnonSec Team