Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.119.103.204
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/www/login.easenup.in/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/www/login.easenup.in/update_profile.php
<?php session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include 'header.php';
include 'workdeskmenu.php';
include 'dbconnection.php';
//Code for Registration 
if(isset($_POST['signup'])) 
{ 
    $narayan=LoginManager::currentUser();
$hari=LoginManager::getUserTypeByuname("$narayan");
$sql ="UPDATE dr SET typevisit='$_POST[typevisit]',Drname='$_POST[Drname]',regi_nm='$_POST[regi_nm]',Qualification='$_POST[Qualification]',numbers='$_POST[numbers]',Specialty='$_POST[Specialty]',hindi='$_POST[hindi]',english='$_POST[english]',local='$_POST[local]',VideoConsultation='$_POST[VideoConsultation]',Video_fee='$_POST[Video_fee]',Teleconsultation='$_POST[Teleconsultation]',Tele_fee='$_POST[Tele_fee]',VisitConsultant='$_POST[VisitConsultant]',Visit_fee='$_POST[Visit_fee]',opd_EMG_fee='$_POST[opd_EMG_fee]',ipd='$_POST[ipd]',ipd_visit_fee='$_POST[ipd_visit_fee]',ipd_EMG_fee='$_POST[ipd_EMG_fee]',hsname='$_POST[hsname]' WHERE drid='$_GET[drid]'";
if($qsql = mysqli_query($con,$sql))
		{
    echo "<script>alert('Doctors Profile update successfully');</script><script>
 window.history.go(-2)</script>";
  } else {
    echo "Sorry, there was an error uploading your file.";
  } 
    
}

?>


<script>

  function myFunction() {
  var checkBox = document.getElementById("myCheck");
  var text = document.getElementById("text");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction1() {
  var checkBox = document.getElementById("myCheck1");
  var text = document.getElementById("text1");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction2() {
  var checkBox = document.getElementById("myCheck2");
  var text = document.getElementById("text2");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}

function myFunction21() {
  var checkBox = document.getElementById("myCheck21");
  var text = document.getElementById("text21");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
</script>
<div class="content-wrapper">
        <section class="content-header">
<form name="signup" method="post">
<!DOCTYPE html>
<html lang="en">

<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title> Pt Signup</title>
<meta charset="UTF-8">
<meta name='viewport" content="width=device-width, initial-scale=1">

</head>
<body>
    
    	<h3><i class="fa fa-angle-right"></i> Registration Doctors </h3>
    	    	<?php
	$narayan=LoginManager::currentUser();
$usertype=LoginManager::getUserTypeByuname("$narayan");
		$sql1 ="SELECT * FROM dr WHERE drid='$_GET[drid]'";
		$qsql1 = mysqli_query($con,$sql1);
		while($rsn = mysqli_fetch_array($qsql1))
		{
        echo "
    <label for='item'> Type of Visit <span>*</span></label>
    	      <select name='typevisit' required>
    	        <option value='$rsn[typevisit]'>$rsn[typevisit]</option>
    	          <option value='Regular Consultancy'>Regular Consultancy</option>
    	          <option value='Visit Consultancy'>Visit Consultancy</option>
    	             <option value='On call'>On call</option>
    	      </select>
    	   <label for='item'> Doctors name <span>*</span></label>
<input  type='text' name='Drname' value='$rsn[Drname]' readonly>

	   <label >Registration Number<span></span></label>
<input type='text' name='regi_nm' value='$rsn[regi_nm]'>
<label >Education Qualification <span>*</span></label>
<input  type='text' name='Qualification' value='$rsn[Qualification]'>
 <label > Email id<span>*</span></label>
<input  type='email' name='user_id' value='$rsn[user_id]' readonly>
<label > Mobile Number<span>*</span></label>
<input  type='text' name='numbers' value='$rsn[numbers]'>
<label > Specialty<span>*</span></label>
<select name='Specialty'>
<option value='$rs[Specialty]' disabled selected>$rsn[Specialty]</option>
<option> General Physician</option>
 <option>General Medicine</option>
<option> General Surgery</option>
<option> ENT</option>
<option> Opthalmology/Eye Care</option>
 <option>Obstetrics & Gynaecology</option>
 <option>Orthopaedics</option>
 <option>Paediatric </option>
  <option>Paediatric Surgery</option>
<option> Genitourinary Surgery</option>
 <option>Neurology</option>
<option> Neuro Surgery</option>
<option> Medical Oncology</option>
<option> Surgical Oncology</option>
 <option>Paediatrics Cancer</option>
<option> Radiation Oncology</option>
<option> Burns,Plastic& reconstructive Surgery</option>
 <option>Polytrauma</option>
<option> Dental Surgery</option>
 <option>Critical Care Unit</option>
 <option>Paediatrics</option>
<option> Neonatology</option>
<option> Cardiology</option>
 <option>Cardio Thoracic Surgery</option>
 <option>Nephrology</option>
 <option>Chest diseases and respiratory medicine (Pulmonology)</option>

</select>

";
if(Hindi==$rsn[hindi])
{
    echo"
<div class='checkbox'>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type='checkbox' name='hindi' value='Hindi' checked><span>Hindi</span> 
  </div>";
}
else
{
    echo"
<div class='checkbox'>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type='checkbox' name='hindi' value='Hindi'><span>Hindi</span> 
  </div>";
}

if(English==$rsn[english])
{
    echo"
<div class='checkbox'>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type='checkbox' name='english' value='English' checked><span>English</span> 
  </div>
  ";
}
else
{
    echo"
    <div class='checkbox'>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type='checkbox' name='english' value='English' ><span>English</span> 
  </div>
    ";
}
if(Local==$rsn[local])
{
    echo"
<div class='checkbox'>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type='checkbox' name='local' value='Local' checked><span>Local</span> 
  </div>
  ";
}
else
{
    echo"
    <div class='checkbox'>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type='checkbox' name='local' value='Local' ><span>Local</span> 
  </div>
    ";
}
if(on==$rsn[VideoConsultation])
{
    echo"
<div class='checkbox'> <input name='VideoConsultation'  type='checkbox'checked><span>Video Consultation </span></div>

<label > Video Consultation fee</label>
<input  type='text' name='Video_fee' value='$rsn[Video_fee]'>

";
}
else{
    echo"
    <div class='checkbox'> <input name='VideoConsultation'  type='checkbox'checked><span>Video Consultation </span></div>

<label > Video Consultation fee</label>
<input  type='text' name='Video_fee' value='$rsn[Video_fee]'>
    ";
}
if(on==$rsn[Teleconsultation])
{
    echo"
<div class='checkbox'> <input name='Teleconsultation' id='myCheck1' onclick='myFunction1()' type='checkbox' checked>Tele Consultation</div>

<label >Tele Consultation fee</label>
<input  type='text' name='Tele_fee' value='$rsn[Tele_fee]'>
";
}
else{
    echo"
<div class='checkbox'> <input name='Teleconsultation' id='myCheck1' onclick='myFunction1()' type='checkbox' >Tele Consultation</div>

<label >Tele Consultation fee</label>
<input  type='text' name='Tele_fee' value='$rsn[Tele_fee]'>
";
}
if(on==$rsn[VisitConsultant])
{
    echo"
<div class='checkbox'> <input name='VisitConsultant' id='myCheck2' onclick='myFunction2()' type='checkbox' checked>Face to face Consultation </div>
<label >Face to face Consultation fee</label>
<input  type='text' name='Visit_fee' value='$rsn[Visit_fee]'>
<label >Face to face  Emergency fee</label>
<input  type='text' name='opd_EMG_fee' value='$rsn[opd_EMG_fee]'>
";
}
else
{
    echo"
<div class='checkbox'> <input name='VisitConsultant' id='myCheck2' onclick='myFunction2()' type='checkbox'>Face to face Consultation </div>
<label >Face to face Consultation fee</label>
<input  type='text' name='Visit_fee' value='$rsn[Visit_fee]'>
<label >Face to face  Emergency fee</label>
<input  type='text' name='opd_EMG_fee' value='$rsn[opd_EMG_fee]'>
";  
}
if(on==$rsn[ipd])
{
    echo"
<div class='checkbox'> <input name='ipd' id='myCheck2' onclick='myFunction2()' type='checkbox' checked>IPD Consultation </div>
<label >Visit fee</label>
<input  type='text' name='ipd_visit_fee' value='$rsn[ipd_visit_fee]'>
<label >Emergency Visit fee</label>
<input  type='text' name='ipd_EMG_fee' value='$rsn[ipd_EMG_fee]'>
";
}
else
{
    echo"
<div class='checkbox'> <input name='ipd' id='myCheck2' onclick='myFunction2()' type='checkbox' checked>IPD Consultation </div>
<label >Visit fee</label>
<input  type='text' name='ipd_visit_fee' value='$rsn[ipd_visit_fee]'>
<label >Emergency Visit fee</label>
<input  type='text' name='ipd_EMG_fee' value='$rsn[ipd_EMG_fee]'>
";  
}
}
?>
<button type='submit' name='signup'>Submit
</button>
</form>

</body>


</html>


Anon7 - 2022
AnonSec Team