-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
64 lines (58 loc) · 1.41 KB
/
home.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
<?php
include 'inc/header.php';
include 'lib/user.php';
Session::checkSession();
$user = new User();
?>
<?php
$loginmsg = Session::get("loginmsg");
if (isset($loginmsg)) {
echo $loginmsg;
}
Session::set("loginmsg", NULL);
?>
<div class="panel panel-default">
<div class="panel-heading">
<h2>User List<span class="pull-right"><strong>Welcome</strong>
<?php
$name = Session::get("name");
if (isset($name)) {
echo $name;
}
?>
</span></h2>
</div>
<div class="panel-body">
<table class="table table-striped">
<th width="20%">Serial</th>
<th width="20%">Name</th>
<th width="20%">Username</th>
<th width="20%">Email</th>
<th width="20%">Action</th>
<tr>
<td>01</td>
<td>MD.Rasel Hossain</td>
<td>Rasel</td>
<td>[email protected]</td>
<td><a class="btn btn-primary" href="profile.php?id=1">View</a></td>
</tr>
<tr>
<td>02</td>
<td>Fatmi Oubaidute Tohra</td>
<td>Tohra</td>
<td>[email protected]</td>
<td><a class="btn btn-primary" href="profile.php?id=1">View</a></td>
</tr>
<tr>
<td>03</td>
<td>Samira Yeasmin Shaluk</td>
<td>Shaluk</td>
<td>[email protected]</td>
<td><a class="btn btn-primary" href="profile.php?id=1">View</a></td>
</tr>
</table>
</div>
</div>
<?php
include 'inc/footer.php';
?>