Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.227.111.197
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//opdset.php
<?php
session_start();
require_once("../LoginManager.php");
require_once("../DBManager.php");
include("dashboarddocument.php");
include("opdtest2322.php");
?>



<?php
$DisplayForm=True;
$sql ="SELECT * FROM potential WHERE prescriptionid='$_GET[prescriptionid]'";
		$qsql = mysqli_query($con,$sql);
		if($rh = mysqli_fetch_array($qsql))
		{
$DisplayForm=False;
echo "<script>window.location='opdslip5.php?prescriptionid=$_GET[prescriptionid]&patientid=$_GET[patientid]'</script>";
}
if($DisplayForm)
{
?>

   <!-- jQuery Library -->
 
<script src="js/jquery.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) { 

	// Find the toggles and hide their content
	$('.toggle').each(function(){
		$(this).find('.toggle-content').hide();
	});

	// When a toggle is clicked (activated) show their content
	$('.toggle a.toggle-trigger').click(function(){
		var el = $(this), parent = el.closest('.toggle');

		if( el.hasClass('active') )
		{
			parent.find('.toggle-content').slideToggle();
			el.removeClass('active');
		}
		else
		{
			parent.find('.toggle-content').slideToggle();
			el.addClass('active');
		}
		return false;
	});

});  //End
</script>
<!-- Toggle CSS -->
<style type="text/css">

/* Main toggle */
.toggle { 
	font-size: 13px;
	line-height:20px;
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: #ffffff; /* Main background */
	margin-bottom: 10px;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;	
}

/* Toggle Link text */
.toggle a.toggle-trigger {
	display:block;
	padding: 10px 10px 10px 10px;
	position:relative;
	text-decoration: none;
	color: #666;
}

/* Toggle Link hover state */
.toggle a.toggle-trigger:hover {
	opacity: .8;
	text-decoration: none;
}

/* Toggle link when clicked */
.toggle a.active {
	text-decoration: none;
	border-bottom: 1px solid #e5e5e5;
	-webkit-box-shadow: 0 8px 6px -6px #ccc;
	   -moz-box-shadow: 0 8px 6px -6px #ccc;
	        box-shadow: 0 8px 6px -6px #ccc;
	color: #000;
}

/* Lets add a "-" before the toggle link */
.toggle a.toggle-trigger:before {
	content: "-";	/* You can add any symbol, font icon, or graphic icon */
	margin-right: 10px;
	font-size: 1.3em;	
}

/* When the toggle is active, change the "-" to a "+" */
.toggle a.active.toggle-trigger:before {
	content: "+";
}

/* The content of the toggle */
.toggle .toggle-content {
	padding: 10px 10px 10px 10px;
	color:#666;
}

</style>
 <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">

	<br>
	
	
	

<!-- Toggle #1 -->
<div class="toggle">
	<!-- Toggle Link -->
	<a href="#" title="Title of Toggle" class="toggle-trigger">Timeline</a>
	<!-- Toggle Content to display -->
	<div class="toggle-content">
		<p><?php include("opdtimiline.php"); ?></p>
	</div><!-- .toggle-content (end) -->
</div><!-- .toggle (end) -->


<div class="toggle">
	<!-- Toggle Link -->
	<a href="#" title="Title of Toggle" class="toggle-trigger">Vitals</a>
	<!-- Toggle Content to display -->
	<div class="toggle-content">
		<p><?php include("vitalslistpatient.php"); ?></p>
	</div><!-- .toggle-content (end) -->
</div><!-- .toggle (end) -->
<div class="toggle">
	<!-- Toggle Link -->
	<a href="#" title="Title of Toggle" class="toggle-trigger">Initial Diagnosis<?php 
		session_start();
$DisplayForm=True;
include("dbconnection.php");
$sql ="SELECT * FROM opdslip WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
$qsql = mysqli_query($con,$sql);
if($rs = mysqli_fetch_array($qsql))
{
$DisplayForm=False;
echo "";
}


if($DisplayForm)
{
    echo "";
} else{
    echo "
     &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;     <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i>";
}
?></a>
	<!-- Toggle Content to display -->
	<div class="toggle-content">
	   
		<p><?php include("opdslip1.php"); ?></p>
	</div><!-- .toggle-content (end) -->
</div><!-- .toggle (end) -->
<!-- Toggle #2 -->
			       
<div class="toggle">
	<!-- Toggle Link -->
	<a href="#" title="Title of Toggle" class="toggle-trigger">Request for Investigation
	<?php 
		session_start();
$DisplayForm=True;
include("dbconnection.php");
$sql ="SELECT * FROM investigation WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
$qsql = mysqli_query($con,$sql);
if($rs = mysqli_fetch_array($qsql))
{
$DisplayForm=False;
echo "";
}


if($DisplayForm)
{
    echo "";
} else{
    echo "
     &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;     <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i>";
}
?>
	</a>
	<!-- Toggle Content to display -->
		<div class="toggle-content">
		<p><?php include("opdslip2.php"); ?></p>
		</div>
			</div>

<div class="toggle">
	<!-- Toggle Link -->
	<a href="#" title="Title of Toggle" class="toggle-trigger">Medication Orders
	<?php 
		session_start();
$DisplayForm=True;
include("dbconnection.php");
$sql ="SELECT * FROM medicinede WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
$qsql = mysqli_query($con,$sql);
if($rs = mysqli_fetch_array($qsql))
{
$DisplayForm=False;
echo "";
}


if($DisplayForm)
{
    echo "";
} else{
    echo "
     &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;     <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i>";
}
?>
	</a>
	<!-- Toggle Content to display -->
		<div class="toggle-content">
		<p><?php include("opdslip3.php"); ?></p>
		</div>
			</div>
			
				<!-- Toggle Content to display -->
	
	
	
		<?php 
	include("dbconnection.php");
		session_start();
		$DisplayForm=True;
$sql7 ="SELECT * FROM Nutrition_Recommendation WHERE  prescriptionid='$_GET[prescriptionid]'";
$qsql7 = mysqli_query($con,$sql7);
if($rs7 = mysqli_fetch_array($qsql7))
{
    $DisplayForm=False;
echo "";
}
if(!$DisplayForm)
{
?>
<!-- Toggle #1 -->
<div class="toggle">
	<!-- Toggle Link -->
	<a href="#" title="Title of Toggle" class="toggle-trigger">Nutrition & Recommendation&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;     <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i>
		<!-- Toggle Content to display -->
	</a><div class="toggle-content">
		<p><?php include("show_Nutrition_Recommendation.php"); ?></p>
	</div><!-- .toggle-content (end) -->
</div><!-- .toggle (end) -->
<!-- Toggle #2 -->

	
	<?php
}
?>

<?php 
	include("dbconnection.php");
		session_start();
		$DisplayForm=True;
$sql7 ="SELECT * FROM Nutrition_Recommendation  WHERE  prescriptionid='$_GET[prescriptionid]'";
$qsql7 = mysqli_query($con,$sql7);
if($rs7 = mysqli_fetch_array($qsql7))
{
    $DisplayForm=False;
echo "";
}
if($DisplayForm)
{
?>
<!-- Toggle #1 -->
<div class="toggle">
	<!-- Toggle Link -->
	<a href="#" title="Title of Toggle" class="toggle-trigger">Nutrition & Recommendation
		<!-- Toggle Content to display -->
		
		</a>
	<div class="toggle-content">
		<p><?php include("Nutrition_Recommendation.php"); ?></p>
	</div><!-- .toggle-content (end) -->
</div><!-- .toggle (end) -->
<!-- Toggle #2 -->


	
	<?php
}
?>	

<div class="toggle">
	<!-- Toggle Link -->
	<a href="#" title="Title of Toggle" class="toggle-trigger">Assessment
	<?php 
		session_start();
$DisplayForm=True;
include("dbconnection.php");
$sql ="SELECT * FROM potential WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
$qsql = mysqli_query($con,$sql);
if($rs = mysqli_fetch_array($qsql))
{
$DisplayForm=False;
echo "";
}


if($DisplayForm)
{
    echo "";
} else{
    echo "
     &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;     <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i>";
}
?>
	</a>
	<div class="toggle-content">
		<p><?php include("opdslip4.php"); ?></p>
		</div>
			</div>
		
<?php
if(isset($_SESSION[adminid]))
{
?>
   
                      <?php
                if(!isset($_SESSION[patientid]))
                {
					
	$sqlbilling_records ="SELECT * FROM billing WHERE appointmentid='$billappointmentid'";
	$qsqlbilling_records = mysqli_query($con,$sqlbilling_records);
	$rsbilling_records = mysqli_fetch_array($qsqlbilling_records);
	if($rsbilling_records[discharge_date] == "0000-00-00")
	{
				  ?>  
				  <table width="557" border="3">
			  <tbody>
				<tr>
				  <th scope="col"><div align="center"><a href="paymentdischarge.php?appointmentid=<?php echo $rsappointment[0]; ?>&patientid=<?php echo $_GET[patientid]; ?>">Make Payment</a></div></th>
				</tr>
			  </tbody>
			</table>
			<?php
	}
                }
                ?>
            </p>
        </div><!-- .toggle-content (end) -->
    </div><!-- .toggle (end) -->
<?php
}
?>
    </p>
  </div>
</div>
</div>
 <div class="clear"></div>

<?php
include("footer.php");
?>
<?php
}
?>

Anon7 - 2022
AnonSec Team