forked from DebMaster/health
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
84 lines (63 loc) · 2.55 KB
/
index.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
<?php
include("header.php");
$admins=$model->getAllAdmins();
$users=$model->getAllClients();
$advice=$model->getAllAdvice();
$cadmin=count($admins);
$cusers=count($users);
$cadvice=count($advice);
?>
<div id="page-wrapper">
<div class="row">
<!-- Page Header -->
<div class="col-lg-12">
<h1 class="page-header">Dashboard</h1>
</div>
<!--End Page Header -->
</div>
<div class="row">
<!-- Welcome -->
<div class="col-lg-12">
<div class="alert alert-info">
<i class="fa fa-folder-open"></i><b> Hello ! </b>Welcome <b><?php echo $_SESSION['name']; ?> </b>
</div>
</div>
<!--end Welcome -->
</div>
<div class="row">
<!--quick info section -->
<div class="col-lg-4">
<div class="alert alert-danger text-center">
<i class="fa fa-user-md fa-3x"></i> <b><?php echo $cadmin; ?> </b>Registered professionals
</div>
</div>
<div class="col-lg-4">
<div class="alert alert-success text-center">
<i class="fa fa-wheelchair fa-3x"></i> <b><?php echo $cusers; ?> </b>Registered clients
</div>
</div>
<div class="col-lg-4">
<div class="alert alert-info text-center">
<i class="fa fa-pencil fa-3x"></i> <b><?php echo $cadvice; ?></b> Advices
</div>
</div>
<!--end quick info section -->
</div>
</div>
</div>
</div>
<!-- end page-wrapper -->
</div>
<!-- end wrapper -->
<!-- Core Scripts - Include with every page -->
<script src="assets/plugins/jquery-1.10.2.js"></script>
<script src="assets/plugins/bootstrap/bootstrap.min.js"></script>
<script src="assets/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="assets/plugins/pace/pace.js"></script>
<script src="assets/scripts/siminta.js"></script>
<!-- Page-Level Plugin Scripts-->
<script src="assets/plugins/morris/raphael-2.1.0.min.js"></script>
<script src="assets/plugins/morris/morris.js"></script>
<script src="assets/scripts/dashboard-demo.js"></script>
</body>
</html>