diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2011-04-17 20:13:07 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2011-04-17 20:13:07 -0400 |
commit | 0077cb99704fe863cf731fc5cab792af2ede96c2 (patch) | |
tree | dd68f44971aa2aee821f588d33b250dcd2fe57e3 /themes/throwback/navigation.php | |
parent | e8b28c5e910d92cbec3d4baa6e98f025e8418d28 (diff) | |
download | bayonetcms-0077cb99704fe863cf731fc5cab792af2ede96c2.tar.gz |
Backporting retarded amount of changes outside of version control
Diffstat (limited to 'themes/throwback/navigation.php')
-rw-r--r-- | themes/throwback/navigation.php | 21 |
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. + */ + ?> + <a href="index.php">HOME</a> +<?php + + $result = $db->Query("SELECT * FROM `bayonet_navigation` ORDER BY `weight`"); + $nav = $db->Fetch($result); + + foreach ($nav as $link) { + echo ' <a href="' . str_replace('&', '&', $link['link']) . '">' . strtoupper($link['title']) . '</a> '; + //echo '<img src="'.self::$image_path.'/navspacer.png" />'; + } +?> |