-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard.php
More file actions
139 lines (139 loc) · 9.54 KB
/
dashboard.php
File metadata and controls
139 lines (139 loc) · 9.54 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
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
<div class="row tm-content-row">
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6 tm-block-col">
<div class="tm-bg-primary-dark tm-block">
<h2 class="tm-block-title">Latest Hits</h2>
<canvas id="lineChart"></canvas>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6 tm-block-col">
<div class="tm-bg-primary-dark tm-block">
<h2 class="tm-block-title">Performance</h2>
<canvas id="barChart"></canvas>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6 tm-block-col">
<div class="tm-bg-primary-dark tm-block tm-block-taller">
<h2 class="tm-block-title">Storage Information</h2>
<div id="pieChartContainer">
<canvas id="pieChart" class="chartjs-render-monitor" width="200" height="200"></canvas>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6 tm-block-col">
<div class="tm-bg-primary-dark tm-block tm-block-taller tm-block-overflow">
<h2 class="tm-block-title">Notification List</h2>
<div class="tm-notification-items">
<div class="media tm-notification-item">
<div class="tm-gray-circle"><img src="./assets/img/notification-01.jpg" alt="Avatar Image" class="rounded-circle"></div>
<div class="media-body">
<p class="mb-2"><b>Jessica</b> and <b>6 others</b> sent you new <a href="#"
class="tm-notification-link">product updates</a>. Check new orders.</p>
<span class="tm-small tm-text-color-secondary">6h ago.</span>
</div>
</div>
<div class="media tm-notification-item">
<div class="tm-gray-circle"><img src="./assets/img/notification-02.jpg" alt="Avatar Image" class="rounded-circle"></div>
<div class="media-body">
<p class="mb-2"><b>Oliver Too</b> and <b>6 others</b> sent you existing <a href="#"
class="tm-notification-link">product updates</a>. Read more reports.</p>
<span class="tm-small tm-text-color-secondary">6h ago.</span>
</div>
</div>
<div class="media tm-notification-item">
<div class="tm-gray-circle"><img src="./assets/img/notification-03.jpg" alt="Avatar Image" class="rounded-circle"></div>
<div class="media-body">
<p class="mb-2"><b>Victoria</b> and <b>6 others</b> sent you <a href="#"
class="tm-notification-link">order updates</a>. Read order information.</p>
<span class="tm-small tm-text-color-secondary">6h ago.</span>
</div>
</div>
<div class="media tm-notification-item">
<div class="tm-gray-circle"><img src="./assets/img/notification-01.jpg" alt="Avatar Image" class="rounded-circle"></div>
<div class="media-body">
<p class="mb-2"><b>Laura Cute</b> and <b>6 others</b> sent you <a href="#"
class="tm-notification-link">product records</a>.</p>
<span class="tm-small tm-text-color-secondary">6h ago.</span>
</div>
</div>
<div class="media tm-notification-item">
<div class="tm-gray-circle"><img src="./assets/img/notification-02.jpg" alt="Avatar Image" class="rounded-circle"></div>
<div class="media-body">
<p class="mb-2"><b>Samantha</b> and <b>6 others</b> sent you <a href="#"
class="tm-notification-link">order stuffs</a>.</p>
<span class="tm-small tm-text-color-secondary">6h ago.</span>
</div>
</div>
<div class="media tm-notification-item">
<div class="tm-gray-circle"><img src="./assets/img/notification-03.jpg" alt="Avatar Image" class="rounded-circle"></div>
<div class="media-body">
<p class="mb-2"><b>Sophie</b> and <b>6 others</b> sent you <a href="#"
class="tm-notification-link">product updates</a>.</p>
<span class="tm-small tm-text-color-secondary">6h ago.</span>
</div>
</div>
<div class="media tm-notification-item">
<div class="tm-gray-circle"><img src="./assets/img/notification-01.jpg" alt="Avatar Image" class="rounded-circle"></div>
<div class="media-body">
<p class="mb-2"><b>Lily A</b> and <b>6 others</b> sent you <a href="#"
class="tm-notification-link">product updates</a>.</p>
<span class="tm-small tm-text-color-secondary">6h ago.</span>
</div>
</div>
<div class="media tm-notification-item">
<div class="tm-gray-circle"><img src="./assets/img/notification-02.jpg" alt="Avatar Image" class="rounded-circle"></div>
<div class="media-body">
<p class="mb-2"><b>Amara</b> and <b>6 others</b> sent you <a href="#"
class="tm-notification-link">product updates</a>.</p>
<span class="tm-small tm-text-color-secondary">6h ago.</span>
</div>
</div>
<div class="media tm-notification-item">
<div class="tm-gray-circle"><img src="./assets/img/notification-03.jpg" alt="Avatar Image" class="rounded-circle"></div>
<div class="media-body">
<p class="mb-2"><b>Cinthela</b> and <b>6 others</b> sent you <a href="#"
class="tm-notification-link">product updates</a>.</p>
<span class="tm-small tm-text-color-secondary">6h ago.</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 tm-block-col">
<div class="tm-bg-primary-dark tm-block tm-block-taller tm-block-scroll">
<h2 class="tm-block-title">Clients List</h2>
<table class="table">
<thead>
<tr>
<th scope="col">Identification</th>
<th scope="col">Name</th>
<th scope="col">secon name</th>
<th scope="col">LOCATION</th>
<th scope="col">Email</th>
<th scope="col">phone number</th>
</tr>
</thead>
<tbody>
<?php
$rec = $db->query("SELECT * FROM client ")->fetchAll(PDO::FETCH_OBJ);
$clientsize = sizeof($rec);
for($z=0; $z<$clientsize;$z++){
echo('
<tr>
<th scope="row"><b>'.$rec[$z]->Id.'</b></th>
<td>
<div class="tm-status-circle moving">
</div>'.$rec[$z]->nom.'
</td>
<td><b>'.$rec[$z]->prenom.'</b></td>
<td><b>'.$rec[$z]->localisation.'</b></td>
<td><b>'.$rec[$z]->email.'</b></td>
<td>'.$rec[$z]->telephone.'</td>
</tr>
');
}
?>
</tbody>
</table>
</div>
</div>
</div>