-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.php
145 lines (136 loc) · 4.97 KB
/
profile.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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?php
session_start();
include("connections.php");
include("functions.php");
$user_data = check_login($connect);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.bundle.min.js" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" />
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/3.6.95/css/materialdesignicons.css" />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Profile</title>
<link rel="stylesheet" href="css/profile-styles.css" />
</head>
<body>
<div class="student-profile py-4">
<div class="container">
<div class="row">
<div class="col-lg-4">
<div class="card shadow-sm">
<div class="card-header bg-transparent text-center">
<img class="profile_img" src="Images/Admin.png" alt="" />
<h3>
<?php echo ($user_data['full_name']); ?>
</h3>
</div>
<div class="card-body">
<p class="mb-0">
<strong class="pr-1">Student ID:</strong>
<?php echo ($user_data['full_name']); ?>
</p>
<p class="mb-0"><strong class="pr-1">Department:</strong>
<?php echo ($user_data['dept']); ?>
</p>
<p class="mb-0"><strong class="pr-1">Status:</strong>
<?php echo ($user_data['stat']); ?>
</p>
</div>
</div>
</div>
<div class="col-lg-8">
<div class="card shadow-sm">
<div class="card-header bg-transparent border-0">
<h3 class="mb-0">
<i class="far fa-clone pr-1"></i>General Information
</h3>
</div>
<div class="card-body pt-0">
<table class="table table-bordered">
<tr>
<th width="30%">Date Of Birth</th>
<td width="2%">:</td>
<td>
<?php echo ($user_data['dob']); ?>
</td>
</tr>
<tr>
<th width="30%">Start Date</th>
<td width="2%">:</td>
<td>
<?php echo ($user_data['sdate']); ?>
</td>
</tr>
<tr>
<th width="30%">Gender</th>
<td width="2%">:</td>
<td>
<?php echo ($user_data['gender']); ?>
</td>
</tr>
<tr>
<th width="30%">Phone</th>
<td width="2%">:</td>
<td>
<?php echo ($user_data['phone']); ?>
</td>
</tr>
<tr>
<th width="30%">Email</th>
<td width="2%">:</td>
<td>
<?php echo ($user_data['email']); ?>
</td>
</tr>
<tr>
<th width="30%">NID/Passport</th>
<td width="2%">:</td>
<td>
<?php echo ($user_data['nid_pass']); ?>
</td>
</tr>
<tr>
<th width="30%">Address</th>
<td width="2%">:</td>
<td>
<?php echo ($user_data['address']); ?>
</td>
</tr>
<!-- <tr>
<th width="30%">Father</th>
<td width="2%">:</td>
<td><?php echo ($user_data['full_name']); ?></td>
</tr>
<tr>
<th width="30%">Contact</th>
<td width="2%">:</td>
<td><?php echo ($user_data['full_name']); ?></td>
</tr>
<tr>
<th width="30%">Mother</th>
<td width="2%">:</td>
<td>B+</td>
</tr>
<tr>
<th width="30%">Contact</th>
<td width="2%">:</td>
<td>B+</td>
</tr> -->
</table>
<!-- <a href="https://google.com" class="button">EDIT</a><br> -->
<a href="Edit-Profile.php?id=<?= $user_data['email']; ?>" class="btn btn-success btn-sm">Edit</a>
<a href="Admin-panel.php" class="button">Return</a>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>