diff options
Diffstat (limited to 'themes/gttheme/navigation.php')
-rw-r--r-- | themes/gttheme/navigation.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/themes/gttheme/navigation.php b/themes/gttheme/navigation.php new file mode 100644 index 0000000..5765712 --- /dev/null +++ b/themes/gttheme/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> <a href="index.php">HOME</a> </td> +<?php + + $result = $db->Query("SELECT * FROM `bayonet_navigation` ORDER BY `weight`"); + $nav = $db->Fetch($result); + + foreach ($nav as $link) { + echo '<td> <a href="' . str_replace('&', '&', $link['link']) . '">' . strtoupper($link['title']) . '</a> </td>'; + } + ?> + </tr> +</table> |