-
Notifications
You must be signed in to change notification settings - Fork 0
/
member.php
87 lines (78 loc) · 2.59 KB
/
member.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
<?php include("admin_header.php"); ?>
<div class="main-content">
<header>
<div>
<span class="ti-search"></span>
<input type="search" placeholder="search">
</div>
<div class="social-icons">
<span class="ti-bell"></span>
<span class="ti-comment"></span>
</div>
</header>
<main>
<section class="recent">
<div class="activity-grid">
<div class="activity-card">
<h3>Recent Activity</h3>
<table>
<thead>
<tr>
<th>Username</th>
<th>eMail</th>
<th>Phone</th>
</tr>
</thead>
<tbody>
<?php
$database = new Database();
$db = $database->connect();
$user = new Users($db);
$user->read();
?>
</tbody>
</table>
</div>
<div class="summary">
<div class="summary-card">
<div class="summary-single">
<span class="ti-id-badge"></span>
<div>
<h5><?php $user->countUser(); ?></h5>
<small>Number of staff</small>
</div>
</div>
<div class="summary-single">
<span class="ti-calendar"></span>
<div>
<small>Number of leave</small>
</div>
</div>
<div class="summary-single">
<span class="ti-face-smile"></span>
<div>
<small>Profile update request</small>
</div>
</div>
</div>
<div class="bday-card">
<div class="bday-flex">
<div class="bday-img"></div>
<div class="bday-info">
<h5>Omar kkdif</h5>
<small>Birthday Today</small>
</div>
</div>
<div class="text-center">
<button>
<span class="ti-gift"></span>
Wish him
</button>
</div>
</div>
</div>
</section>
</main>
</div>
</body>
</html>