Server IP : 162.240.98.243 / Your IP : 18.189.189.67 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 : |
<?php include("dbconnection.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"; } } ?> <!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" /> <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: left; 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 id="number"> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Hospital Login</title> <!-- Bootstrap --> <link href="bootstrap.minindex.css" rel="stylesheet"> <link href="styleindex.css" rel="stylesheet"> </head> <body> <div class="container"> <!-- start --> <div class="login-container"> <div id="output"></div> <div class="avatar"></div> <div class="form-box"> <form class="form" role="form" action="otpnumber.php" method="GET" accept-charset="UTF-8"> <input name="numbers" type="text" placeholder="Mobile Number" required> <button class="btn btn-info btn-block login" type="submit">Submit</button> </form> </div> </div> <!-- end --> </div> <script src="jqueryindex.js"></script> <!-- js start --> <!-- js end --> </body> </html> <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> </body> </html>