diff options
author | thirdid <thirdid@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-26 22:43:13 -0500 |
---|---|---|
committer | thirdid <thirdid@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-26 22:43:13 -0500 |
commit | 0f4a3b1b086b4bfc9217def70f8049f9eeb75672 (patch) | |
tree | 08b1fc4317e7fd2f14122b1cf4833bf14f420103 /themes/default/navigation.php | |
parent | 88d5d2af84cde0ce1107551fd2a61455e493b7c8 (diff) | |
download | bayonetcms-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.php | 24 |
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> <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> |