-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.php
71 lines (71 loc) · 3.07 KB
/
register.php
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
session_start();
if(isset($_SESSION['id'])){
header('Location:account.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'includes/header.php';?>
</head>
<body class="bg-light">
<?php include 'includes/topbar.php';?>
<hr/>
<?php include 'includes/navigation.php'; ?>
<div class="container mt-5">
<div class="row">
<div class="col-md-6 mx-auto">
<div class="card">
<div class="card-header">
<p class="h4 text-center">Register For An Account</p>
</div>
<div class="card-body">
<div class="my-3 text-center">
<?php include 'functions/register.inc.php'; ?>
</div>
<form action="register.php" method="post">
<div class="my-3">
<label for="name">Full name</label>
<div class="input-group">
<span class="input-group-text"><i class="bi bi-person"></i></span>
<input type="text" name="name" id="" class="form-control border border-dark" placeholder="Full name">
</div>
</div>
<div class="my-3">
<label for="name">Email</label>
<div class="input-group">
<span class="input-group-text"><i class="bi bi-envelope"></i></span>
<input type="text" name="email" id="" class="form-control border border-dark" placeholder="Email address">
</div>
</div>
<div class="my-3">
<label for="name">Username</label>
<div class="input-group">
<span class="input-group-text"><i class="bi bi-people"></i></span>
<input type="text" name="username" id="" class="form-control border border-dark" placeholder="Username">
</div>
</div>
<div class="my-3">
<label for="name">Password</label>
<div class="input-group">
<span class="input-group-text"><i class="bi bi-lock"></i></span>
<input type="password" name="password" id="" class="form-control border border-dark" placeholder="Password">
</div>
</div>
<div class="my-3">
<input type="submit" name="submit" class="form-control btn btn-success btn-lg" value="Register">
</div>
</form>
</div>
<div class="card-footer">
<p>Already a member? <a href="login.php">Login Here</a></p>
</div>
</div>
</div>
</div>
</div>
<?php include 'includes/footer.php';?>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>