forked from ugwuanyiandy/Website-NACOSS-UNN
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprospectus.php
82 lines (73 loc) · 3.42 KB
/
prospectus.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
<?php
require_once 'class_lib.php';
//Set page number
$page = filter_input(INPUT_GET, "p");
?>
<!DOCTYPE html>
<!--
Copyright 2015 NACOSS UNN Developers Group (NDG).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<?php require_once 'default_head_tags.php'; ?>
<!-- Page Title -->
<title>NACOSS UNN : Prospectus</title>
</head>
<body class="metro" style="background-image: url(img/bg.jpg); background-repeat: repeat;">
<div class="container bg-white" id="wrapper">
<?php require_once 'header.php'; ?>
<div class="padding20">
<h1 class="fg-dark">Prospectus</h1>
<div class="grid">
<div class="row">
<div class="span3">
<nav class="sidebar">
<ul class="">
<li class="<?= empty($page) || $page == 1 ? "stick bg-NACOSS-UNN" : "" ?>">
<a href="prospectus.php?p=1"></i>1<sup>st</sup> year</a>
</li>
<li class="<?= $page == 2 ? "stick bg-NACOSS-UNN" : "" ?>">
<a href="prospectus.php?p=2">2<sup>nd</sup> year</a>
</li>
<li class="<?= $page == 3 ? "stick bg-NACOSS-UNN" : "" ?>">
<a href="prospectus.php?p=3">3<sup>rd</sup> year</a>
</li>
<li class="<?= $page == 4 ? "stick bg-NACOSS-UNN" : "" ?>">
<a href="prospectus.php?p=4">4<sup>th</sup> year</a>
</li>
</ul>
</nav>
</div>
<div class="span9">
<?php
switch ($page) {
case 1: require_once 'prospectus$1.php';
break;
case 2: require_once 'prospectus$2.php';
break;
case 3: require_once 'prospectus$3.php';
break;
case 4: require_once 'prospectus$4.php';
break;
default :
require_once 'prospectus$1.php';
break;
}
?>
</div>
</div>
</div>
</div>
<?php require_once './footer.php'; ?>
</div>
</body>
</html>