-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.php
85 lines (75 loc) · 2.64 KB
/
about.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Information</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
background-color: #007bff;
}
.info-container {
margin-top: 50px;
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
.info-title {
text-align: center;
margin-bottom: 30px;
color: #fd7e14;
}
.info-item {
font-size: 1.2em;
margin-bottom: 10px;
border-bottom: 2px solid #28a745;
padding-bottom: 10px;
}
</style>
</head>
<body>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="info-container">
<h1 class="info-title">User Information</h1>
<div class="info-item">
<strong>Name:</strong> <?php echo $_SESSION['name']; ?>
</div>
<div class="info-item">
<strong>Phone Number:</strong> <?php echo $_SESSION['pnumber']; ?>
</div>
<div class="info-item">
<strong>Email:</strong> <?php echo $_SESSION['email']; ?>
</div>
<div class="info-item">
<strong>Gender:</strong> <?php echo $_SESSION['gender']; ?>
</div>
<div class="info-item">
<strong>Country:</strong> <?php echo $_SESSION['country']; ?>
</div>
<div class="info-item">
<strong>Skills:</strong>
<?php
foreach ($_SESSION['skills'] as $skill) {
if ($skill != "None") {
echo $skill . ", ";
}
}
?>
</div>
<div class="info-item">
<strong>Biography:</strong> <?php echo $_SESSION['biography']; ?>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>