-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.php
More file actions
25 lines (25 loc) · 696 Bytes
/
main.php
File metadata and controls
25 lines (25 loc) · 696 Bytes
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
<?php
include("static/maintenance.php");
if(isset($_GET['term'])) {
include("results.php");
} else if(isset($_GET['glossary'])) {
include("glossary.php");
} else if(isset($_GET['page'])) {
if($_GET['page'] == 'about') {
include("static/about.php");
} else if($_GET['page'] == 'help') {
include("static/help.php");
} else if($_GET['page'] == 'copyright') {
include("static/copyright.php");
} else if($_GET['page'] == 'contact') {
include("static/contact.php");
} else if($_GET['page'] == 'test') {
include("static/test.php");
} else {
include("static/error.php");
}
} else {
include("home.php");
}
include("static/footer.php");
?>