aboutsummaryrefslogtreecommitdiff
path: root/navigation.php
diff options
context:
space:
mode:
Diffstat (limited to 'navigation.php')
-rw-r--r--navigation.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/navigation.php b/navigation.php
new file mode 100644
index 0000000..ecf1236
--- /dev/null
+++ b/navigation.php
@@ -0,0 +1,23 @@
+<?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`");
+ while(($row = $db->Fetch($result))!==false)
+ {
+ echo '<td>&nbsp;&nbsp;<a href="'.$row['link'].'">'.strtoUpper($row['title']).'</a>&nbsp;&nbsp;</td>';
+ }
+?>
+ </tr>
+</table> \ No newline at end of file