-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestpage.html
More file actions
111 lines (95 loc) · 2.36 KB
/
Copy pathtestpage.html
File metadata and controls
111 lines (95 loc) · 2.36 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<html>
<head>
<style>
.panel {
background: white;
padding: 25px;
border-radius: 10px;
border: 1px solid #d9dfe7;
max-width: 850px;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.panel-title {
font-size: 22px;
font-weight: 700;
color: #0b3c75;
margin-bottom: 20px;
}
.profile-table {
width: 100%;
border-collapse: collapse;
}
.profile-table td {
padding: 10px 8px;
font-size: 15px;
}
.profile-table tr td:first-child {
font-weight: bold;
color: #0b3c75;
width: 200px;
}
.profile-table tr:nth-child(even) {
background: #f7f9fc;
}
.edit-btn {
margin-top: 25px;
display: inline-block;
padding: 10px 18px;
background: #0b3c75;
color: #fff;
text-decoration: none;
border-radius: 6px;
}
.edit-btn:hover {
background: #0d4b93;
}
</style>
</head>
<body>
<!-- PROFILE SECTION -->
<div class="section active" id="profile">
<div class="panel">
<div class="panel-title">👤 Student Profile</div>
<table class="profile-table">
<tr>
<td>Username</td>
<td><?= $_SESSION["fullname"]; ?></td>
</tr>
<tr>
<td>Student Number</td>
<td><?= $student["student_number"]; ?></td>
</tr>
<tr>
<td>Email</td>
<td><?= $student["email"]; ?></td>
</tr>
<tr>
<td>Phone</td>
<td><?= $student["phone"]; ?></td>
</tr>
<tr>
<td>First Name</td>
<td><?= $student["first_name"]; ?></td>
</tr>
<tr>
<td>Last Name</td>
<td><?= $student["last_name"]; ?></td>
</tr>
<tr>
<td>Date of Birth</td>
<td><?= $student["dob"]; ?></td>
</tr>
<tr>
<td>Address</td>
<td><?= $student["address"]; ?></td>
</tr>
<tr>
<td>Emergency Phone</td>
<td><?= $student["emergency_phone"]; ?></td>
</tr>
</table>
<a href="update_student_profile.php" class="edit-btn">Edit Profile</a>
</div>
</div>
</body>
</html>