diff options
Diffstat (limited to 'themes/new/navigation.php')
-rw-r--r-- | themes/new/navigation.php | 22 |
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('&', '&', $link['link']) . '">' . strtoupper($link['title']) . '</a></li>'; + } + ?> + </ul><!--end dropmenu-->
\ No newline at end of file |