-
Notifications
You must be signed in to change notification settings - Fork 0
/
collectives.php
278 lines (268 loc) · 9.99 KB
/
collectives.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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/dashboard.css">
<link rel="stylesheet" href="assets/bootstrap-4/css/bootstrap.min.css">
<script type="text/javascript" src="assets/js/filter-table.js"></script>
<script type="text/javascript" src="assets/js/jquery.min.js"></script>
<script type="text/javascript" src="assets/js/popper.min.js"></script>
<script type="text/javascript" src="assets/bootstrap-4/js/bootstrap.min.js"></script>
<script src="https://kit.fontawesome.com/b1b0cba1bb.js" crossorigin="anonymous"></script>
<title>Admin</title>
</head>
<body>
<?php
session_start();
if(isset($_SESSION['username'])){
?>
<div class="sidebar-container" id="navItem">
<a href="#" class="navbar-brand">
<img src="assets/image/logo.png" height="200">
</a>
<ul class="sidebar-navigation">
<li>
<a href="admin.php">
<i class="fa fa-dashboard" aria-hidden="true"></i> Dashboard
</a>
</li>
<li>
<a href="department.php">
<i class="fa fa-user-tie" aria-hidden="true"></i> Professors
</a>
</li>
<li>
<a href="student.php">
<i class="fa fa-users" aria-hidden="true"></i> Students
</a>
</li>
<li>
<a href="#" class="active">
<i class="fa fa-files-o" aria-hidden="true"></i> Collectives
</a>
</li>
<li>
<a href="subjects.php">
<i class="fa fa-list-alt" aria-hidden="true"></i> Subjects
</a>
</li>
<li>
<a href="schedule.php">
<i class="fa fa-calendar" aria-hidden="true"></i> Schedule
</a>
</li>
<li>
<a href="manageAcc.php">
<i class="fa fa-tasks" aria-hidden="true"></i> Manage Accounts
</a>
</li>
<li>
<a href="logout.php">
<i class="fa fa-sign-out" aria-hidden="true"></i> Logout
</a>
</li>
</ul>
</div>
<div class="content">
<div class="content-container">
<nav class="navbar navbar-light bg-light justify-content-between">
<a class="navbar-brand">Collectives</a>
<form class="form-inline">
<input type="text" id="myInput" class="form-control mr-sm-2" onkeyup="myFunction()" placeholder="Search for name..">
</form>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card border-light mb-3">
<div class="card-header card-header-primary card-header-tabs">
<h4 class="card-title">Student</h4>
<p class="card-category">Enrollment Requirements on 26th September, 2021</p>
</div>
<div class="card-body table-responsive">
<table id="myTable" class="table table-hover">
<thead class="text-warning">
<th>ID</th>
<th>Name</th>
<th>Course</th>
<th>Year</th>
<th>Section</th>
<th scope="col">Actions</th>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Sarah Grace Arlyn Oben</td>
<td>BSCS</td>
<td>3rd</td>
<td>C</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>2</td>
<td>Juan Paolo Ortega</td>
<td>BSCS</td>
<td>3rd</td>
<td>C</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>3</td>
<td>Justine Podiotan</td>
<td>BSCS</td>
<td>3rd</td>
<td>C</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>4</td>
<td>Jessica Joy Gapusan</td>
<td>BSCS</td>
<td>3rd</td>
<td>C</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>5</td>
<td>Jennylyn Riego</td>
<td>BSCS</td>
<td>3rd</td>
<td>C</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>6</td>
<td>Maryjoy Lacopanto</td>
<td>BSCS</td>
<td>3rd</td>
<td>C</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>7</td>
<td>Jomer Delgado</td>
<td>BSCS</td>
<td>3rd</td>
<td>C</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card border-light mb-3">
<div class="card-header card-header-warning card-header-tabs">
<h4 class="card-title">Professor</h4>
<p class="card-category">Grading Sheet on 26th September, 2021</p>
</div>
<div class="card-body table-responsive">
<table id="myTable" class="table table-hover">
<thead class="text-warning">
<th>ID</th>
<th>Professor</th>
<th>Course</th>
<th>Year</th>
<th>Section</th>
<th scope="col">Actions</th>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Raul Gutierrez</td>
<td>BSIT</td>
<td>1st</td>
<td>B</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>2</td>
<td>Joemen Barrios</td>
<td>BSCS</td>
<td>3rd</td>
<td>A</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>3</td>
<td>Jerwin Cabral</td>
<td>BSCS</td>
<td>3rd</td>
<td>C</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>4</td>
<td>Jeffrey Coco</td>
<td>BSIS</td>
<td>3rd</td>
<td>A</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td>5</td>
<td>Michael Tan</td>
<td>BSIS</td>
<td>2nd</td>
<td>A</td>
<td>
<button type="button" class="btn btn-primary"><i class="far fa-eye"></i></button>
<button type="button" class="btn btn-danger"><i class="far fa-trash-alt"></i></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
}
else
{
header("location:index.php");
}
?>
</body>
</html>