-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
110 lines (107 loc) · 5.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
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
<?php
include('header.php');
?>
<div class="main-panel">
<div class="content-wrapper">
<div class="row" id="proBanner">
<div class="col-8">
</div>
<div class="col-4">
<span class="d-flex align-items-center search-popup">
<!-- <form class="d-flex align-items-center h-100" action="search.php" method="GET">
<div class="input-group">
<div class="input-group-prepend bg-white">
<i class="input-group-text border-0 mdi mdi-magnify"></i>
</div>
<input type="text" name="term" class="form-control bg-white border-0" placeholder="Search courses">
<div class="input-group-append bg-white">
<button type="submit" name="submit" class="btn btn-primary">Search</button>
</div>
</div>
</form> -->
</span>
</div>
</div><br><br>
<div class="d-xl-flex justify-content-between align-items-start">
<h2 class="text-dark font-weight-bold mb-2"> Overview Dashboard </h2>
<div class="d-sm-flex justify-content-xl-between align-items-center mb-2">
<div class="dropdown ml-0 ml-md-4 mt-2 mt-lg-0">
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="d-sm-flex justify-content-between align-items-center transparent-tab-border">
</div>
<div class="tab-content tab-transparent-content">
<div class="tab-pane fade show active" id="dashboard-1" role="tabpanel" aria-labelledby="dashboard-tab">
<div class="row">
<div class="col-xl-3 col-lg-6 col-sm-6 grid-margin stretch-card">
<div class="card">
<div class="card-body text-center">
<div><i style="font-size: 40px;" class="text-light mdi mdi-format-list-bulleted-type icon-md"></i></div>
<hr>
<h4 class="mb-2 text-primary font-weight-bold">Your Active Courses</h4>
<h2 class="mb-2 text-secondary font-weight-bold"><?php echo $numActiveCourses ?> </h2>
<hr>
<p class=""> Courses you have started</p>
<a href="coursesActive.php" class="btn btn-dark">
VIEW COURSES
</a>
</div>
</div>
</div>
<div class="col-xl-3 col-lg-6 col-sm-6 grid-margin stretch-card">
<div class="card">
<div class="card-body text-center">
<div><i style="font-size: 40px;" class="text-light mdi mdi-check icon-md"></i></div>
<hr>
<h4 class="mb-2 text-primary font-weight-bold">Your Available Courses</h4>
<h2 class="mb-2 text-secondary font-weight-bold"><?php echo $numCourses?></h2>
<hr>
<p class=""> Courses ready to be started </p>
<a href="coursesAvailable.php" class="btn btn-dark">
VIEW COURSES
</a>
</div>
</div>
</div>
<div class="col-xl-3 col-lg-6 col-sm-6 grid-margin stretch-card">
<div class="card">
<div class="card-body text-center">
<div><i style="font-size: 40px;" class="text-light mdi mdi-window-close icon-md"></i></div>
<hr>
<h4 class="mb-2 text-primary font-weight-bold">Your Archived Courses</h4>
<h2 class="mb-2 text-secondary font-weight-bold"><?php echo $numArchiveCourses?></h2>
<hr>
<p class="">Courses that are placed on hold</p>
<a href="coursesArchived.php" class="btn btn-dark">
VIEW COURSES
</a>
</div>
</div>
</div>
<div class="col-xl-3 col-lg-6 col-sm-6 grid-margin stretch-card">
<div class="card">
<div class="card-body text-center">
<div><i style="font-size: 40px;" class="text-light mdi mdi-check icon-md"></i></div>
<hr>
<h4 class="mb-2 text-primary font-weight-bold">Your Completed Courses</h4>
<h2 class="mb-2 text-secondary font-weight-bold"><?php echo $numCompleteCourses ?></h2>
<hr>
<p class="">Courses you completed successfully</p>
<a href="coursesCompleted.php" class="btn btn-dark">
VIEW COURSES
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
include('footer.php')
?>