-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup.php
More file actions
53 lines (49 loc) · 2.09 KB
/
Copy pathsignup.php
File metadata and controls
53 lines (49 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php include('controllers/register.php'); ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.min.css" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
<title>PHP: User Authentication System - Sign Up</title>
<!-- jQuery + Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="registration-form">
<form action="" method="post">
<div class="form-icon">
<span><i class="icon icon-user"></i></span>
</div>
<div class="form-group">
<input type="email" class="form-control item" name="email" id="email" placeholder="Email">
<?php echo $_emailErr; ?>
<?php echo $emailEmptyErr; ?>
</div>
<div class="form-group">
<input type="password" class="form-control item" name="password" id="password" placeholder="Password">
<?php echo $_passwordErr; ?>
<?php echo $passwordEmptyErr; ?>
</div>
<div class="form-group">
<input type="password" class="form-control item" name="confirm_password" id="confirm_password" placeholder="Confirm Password">
<?php echo $confirmPasswordEmptyErr; ?>
<?php echo $passwordsDontMatchErr; ?>
</div>
<div class="form-group">
<button type="submit" class="btn btn-block submit" name="register" id="register">Create Account</button>
</div>
<?php echo $email_exist; ?>
</form>
<div class="alternate">
<h5>Already have an account?</h5>
<div class="option">
<a href="index.php">Login</a>
</div>
</div>
</div>
</body>
</html>