aboutsummaryrefslogtreecommitdiff
path: root/themes/throwback/navigation.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/throwback/navigation.php')
-rw-r--r--themes/throwback/navigation.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/themes/throwback/navigation.php b/themes/throwback/navigation.php
new file mode 100644
index 0000000..ac81b6b
--- /dev/null
+++ b/themes/throwback/navigation.php
@@ -0,0 +1,21 @@
+<?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.
+ */
+ ?>
+&nbsp;&nbsp;&nbsp;<a href="index.php">HOME</a>&nbsp;&nbsp;&nbsp;
+<?php
+
+ $result = $db->Query("SELECT * FROM `bayonet_navigation` ORDER BY `weight`");
+ $nav = $db->Fetch($result);
+
+ foreach ($nav as $link) {
+ echo '&nbsp;&nbsp;&nbsp;<a href="' . str_replace('&', '&amp;', $link['link']) . '">' . strtoupper($link['title']) . '</a>&nbsp;&nbsp;&nbsp;';
+ //echo '<img src="'.self::$image_path.'/navspacer.png" />';
+ }
+?>