aboutsummaryrefslogtreecommitdiff
path: root/themes/new/navigation.php
diff options
context:
space:
mode:
author3rd Infantry Division <thirdid@3rd-infantry-division.org>2011-04-18 16:29:05 -0400
committer3rd Infantry Division <thirdid@3rd-infantry-division.org>2011-04-18 16:29:05 -0400
commitea0080efe5a38a470d4f745ca589e923efc35e5c (patch)
treec6604647d51c0e81168e7dbaba9f73385edc02ee /themes/new/navigation.php
parentfa1cde8684c1a481dd251398d1c2faa27d147a43 (diff)
parent0077cb99704fe863cf731fc5cab792af2ede96c2 (diff)
downloadbayonetcms-ea0080efe5a38a470d4f745ca589e923efc35e5c.tar.gz
Merge branch 'master' of ssh://3rd-infantry-division.org/~/git/bayonet
Diffstat (limited to 'themes/new/navigation.php')
-rw-r--r--themes/new/navigation.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/themes/new/navigation.php b/themes/new/navigation.php
new file mode 100644
index 0000000..45bcdf9
--- /dev/null
+++ b/themes/new/navigation.php
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Bayonet Conent Management System
+ * Copyright (C) Joseph Hunkeler & Evan O'Connell
+ *
+ * Purpose of this software is to allow users to manage their website
+ * with ease and without needing to have any coding knowledge in order
+ * to maintain it. Visit www.eodesign.com/cms for any updates or feedback.
+ */
+ ?>
+ <ul id="menu">
+ <li class="current_page_item"><a href="index.php">HOME</a></li>
+<?php
+
+ $result = $db->Query("SELECT * FROM `bayonet_navigation` ORDER BY `weight`");
+ $nav = $db->Fetch($result);
+
+ foreach ($nav as $link) {
+ echo '<li class="page_item"><a href="' . str_replace('&', '&amp;', $link['link']) . '">' . strtoupper($link['title']) . '</a></li>';
+ }
+ ?>
+ </ul><!--end dropmenu--> \ No newline at end of file