-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsemester.php
110 lines (57 loc) · 4.7 KB
/
semester.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');
?>
<section class="containerHorizontal">
<div class="leftPanel">
<div class="headerTable">
<h4 id="titleMemberTable">Graduate Student</h4>
<div class="lineTwoColumns">
<div class="leftColumn">
<div class="input-group inputSeparation">
<span class="input-group-addon addonWidth"><i class="fa fa-filter"></i></span>
<input type="text" class="form-control inputWidth" id="nameFilter" placeholder="Students Filter">
</div>
</div> <!-- end of leftColumn -->
<div class="rightColumn">
<div class="input-group">
<!-- <a href="#course">Course</a> -->
<?php
require "assets/core/connect.php";
$query = $sql_connection->prepare("SELECT SemesterSeasonName, SemesterYear, SemesterCode FROM semester");
$query->execute();
$dropdown = "<form name='myForm' action''>";
$dropdown = "<select name='semesters' id='semesterList' onchange='handleSelect()'>";
while ($row = $query->fetch()) {
$dropdown .= "\r\n<option value='{$row[2]}'>{$row[0]} {$row[1]}</option>";
}
$dropdown .= "\r\n</select>";
echo $dropdown;
?>
</div>
</div><!-- end of rightColumn -->
</div>
<hr>
<div class="lineHeader">
<div class="blockName"><i class="fa fa-user"></i> Name</div>
<div class="blockCollege"><i class="fa fa-book"></i> College</div>
<div class="blockAcademicStatus"><i class="fa fa-folder-open"></i> Academic Status </div>
<div class="blockGPA"><i class="fa fa-star"></i> GPA</div>
<div class="blockEmail"><i class="fa fa-envelope"></i> Email</div>
<div class="tuidBlook"><i class="fa fa-key"></i> TU-ID</div>
<div class="Action_Blook"><i class="fa fa-cogs"></i> Action</div>
</div> <!-- end lineHeader -->
</div> <!-- headerTable -->
<div class="bodyTable">
<div id="bodyTableFull">
<table class="table table-striped table-advance table-hover draggable">
<tbody class="searchable" id="StudentTable">
<!-- DISPLAY INFO WITH AJAX -->
</tbody>
</table>
</div>
</div> <!-- end bodyTable -->
</div> <!-- end leftPanel -->
</section>
<?php include('include.php'); ?>
<!--script for this page-->
<script src="assets/js/Wizard_Functions/semester.js"></script>