-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstudent.php
90 lines (66 loc) · 2.7 KB
/
student.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
<?php
include 'header.php';
if($role!='student'){
echo "<meta http-equiv='refresh' content='0; url=index.php'/>";
exit();
}
require 'classes/studentclass.php';
$id=$_SESSION['SESS_USER_ID'];
?>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Course Mgt System
<small>Course Management</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Dashboard</li>
</ol>
</section>
<section class="content">
<!-- Small boxes (Stat box) -->
<div class="row">
<div class="col-lg-12">
<div class="box box-solid bg-white-gradient">
<div class="box-header">
<h3 class="box-title">Course Management</h3>
</div>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="course">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#personaldata" aria-controls="personaldata" role="tab" data-toggle="tab">View Personal Data</a></li>
<li role="presentation"><a href="#view-coursesched" aria-controls="view-coursesched" role="tab" data-toggle="tab">View course schedule</a></li>
<li role="presentation"><a href="#coursereg" aria-controls="coursereg" role="tab" data-toggle="tab">Register for a course</a></li>
<li role="presentation"><a href="#view-regcourses" aria-controls="view-regcourses" role="tab" data-toggle="tab">View Registered Courses</a></li>
<li role="presentation"><a href="#view-result" aria-controls="view-result" role="tab" data-toggle="tab">View result</a></li>
<li role="presentation"><a href="#information" aria-controls="information" role="tab" data-toggle="tab">Information</a></li>
</ul>
<div class="tab-content">
<!-- Tab panes -->
<?php require "studentinfo.php";?>
<?php require "studentcoursereg.php";?>
<?php require "studentviewresult.php";?>
<?php require "studentviewregcourses.php";?>
<?php require "studentinfocentre.php";?>
</div>
</div>
</div>
</div>
<!-- /.col-lg-5 -->
</div>
</div>
</section>
</div>
<script type="text/javascript">
// To make Pace works on Ajax calls
$(document).ajaxStart(function() { Pace.restart(); });
$('.ajax').click(function(){
$.ajax({url: '#', success: function(result){
$('.ajax-content').html('<hr>Ajax Request Completed !');
}});
});
</script>
<?php include "footer.php"; ?>