-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
45 lines (43 loc) · 1.71 KB
/
register.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<title>User Registration Page</title>
</head>
<body>
<?php
if (isset($message)) {
foreach ($message as $msg) {
echo '
<div class="message">
<span>'.$msg.'</span>
<i class="bi bi-x-circle" onclick="this.parentElement.remove()"></i>
</div>
';
}
}
?>
<section class="form-container">
<form action="" method="post">
<h3>register now</h3>
<section class="social-icons">
<a href="#" class="icon"><i class="fa-brands fa-google"></i></a>
<a href="#" class="icon"><i class="fa-brands fa-facebook"></i></a>
<a href="#" class="icon"><i class="fa-brands fa-instagram"></i></a>
<a href="#" class="icon"><i class="fa-brands fa-linkedin-in"></i></a>
</section>
<input type="text" name="name" placeholder="enter your name" required>
<input type="email" name="email" placeholder="enter your email" required>
<input type="password" name="password" placeholder="enter your password" required>
<input type="password" name="cpassword" placeholder="re-enter your password" required>
<input type="submit" name="submit-btn" class="btn" value="register now">
<p>
Already have an account ? <a href="login.php">login now</a>
</p>
</form>
</section>
</body>
</html>