aboutsummaryrefslogtreecommitdiff
path: root/themes/default/navigation.php
diff options
context:
space:
mode:
authorthirdid <thirdid@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-26 22:43:13 -0500
committerthirdid <thirdid@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-26 22:43:13 -0500
commit0f4a3b1b086b4bfc9217def70f8049f9eeb75672 (patch)
tree08b1fc4317e7fd2f14122b1cf4833bf14f420103 /themes/default/navigation.php
parent88d5d2af84cde0ce1107551fd2a61455e493b7c8 (diff)
downloadbayonetcms-0f4a3b1b086b4bfc9217def70f8049f9eeb75672.tar.gz
Directory structure changes (may continue for several revisions)
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2.1@466 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'themes/default/navigation.php')
-rw-r--r--themes/default/navigation.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/themes/default/navigation.php b/themes/default/navigation.php
new file mode 100644
index 0000000..5765712
--- /dev/null
+++ b/themes/default/navigation.php
@@ -0,0 +1,24 @@
+<?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.
+ */
+ ?>
+<table border="0" cellspacing="0" class="navLinks">
+ <tr>
+ <td>&nbsp;&nbsp;<a href="index.php">HOME</a>&nbsp;&nbsp;</td>
+<?php
+
+ $result = $db->Query("SELECT * FROM `bayonet_navigation` ORDER BY `weight`");
+ $nav = $db->Fetch($result);
+
+ foreach ($nav as $link) {
+ echo '<td>&nbsp;&nbsp;<a href="' . str_replace('&', '&amp;', $link['link']) . '">' . strtoupper($link['title']) . '</a>&nbsp;&nbsp;</td>';
+ }
+ ?>
+ </tr>
+</table>