forked from bedirhan/wivet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.php
26 lines (23 loc) · 1.03 KB
/
menu.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
<?php
define('NOSTARTBODY', true);
$html_body_class = 'menu';
require_once('genclude.php');
$menuPages = listPages();
sort($menuPages, SORT_NUMERIC);
?>
<base href="<?php echo $_SESSION['baseaddr']; ?>pages/" target="body">
<?php html_body(); ?>
<div class="menulinks">
<?php
foreach ($menuPages as $k=>$v){
if(strcmp($v,"100.php") != 0)
echo "<div class='menulink'><a href='".$v."'>".$v."</a></div>";
}
?>
<div class="menulink"> </div>
<div class="menulink"> </div>
<div class="menulink"><a href="<?php echo $_SESSION['baseaddr']; ?>offscanpages/statistics.php" target="body">Statistics</a></div>
<div class="menulink"><a href="<?php echo $_SESSION['baseaddr']; ?>offscanpages/current.php">Current Run</a></div>
<div class="menulink"><a href="<?php echo $_SESSION['baseaddr']; ?>offscanpages/about.php">About</a></div>
<div class="menulink"><a href="<?php echo $_SESSION['baseaddr']; ?>logout.php">Logout</a></div>
</div>