summaryrefslogtreecommitdiffstats
path: root/everest-site-1.0.0/content/menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'everest-site-1.0.0/content/menu.php')
-rw-r--r--everest-site-1.0.0/content/menu.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/everest-site-1.0.0/content/menu.php b/everest-site-1.0.0/content/menu.php
new file mode 100644
index 0000000..2eb2f80
--- /dev/null
+++ b/everest-site-1.0.0/content/menu.php
@@ -0,0 +1,23 @@
+<?php
+ define("HOME", "h");
+ define("DOWNLOAD", "g");
+ define("CONTRIBUTE", "c");
+ define("DOCUMENTATION", "d");
+ define("ACTIVE", "active");
+ define("INACTIVE", "inactive");
+ $trk = $_REQUEST['trk'];
+
+ $home = $trk == HOME || $trk == '' ? 'active' : 'inactive';
+ $download = $trk == DOWNLOAD ? 'active' : 'inactive';
+ $contribute = $trk == CONTRIBUTE ? 'active' : 'inactive';
+ $documentation = $trk == DOCUMENTATION ? 'active' : 'inactive';
+
+?>
+<div id="menu">
+ <ul class="l0">
+ <li><div> <a class="<?php echo $home ?>" title="Home" href="./index.php">Home</a> </div></li>
+ <li><div> <a class="<?php echo $download ?>" title="Get the latest releases" href="./download.php?trk=g">Download</a> </div></li>
+ <li><div> <a class="<?php echo $contribute ?>" title="Information about design/development process" href="./contribute.php?trk=c">Contribute</a> </div></li>
+ <li><div> <a class="<?php echo $documentation ?>" title="Project documentation" href="./documentation.php?trk=d">Documentation</a> </div></li>
+ </ul>
+</div>