-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·41 lines (36 loc) · 1.11 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
<!DOCTYPE html>
<html>
<head>
<title> PiWatch Network Auditor </title>
<link rel="icon" type="image/gif" href="Maine.jpg" />
<script type="text/javascript" src="js/jquery-3.1.1.min.js"> </script>
<script type="text/javascript" src="js/jquery-ui.min.js"> </script>
<script type="text/javascript" src="js/piWatchUi.js"> </script>
<link rel="stylesheet" type="text/css" href="css/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<div id='main_content_container'>
<div id='left_navbar'>
<?php
require('modules/classes.php');
$moduleData = array_merge(array('homepage' => array(
'moduleName' => 'Home',
'moduleDisplay' => 'home.php'
)), getModulesData(), array('reports' => array(
'moduleName' => 'Summary of Findings',
'moduleDisplay' => 'reports.php'
)));
foreach ($moduleData as $key => $val){
echo '<div class="ui-state-default navItem" id="' . $key .'">';
echo ' <span hidden>modules/reporters/'. $val['moduleDisplay'] . '</span>';
echo $val['moduleName'];
echo '</div>';
}
?>
</div>
<div id='right_content'>
</div>
</div>
</body>
</html>