-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathindex.php
56 lines (54 loc) · 1.25 KB
/
index.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
<html>
<head>
<title>Pineapple Control Center</title>
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<link rel="stylesheet" type="text/css" href="includes/styles.css" />
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<?php
include_once("includes/navbar.php");
?>
<br /><br />
<?php
if(isset($_GET["config"])){
include("pages/config.php");
}
else if(isset($_GET["about"])){
include("pages/about.php");
}
else if(isset($_GET["usb"])){
include("pages/usb.php");
}
else if(isset($_GET["advanced"])){
include("pages/advanced.php");
}
else if(isset($_GET["scripts"])){
include("pages/scripts.php");
}
else if(isset($_GET["logs"])){
include("pages/logs.php");
}
else if(isset($_GET["resources"])){
include("pages/resources.php");
}
else if(isset($_GET["jobs"])){
include("pages/jobs.php");
}
else if(isset($_GET["modules"])){
include("pages/modules.php");
}
else if(isset($_GET["ssh"])){
include("pages/ssh.php");
}
else if(isset($_GET["3g"])){
include("pages/3g.php");
}
else if(isset($_GET["upgrade"])){
include("pages/upgrade.php");
}
else {
include("pages/status.php");
}
?>