-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathStudentProfile.html
More file actions
100 lines (84 loc) · 2.17 KB
/
StudentProfile.html
File metadata and controls
100 lines (84 loc) · 2.17 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
<?php
session_start();
include('connect.php');
?>
<!DOCTYPE html>
<html>
<head>
<title>Student Profile</title>
<style>
body {
background: linear-gradient(135deg, #71b7e6, #9b59b6);
}
.container {
max-height: 800px;
max-width: 800px;
margin-top: 5%;
margin-left: 25%;
padding: 20px;
background-image: url(Image/Student_Background.jpg);
background-size: cover;
background-position: center;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
text-align: center;
}
h1 {
color: #333;
}
.profile-img {
width: 150px;
height: 150px;
border-radius: 50%;
margin: 20px auto;
border: 5px solid #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.name {
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
}
.info {
font-size: 18px;
margin-bottom: 10px;
}
.btn {
display: inline-block;
padding: 10px 20px;
background-color: #ff69b4;
/* Pink color */
color: #fff;
text-decoration: none;
border-radius: 5px;
margin: 10px;
transition: background-color 0.3s ease-in-out;
}
.btn:hover {
background-color: #ff1493;
/* Darker pink color on hover */
}
.btn-primary {
background-color: #4169e1;
/* Royal blue color */
}
.btn-primary:hover {
background-color: #1e90ff;
/* Darker blue color on hover */
}
</style>
</head>
<body>
<div class="container">
<h1>Student Profile</h1>
<h2><?php echo $_SESSION['userID'] ?></h2>
<img src="https://www.freeiconspng.com/uploads/blue-user-icon-32.jpg" alt="Profile Picture"
class="profile-img" />
<div class="name"><?php echo $_SESSION['name'] ?></div>
<div class="info"><?php echo $_SESSION['mail'] ?></div>
<div class="info"><?php echo $_SESSION['gender'] ?></div>
<a href="#" class="btn">Edit Profile</a>
<a href="#" class="btn btn-primary">Delete Profile</a>
</div>
</body>
</html>