-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup-success.php
More file actions
68 lines (60 loc) · 2.58 KB
/
signup-success.php
File metadata and controls
68 lines (60 loc) · 2.58 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
session_start();
// Redirect if no registration data
if (!isset($_SESSION['registration_data'])) {
header('Location: login.php');
exit;
}
$user_data = $_SESSION['registration_data'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Success - BCP Event System</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css">
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</head>
<body>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card shadow-sm">
<div class="card-body text-center p-5">
<img src="<?php echo htmlspecialchars($user_data['profile_picture']); ?>"
alt="Profile Picture"
class="rounded-circle mb-4"
style="width: 120px; height: 120px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 15px rgba(0,0,0,0.1);">
<h1 class="display-6 mb-4">Registration Successful!</h1>
<div class="table-responsive mb-4">
<table class="table">
<tbody>
<tr>
<th>Full Name:</th>
<td><?php echo htmlspecialchars($user_data['fullname']); ?></td>
</tr>
<tr>
<th>Email:</th>
<td><?php echo htmlspecialchars($user_data['email']); ?></td>
</tr>
</tbody>
</table>
</div>
<p class="text-muted mb-4">
Your account has been created successfully.<br>
Please wait for administrator approval.
</p>
<a href="login.php" class="btn btn-primary">Back to Login</a>
</div>
</div>
</div>
</div>
</div>
<?php
// Clear the registration data from session
unset($_SESSION['registration_data']);
?>
</body>
</html>