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 | |
parent | e8b28c5e910d92cbec3d4baa6e98f025e8418d28 (diff) | |
download | bayonetcms-0077cb99704fe863cf731fc5cab792af2ede96c2.tar.gz |
Backporting retarded amount of changes outside of version control
Diffstat (limited to 'themes')
158 files changed, 1714 insertions, 71 deletions
diff --git a/themes/default/images/add.gif b/themes/default/images/add.gif Binary files differnew file mode 100644 index 0000000..836dbf2 --- /dev/null +++ b/themes/default/images/add.gif diff --git a/themes/default/images/addnewarticle.png b/themes/default/images/addnewarticle.png Binary files differnew file mode 100644 index 0000000..0e29960 --- /dev/null +++ b/themes/default/images/addnewarticle.png diff --git a/themes/default/images/addnewpage.png b/themes/default/images/addnewpage.png Binary files differnew file mode 100644 index 0000000..c60c68c --- /dev/null +++ b/themes/default/images/addnewpage.png diff --git a/themes/default/images/annoucement.png b/themes/default/images/annoucement.png Binary files differnew file mode 100644 index 0000000..c70591d --- /dev/null +++ b/themes/default/images/annoucement.png diff --git a/themes/default/images/announcement.png b/themes/default/images/announcement.png Binary files differnew file mode 100644 index 0000000..c70591d --- /dev/null +++ b/themes/default/images/announcement.png diff --git a/themes/default/images/arrowleft.png b/themes/default/images/arrowleft.png Binary files differnew file mode 100644 index 0000000..502ae41 --- /dev/null +++ b/themes/default/images/arrowleft.png diff --git a/themes/default/images/arrowright.png b/themes/default/images/arrowright.png Binary files differnew file mode 100644 index 0000000..ddd163b --- /dev/null +++ b/themes/default/images/arrowright.png diff --git a/themes/default/images/bayonetLogo.png b/themes/default/images/bayonetLogo.png Binary files differnew file mode 100644 index 0000000..4183a88 --- /dev/null +++ b/themes/default/images/bayonetLogo.png diff --git a/themes/default/images/blockbackground.jpg b/themes/default/images/blockbackground.jpg Binary files differnew file mode 100644 index 0000000..ea6c7d3 --- /dev/null +++ b/themes/default/images/blockbackground.jpg diff --git a/themes/default/images/calendar.png b/themes/default/images/calendar.png Binary files differnew file mode 100644 index 0000000..86b9861 --- /dev/null +++ b/themes/default/images/calendar.png diff --git a/themes/default/images/delete.gif b/themes/default/images/delete.gif Binary files differnew file mode 100644 index 0000000..4e2a37f --- /dev/null +++ b/themes/default/images/delete.gif diff --git a/themes/default/images/dicon.png b/themes/default/images/dicon.png Binary files differnew file mode 100644 index 0000000..e9323cb --- /dev/null +++ b/themes/default/images/dicon.png diff --git a/themes/default/images/dlaxlogo.png b/themes/default/images/dlaxlogo.png Binary files differnew file mode 100644 index 0000000..b4991ae --- /dev/null +++ b/themes/default/images/dlaxlogo.png diff --git a/themes/default/images/editfiles.png b/themes/default/images/editfiles.png Binary files differnew file mode 100644 index 0000000..500e206 --- /dev/null +++ b/themes/default/images/editfiles.png diff --git a/themes/default/images/editpage.png b/themes/default/images/editpage.png Binary files differnew file mode 100644 index 0000000..ab3fd58 --- /dev/null +++ b/themes/default/images/editpage.png diff --git a/themes/default/images/error.gif b/themes/default/images/error.gif Binary files differnew file mode 100644 index 0000000..cb1fcbe --- /dev/null +++ b/themes/default/images/error.gif diff --git a/themes/default/images/error.png b/themes/default/images/error.png Binary files differnew file mode 100644 index 0000000..5bc1824 --- /dev/null +++ b/themes/default/images/error.png diff --git a/themes/default/images/file_doc.png b/themes/default/images/file_doc.png Binary files differnew file mode 100644 index 0000000..b1da1ef --- /dev/null +++ b/themes/default/images/file_doc.png diff --git a/themes/default/images/file_pdf.png b/themes/default/images/file_pdf.png Binary files differnew file mode 100644 index 0000000..500e206 --- /dev/null +++ b/themes/default/images/file_pdf.png diff --git a/themes/default/images/file_rtf.png b/themes/default/images/file_rtf.png Binary files differnew file mode 100644 index 0000000..39304c1 --- /dev/null +++ b/themes/default/images/file_rtf.png diff --git a/themes/default/images/file_word.png b/themes/default/images/file_word.png Binary files differnew file mode 100644 index 0000000..3011f00 --- /dev/null +++ b/themes/default/images/file_word.png diff --git a/themes/default/images/hgrad.png b/themes/default/images/hgrad.png Binary files differnew file mode 100644 index 0000000..86daf8b --- /dev/null +++ b/themes/default/images/hgrad.png diff --git a/themes/default/images/larrow.png b/themes/default/images/larrow.png Binary files differnew file mode 100644 index 0000000..554b6e9 --- /dev/null +++ b/themes/default/images/larrow.png diff --git a/themes/default/images/leftshadow.png b/themes/default/images/leftshadow.png Binary files differnew file mode 100644 index 0000000..1f32159 --- /dev/null +++ b/themes/default/images/leftshadow.png diff --git a/themes/default/images/limericklax.png b/themes/default/images/limericklax.png Binary files differnew file mode 100644 index 0000000..1a565ea --- /dev/null +++ b/themes/default/images/limericklax.png diff --git a/themes/default/images/logo.jpg b/themes/default/images/logo.jpg Binary files differnew file mode 100644 index 0000000..cfe19c2 --- /dev/null +++ b/themes/default/images/logo.jpg diff --git a/themes/default/images/lvgrad.png b/themes/default/images/lvgrad.png Binary files differnew file mode 100644 index 0000000..487d7e3 --- /dev/null +++ b/themes/default/images/lvgrad.png diff --git a/themes/default/images/navbackground.jpg b/themes/default/images/navbackground.jpg Binary files differnew file mode 100644 index 0000000..93ffece --- /dev/null +++ b/themes/default/images/navbackground.jpg diff --git a/themes/default/images/navbg.png b/themes/default/images/navbg.png Binary files differnew file mode 100644 index 0000000..00a8f88 --- /dev/null +++ b/themes/default/images/navbg.png diff --git a/themes/default/images/navigation.png b/themes/default/images/navigation.png Binary files differnew file mode 100644 index 0000000..739c95f --- /dev/null +++ b/themes/default/images/navigation.png diff --git a/themes/default/images/navspacer.png b/themes/default/images/navspacer.png Binary files differnew file mode 100644 index 0000000..cdc8cb4 --- /dev/null +++ b/themes/default/images/navspacer.png diff --git a/themes/default/images/news_header.png b/themes/default/images/news_header.png Binary files differnew file mode 100644 index 0000000..00861bf --- /dev/null +++ b/themes/default/images/news_header.png diff --git a/themes/default/images/nvgrad.png b/themes/default/images/nvgrad.png Binary files differnew file mode 100644 index 0000000..5e4c05c --- /dev/null +++ b/themes/default/images/nvgrad.png diff --git a/themes/default/images/photogallery.png b/themes/default/images/photogallery.png Binary files differnew file mode 100644 index 0000000..a161a55 --- /dev/null +++ b/themes/default/images/photogallery.png diff --git a/themes/default/images/photoleft.png b/themes/default/images/photoleft.png Binary files differnew file mode 100644 index 0000000..f4eb3af --- /dev/null +++ b/themes/default/images/photoleft.png diff --git a/themes/default/images/photoright.png b/themes/default/images/photoright.png Binary files differnew file mode 100644 index 0000000..16a251b --- /dev/null +++ b/themes/default/images/photoright.png diff --git a/themes/default/images/rarrow.png b/themes/default/images/rarrow.png Binary files differnew file mode 100644 index 0000000..9a272d9 --- /dev/null +++ b/themes/default/images/rarrow.png diff --git a/themes/default/images/rightshadow.png b/themes/default/images/rightshadow.png Binary files differnew file mode 100644 index 0000000..bc970f0 --- /dev/null +++ b/themes/default/images/rightshadow.png diff --git a/themes/default/images/sandbackground.jpg b/themes/default/images/sandbackground.jpg Binary files differnew file mode 100644 index 0000000..2a2d800 --- /dev/null +++ b/themes/default/images/sandbackground.jpg diff --git a/themes/default/images/spacer.png b/themes/default/images/spacer.png Binary files differnew file mode 100644 index 0000000..f187f4a --- /dev/null +++ b/themes/default/images/spacer.png diff --git a/themes/default/images/vgrad.png b/themes/default/images/vgrad.png Binary files differnew file mode 100644 index 0000000..e7a96e8 --- /dev/null +++ b/themes/default/images/vgrad.png diff --git a/themes/default/images/view.gif b/themes/default/images/view.gif Binary files differnew file mode 100644 index 0000000..52cbddb --- /dev/null +++ b/themes/default/images/view.gif diff --git a/themes/default/images/xoma_logo.jpg b/themes/default/images/xoma_logo.jpg Binary files differnew file mode 100644 index 0000000..36914ff --- /dev/null +++ b/themes/default/images/xoma_logo.jpg diff --git a/themes/default/include/functions.php b/themes/default/include/functions.php new file mode 100644 index 0000000..4a401fd --- /dev/null +++ b/themes/default/include/functions.php @@ -0,0 +1,40 @@ +<?php + + /* EVERY THEME SHOULD HAVE THIS FILE WITH THE FUNCTIONS OPENCONTENT() & CLOSECONTENT() */ + + /** + * OpenContent() + * Opens a Bayonet site content block. + * @return + */ + function OpenContent() + { + echo "<div class=\"contentBorder1\">"; + echo "<div class=\"contentBorder2\">"; + } + + /** + * CloseContent() + * Closes a Bayonet site content block. + * @return + */ + function CloseContent() + { + echo "</div>"; + echo "</div>"; + } + + function OpenBlock($title = 'New Block') + { + OpenContent(); + echo "<div class=\"contentHeading\">{$title}</div>"; + echo "<div class=\"content\">"; + } + + function CloseBlock() + { + echo "</div>"; + CloseContent(); + } + +?>
\ No newline at end of file diff --git a/themes/default/include/style_bbcode.css b/themes/default/include/style_bbcode.css index 7299c06..05333f9 100644 --- a/themes/default/include/style_bbcode.css +++ b/themes/default/include/style_bbcode.css @@ -1,71 +1,71 @@ -.bold {
- font-weight: bold;
-}
-
-.italics {
- font-style: italic;
-}
-
-.underline {
- text-decoration: underline;
-}
-
-.strikethrough {
- text-decoration: line-through;
-}
-
-.overline {
- text-decoration: overline;
-}
-
-.quotecodeheader {
- font-family: Verdana, arial, helvetica, sans-serif;
- font-size: 12px;
- font-weight: bold;
-}
-
-.codebody {
- background-color: #FFFFFF;
- font-family: Courier new, courier, mono;
- font-size: 12px;
- color: #006600;
- border: 1px solid #BFBFBF;
-}
-
-.quotebody {
- background-color: #FFFFFF;
- font-family: Courier new, courier, mono;
- font-size: 12px;
- color: #660002;
- border: 1px solid #BFBFBF;
-}
-
-.listbullet {
- list-style-type: disc;
- list-style-position: inside;
-}
-
-.listdecimal {
- list-style-type: decimal;
- list-style-position: inside;
-}
-
-.listlowerroman {
- list-style-type: lower-roman;
- list-style-position: inside;
-}
-
-.listupperroman {
- list-style-type: upper-roman;
- list-style-position: inside;
-}
-
-.listloweralpha {
- list-style-type: lower-alpha;
- list-style-position: inside;
-}
-
-.listupperalpha {
- list-style-type: upper-alpha;
- list-style-position: inside;
-}
+.bold { + font-weight: bold; +} + +.italics { + font-style: italic; +} + +.underline { + text-decoration: underline; +} + +.strikethrough { + text-decoration: line-through; +} + +.overline { + text-decoration: overline; +} + +.quotecodeheader { + font-family: Verdana, arial, helvetica, sans-serif; + font-size: 12px; + font-weight: bold; +} + +.codebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #006600; + border: 1px solid #BFBFBF; +} + +.quotebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #660002; + border: 1px solid #BFBFBF; +} + +.listbullet { + list-style-type: disc; + list-style-position: inside; +} + +.listdecimal { + list-style-type: decimal; + list-style-position: inside; +} + +.listlowerroman { + list-style-type: lower-roman; + list-style-position: inside; +} + +.listupperroman { + list-style-type: upper-roman; + list-style-position: inside; +} + +.listloweralpha { + list-style-type: lower-alpha; + list-style-position: inside; +} + +.listupperalpha { + list-style-type: upper-alpha; + list-style-position: inside; +} diff --git a/themes/gttheme/footer.php b/themes/gttheme/footer.php new file mode 100644 index 0000000..72ddb3a --- /dev/null +++ b/themes/gttheme/footer.php @@ -0,0 +1,64 @@ +<?php +/** + * Bayonet Content Management System + * Copyright (C) 2008 Joseph Hunkeler + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +$phpversion = preg_replace('/[a-z-]/', '', phpversion()); +$mtime = explode(' ', microtime()); +$totaltime = $mtime[0] + $mtime[1] - $starttime; +$debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) peak(%.3fmb) | PHP: %s<br/>Connections: %d | Queries: %d | Fetches: %d | Frees: %d<br/>\n", + $totaltime, ((float)memory_get_usage()/1024/1024), ((float)memory_get_peak_usage()/1024/1024), $phpversion, $db_connections, $db_queries, $db_fetches, $db_frees); +?> + +<div class="footer"> + + <br /> + <span class="footer-text"> + All logos and trademarks on this site are property of their respective owner. The comments are property of their posters, all the rest © 2001-<?php echo date('Y'); ?> 3rd Infantry Division.</span> + + <br /><br /> + + <a href="admin/">Administrative Control Panel</a><br /> +<?php echo $config['product']['name'] . ' ' . $config['product']['version'] . ' ' . $config['product']['release'] ?><br /> +<?php echo stripslashes($config['product']['copyright']); ?><br /> +<?php if($config['debug']['enabled']) echo $debug_output ?><br /> + +<a href="http://www.dreamhost.com/r.cgi?145892" target="_blank"><img src="http://www.dreamhost.com/images/rewards/80x15-e.png" /></a><br /><br /> + +</div> + +<?php + if($config['debug']['enabled']){ + logQueueFlush(); + } +?> + +<script type="text/javascript"> +var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); +document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); +</script> +<script type="text/javascript"> +try{ +var pageTracker = _gat._getTracker("UA-3253447-1"); +pageTracker._trackPageview(); +} catch(err) {} +</script> + +</body> +</html> +<?php ob_flush();?> + diff --git a/themes/gttheme/header.php b/themes/gttheme/header.php new file mode 100644 index 0000000..76dc2f9 --- /dev/null +++ b/themes/gttheme/header.php @@ -0,0 +1,40 @@ +<?php +/** + * Bayonet Content Management System + * Copyright (C) 2008 Joseph Hunkeler + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +global $config; +ob_start(); +$starttime = explode(' ', microtime()); +$starttime = $starttime[1] + $starttime[0]; +?> + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" dir="ltr"> + +<head> +<title>3rd Infantry Division - 8 years strong - ArmaII Unit</title> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> +<?php if(isset($config['site']['favicon'])): ?> +<!--<link rel="shortcut icon" href="<?php echo $config['site']['favicon']; ?>" type="image/x-icon" />--> +<link rel="shortcut icon" href="<?php echo $config['site']['favicon']; ?>" type="image/png" /> +<?php endif; ?> +<link rel="stylesheet" type="text/css" href="<?php echo self::$primary_css; ?>" media="screen"/> +</head> + +<body>
\ No newline at end of file diff --git a/themes/gttheme/images/Medal.png b/themes/gttheme/images/Medal.png Binary files differnew file mode 100644 index 0000000..1d9974b --- /dev/null +++ b/themes/gttheme/images/Medal.png diff --git a/themes/gttheme/images/add.gif b/themes/gttheme/images/add.gif Binary files differnew file mode 100644 index 0000000..836dbf2 --- /dev/null +++ b/themes/gttheme/images/add.gif diff --git a/themes/gttheme/images/addnewarticle.png b/themes/gttheme/images/addnewarticle.png Binary files differnew file mode 100644 index 0000000..0e29960 --- /dev/null +++ b/themes/gttheme/images/addnewarticle.png diff --git a/themes/gttheme/images/addnewpage.png b/themes/gttheme/images/addnewpage.png Binary files differnew file mode 100644 index 0000000..c60c68c --- /dev/null +++ b/themes/gttheme/images/addnewpage.png diff --git a/themes/gttheme/images/annoucement.png b/themes/gttheme/images/annoucement.png Binary files differnew file mode 100644 index 0000000..c70591d --- /dev/null +++ b/themes/gttheme/images/annoucement.png diff --git a/themes/gttheme/images/announcement.png b/themes/gttheme/images/announcement.png Binary files differnew file mode 100644 index 0000000..c70591d --- /dev/null +++ b/themes/gttheme/images/announcement.png diff --git a/themes/gttheme/images/arrowleft.png b/themes/gttheme/images/arrowleft.png Binary files differnew file mode 100644 index 0000000..502ae41 --- /dev/null +++ b/themes/gttheme/images/arrowleft.png diff --git a/themes/gttheme/images/arrowright.png b/themes/gttheme/images/arrowright.png Binary files differnew file mode 100644 index 0000000..ddd163b --- /dev/null +++ b/themes/gttheme/images/arrowright.png diff --git a/themes/gttheme/images/background.jpg b/themes/gttheme/images/background.jpg Binary files differnew file mode 100644 index 0000000..e96f267 --- /dev/null +++ b/themes/gttheme/images/background.jpg diff --git a/themes/gttheme/images/banner.jpg b/themes/gttheme/images/banner.jpg Binary files differnew file mode 100644 index 0000000..854561b --- /dev/null +++ b/themes/gttheme/images/banner.jpg diff --git a/themes/gttheme/images/bayonetLogo.png b/themes/gttheme/images/bayonetLogo.png Binary files differnew file mode 100644 index 0000000..4183a88 --- /dev/null +++ b/themes/gttheme/images/bayonetLogo.png diff --git a/themes/gttheme/images/blockbackground.jpg b/themes/gttheme/images/blockbackground.jpg Binary files differnew file mode 100644 index 0000000..ea6c7d3 --- /dev/null +++ b/themes/gttheme/images/blockbackground.jpg diff --git a/themes/gttheme/images/calendar.png b/themes/gttheme/images/calendar.png Binary files differnew file mode 100644 index 0000000..86b9861 --- /dev/null +++ b/themes/gttheme/images/calendar.png diff --git a/themes/gttheme/images/delete.gif b/themes/gttheme/images/delete.gif Binary files differnew file mode 100644 index 0000000..4e2a37f --- /dev/null +++ b/themes/gttheme/images/delete.gif diff --git a/themes/gttheme/images/editfiles.png b/themes/gttheme/images/editfiles.png Binary files differnew file mode 100644 index 0000000..500e206 --- /dev/null +++ b/themes/gttheme/images/editfiles.png diff --git a/themes/gttheme/images/editpage.png b/themes/gttheme/images/editpage.png Binary files differnew file mode 100644 index 0000000..ab3fd58 --- /dev/null +++ b/themes/gttheme/images/editpage.png diff --git a/themes/gttheme/images/error.gif b/themes/gttheme/images/error.gif Binary files differnew file mode 100644 index 0000000..cb1fcbe --- /dev/null +++ b/themes/gttheme/images/error.gif diff --git a/themes/gttheme/images/error.png b/themes/gttheme/images/error.png Binary files differnew file mode 100644 index 0000000..5bc1824 --- /dev/null +++ b/themes/gttheme/images/error.png diff --git a/themes/gttheme/images/file_doc.png b/themes/gttheme/images/file_doc.png Binary files differnew file mode 100644 index 0000000..b1da1ef --- /dev/null +++ b/themes/gttheme/images/file_doc.png diff --git a/themes/gttheme/images/file_pdf.png b/themes/gttheme/images/file_pdf.png Binary files differnew file mode 100644 index 0000000..500e206 --- /dev/null +++ b/themes/gttheme/images/file_pdf.png diff --git a/themes/gttheme/images/file_rtf.png b/themes/gttheme/images/file_rtf.png Binary files differnew file mode 100644 index 0000000..39304c1 --- /dev/null +++ b/themes/gttheme/images/file_rtf.png diff --git a/themes/gttheme/images/file_word.png b/themes/gttheme/images/file_word.png Binary files differnew file mode 100644 index 0000000..3011f00 --- /dev/null +++ b/themes/gttheme/images/file_word.png diff --git a/themes/gttheme/images/headingbg.jpg b/themes/gttheme/images/headingbg.jpg Binary files differnew file mode 100644 index 0000000..3597c21 --- /dev/null +++ b/themes/gttheme/images/headingbg.jpg diff --git a/themes/gttheme/images/hgrad.png b/themes/gttheme/images/hgrad.png Binary files differnew file mode 100644 index 0000000..86daf8b --- /dev/null +++ b/themes/gttheme/images/hgrad.png diff --git a/themes/gttheme/images/larrow.png b/themes/gttheme/images/larrow.png Binary files differnew file mode 100644 index 0000000..554b6e9 --- /dev/null +++ b/themes/gttheme/images/larrow.png diff --git a/themes/gttheme/images/leftshadow.png b/themes/gttheme/images/leftshadow.png Binary files differnew file mode 100644 index 0000000..1f32159 --- /dev/null +++ b/themes/gttheme/images/leftshadow.png diff --git a/themes/gttheme/images/logo.jpg b/themes/gttheme/images/logo.jpg Binary files differnew file mode 100644 index 0000000..8b59067 --- /dev/null +++ b/themes/gttheme/images/logo.jpg diff --git a/themes/gttheme/images/lvgrad.png b/themes/gttheme/images/lvgrad.png Binary files differnew file mode 100644 index 0000000..487d7e3 --- /dev/null +++ b/themes/gttheme/images/lvgrad.png diff --git a/themes/gttheme/images/navbackground.jpg b/themes/gttheme/images/navbackground.jpg Binary files differnew file mode 100644 index 0000000..93ffece --- /dev/null +++ b/themes/gttheme/images/navbackground.jpg diff --git a/themes/gttheme/images/navbg.jpg b/themes/gttheme/images/navbg.jpg Binary files differnew file mode 100644 index 0000000..9bd90ce --- /dev/null +++ b/themes/gttheme/images/navbg.jpg diff --git a/themes/gttheme/images/navbg.png b/themes/gttheme/images/navbg.png Binary files differnew file mode 100644 index 0000000..00a8f88 --- /dev/null +++ b/themes/gttheme/images/navbg.png diff --git a/themes/gttheme/images/navigation.png b/themes/gttheme/images/navigation.png Binary files differnew file mode 100644 index 0000000..739c95f --- /dev/null +++ b/themes/gttheme/images/navigation.png diff --git a/themes/gttheme/images/navspacer.png b/themes/gttheme/images/navspacer.png Binary files differnew file mode 100644 index 0000000..cdc8cb4 --- /dev/null +++ b/themes/gttheme/images/navspacer.png diff --git a/themes/gttheme/images/news_header.png b/themes/gttheme/images/news_header.png Binary files differnew file mode 100644 index 0000000..00861bf --- /dev/null +++ b/themes/gttheme/images/news_header.png diff --git a/themes/gttheme/images/nvgrad.png b/themes/gttheme/images/nvgrad.png Binary files differnew file mode 100644 index 0000000..5e4c05c --- /dev/null +++ b/themes/gttheme/images/nvgrad.png diff --git a/themes/gttheme/images/photogallery.png b/themes/gttheme/images/photogallery.png Binary files differnew file mode 100644 index 0000000..a161a55 --- /dev/null +++ b/themes/gttheme/images/photogallery.png diff --git a/themes/gttheme/images/photoleft.png b/themes/gttheme/images/photoleft.png Binary files differnew file mode 100644 index 0000000..f4eb3af --- /dev/null +++ b/themes/gttheme/images/photoleft.png diff --git a/themes/gttheme/images/photoright.png b/themes/gttheme/images/photoright.png Binary files differnew file mode 100644 index 0000000..16a251b --- /dev/null +++ b/themes/gttheme/images/photoright.png diff --git a/themes/gttheme/images/rarrow.png b/themes/gttheme/images/rarrow.png Binary files differnew file mode 100644 index 0000000..9a272d9 --- /dev/null +++ b/themes/gttheme/images/rarrow.png diff --git a/themes/gttheme/images/rightshadow.png b/themes/gttheme/images/rightshadow.png Binary files differnew file mode 100644 index 0000000..bc970f0 --- /dev/null +++ b/themes/gttheme/images/rightshadow.png diff --git a/themes/gttheme/images/sandbackground.jpg b/themes/gttheme/images/sandbackground.jpg Binary files differnew file mode 100644 index 0000000..2a2d800 --- /dev/null +++ b/themes/gttheme/images/sandbackground.jpg diff --git a/themes/gttheme/images/spacer.png b/themes/gttheme/images/spacer.png Binary files differnew file mode 100644 index 0000000..f187f4a --- /dev/null +++ b/themes/gttheme/images/spacer.png diff --git a/themes/gttheme/images/vgrad.png b/themes/gttheme/images/vgrad.png Binary files differnew file mode 100644 index 0000000..e7a96e8 --- /dev/null +++ b/themes/gttheme/images/vgrad.png diff --git a/themes/gttheme/images/view.gif b/themes/gttheme/images/view.gif Binary files differnew file mode 100644 index 0000000..52cbddb --- /dev/null +++ b/themes/gttheme/images/view.gif diff --git a/themes/gttheme/include/functions.php b/themes/gttheme/include/functions.php new file mode 100644 index 0000000..4a401fd --- /dev/null +++ b/themes/gttheme/include/functions.php @@ -0,0 +1,40 @@ +<?php + + /* EVERY THEME SHOULD HAVE THIS FILE WITH THE FUNCTIONS OPENCONTENT() & CLOSECONTENT() */ + + /** + * OpenContent() + * Opens a Bayonet site content block. + * @return + */ + function OpenContent() + { + echo "<div class=\"contentBorder1\">"; + echo "<div class=\"contentBorder2\">"; + } + + /** + * CloseContent() + * Closes a Bayonet site content block. + * @return + */ + function CloseContent() + { + echo "</div>"; + echo "</div>"; + } + + function OpenBlock($title = 'New Block') + { + OpenContent(); + echo "<div class=\"contentHeading\">{$title}</div>"; + echo "<div class=\"content\">"; + } + + function CloseBlock() + { + echo "</div>"; + CloseContent(); + } + +?>
\ No newline at end of file diff --git a/themes/gttheme/include/primary.css b/themes/gttheme/include/primary.css new file mode 100644 index 0000000..025b0fc --- /dev/null +++ b/themes/gttheme/include/primary.css @@ -0,0 +1,286 @@ + /********************************* + ** Layout Styles ** + *********************************/ + div.container { + width: 990px; + position: relative; + /* width: 1000px; */ + color: #000000; + margin: auto auto; + text-align: left; /* IE 5 fix */ + } + div.banner { + /* width: 990px; */ + text-align:center; + /* margin: auto auto; */ + } + img.head_medal { + position: absolute; + left: 26px; + top: -42px; + } + div.nav { + /*width: 990px; */ + height: 24px; + background: #284c75; + background-image:url('../images/navbg.jpg'); + color: #000000; + text-align:center; + /* margin: auto auto; */ + font-size:14px; + line-height: 24px; + border: 3px solid black; + border-top: 1px solid black; + } + table.main { + /*background-image:url('../images/sandbackground.jpg'); */ + padding: 0px; + color:#ffffff; + width:990px; + /*width: 1134px; */ + /* width: 1234px; */ + margin: auto auto; + /* background-color:#a3a2a0; */ + } + + table.main td { + /* color:white; */ + } + td.midcol { + width: 644px; + background-color:transparent; + vertical-align:top; + } + td.rightcol { + vertical-align:top; + } + td.leftcol { + width: 275px; + vertical-align:top; + } + div.footer { + text-align:center; + font-family:verdana; + font-size:10pt; + color:#5e5e5e; + background-color:#333333; + border-top: 1px solid #5e5e5e; + } + + /********************************* + ** Content Styles ** + *********************************/ + div.contentBorder1 { + background-color:white; + border: 1px solid #000; /*#3666ba;*/ + } + div.contentBorder2 { + background-color:white; + border:1px solid #000; /* 333 */ + } + div.contentHeading { + background-image:url(../images/headingbg.jpg); + background-repeat:repeat-x; + background-color:#112f50; + border: 0px solid black; + border-bottom: 2px solid black; + height:25px; + line-height: 25px; + padding-left:10px; + padding-right:10px; + color:white; + } + div.content { + padding:10px; + color:#333333; + /*background-color:#383838; + color:white; */ + background-color:#f1f1f1; + } + div.content img { + padding:10px; + } + div.contentFooter { + border-top:1px solid #333333; + background-color:#a4a4a4; + color:white; + padding-left:5px; + padding-right:5px; + } + span.footer-text { + font-size: 10px; + } + + .clear { + clear: both; + } + + /********************************* + ** Nav Links Styles ** + *********************************/ + table.navLinks a, table.navLinks a:visited, table.navLinks a:active { + background-color:transparent; + color:white; + font-family:verdana; + font-size:11px; + font-weight:bold; + text-decoration:none; + } + + table.navLinks a:hover, table.navLinks a:visited:hover { + background-color:transparent; + color:#d2d2d2; + font-size:11px; + font-weight:bold; + text-decoration:none; + } + + table.navLinks { + height:25px; + } + + table.navLinks td { + border-right: 1px solid #213f61; + vertical-align:middle; + } + + /********************************* + ** Misc. Styles ** + *********************************/ + + h1, h2, h3, h4, h5, h6 { + font-family: Helvetica, Arial, sans-serif; + font-weight: normal; + } + table, tr, td { + padding:0px; + border:0px; + margin:0px + } + body, td, div { + font-size:10pt; + /* color:black; */ + font-family:verdana; + font-weight:normal; + } + a, a:visited, a:active { + background-color:transparent; + color:#3666ba; + font-family:verdana; + font-size:12px; + text-decoration:none; + } + + a:hover, a:visited:hover { + background-color:transparent; + color:#3666ba; + font-family:verdana; + font-size:12px; + text-decoration:underline; + } + a.rudi_roster, a.rudi_roster:visited, a.rudi_roster:active, a.rudi_roster:hover { + color:#2b5bae; + } + body { + background-color:#091a34; + background-image: url('../images/Background.jpg'); + background-position: top center; + background-attachment: fixed; + margin:0; + margin-top: 15px; + padding:0; + text-align:left; + } + a img { + border:0px; + } + form { + margin:0; + } + tr.rownorm{ + background-color:white; + + } + tr.rowhigh{ + background-color:#e0e0e0; + } + /* photo gallery styles */ + .photoleft{ + background-image:url("../images/photoleft.png"); + background-repeat:repeat-y; + text-align:center; + width:49px; + } + .photoright{ + background-image:url("../images/photoright.png"); + background-repeat:repeat-y; + text-align:center; + width:49px; + } + /* end photo gallery styles */ + + /* stuff we might need in order to add drop shadows */ + + div.topbar { + height:25px; + text-align:center; + background-color:black; + font-family:verdana; + font-size:10pt; + color:#797e4f; + } + div.botbar { + height:50px; + padding:5px; + text-align:center; + background-color:black; + font-family:verdana; + font-size:10pt; + } + /* may need these two when we add the background images back */ + .leftbar { + /* background-image:url("../images/leftshadow.png"); */ + background-repeat: + repeat-y; + width:50px; + } + .rightbar { + /* background-image:url("../images/rightshadow.png"); */ + background-repeat: + repeat-y; + width:15px; + } + + .fl-left{ + float:left; + } + + .fl-right{ + float:right; + } + + .clear { + clear:both; + } + + .inline { + display: inline; + } + + .left{ + text-align:left; + } + .right{ + text-align:right; + } + .center{ + text-align:center; + } + .title{ + font-size:14px; + font-weight:bold; + font-family:arial; + } + +@import "style_bbcode.css" + diff --git a/themes/gttheme/include/style_bbcode.css b/themes/gttheme/include/style_bbcode.css new file mode 100644 index 0000000..05333f9 --- /dev/null +++ b/themes/gttheme/include/style_bbcode.css @@ -0,0 +1,71 @@ +.bold { + font-weight: bold; +} + +.italics { + font-style: italic; +} + +.underline { + text-decoration: underline; +} + +.strikethrough { + text-decoration: line-through; +} + +.overline { + text-decoration: overline; +} + +.quotecodeheader { + font-family: Verdana, arial, helvetica, sans-serif; + font-size: 12px; + font-weight: bold; +} + +.codebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #006600; + border: 1px solid #BFBFBF; +} + +.quotebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #660002; + border: 1px solid #BFBFBF; +} + +.listbullet { + list-style-type: disc; + list-style-position: inside; +} + +.listdecimal { + list-style-type: decimal; + list-style-position: inside; +} + +.listlowerroman { + list-style-type: lower-roman; + list-style-position: inside; +} + +.listupperroman { + list-style-type: upper-roman; + list-style-position: inside; +} + +.listloweralpha { + list-style-type: lower-alpha; + list-style-position: inside; +} + +.listupperalpha { + list-style-type: upper-alpha; + list-style-position: inside; +} diff --git a/themes/gttheme/include/theme.ini b/themes/gttheme/include/theme.ini new file mode 100644 index 0000000..223cd14 --- /dev/null +++ b/themes/gttheme/include/theme.ini @@ -0,0 +1,2 @@ +[author]
+name = "Joseph Hunkeler"
\ No newline at end of file diff --git a/themes/gttheme/index.php b/themes/gttheme/index.php new file mode 100644 index 0000000..b5ac212 --- /dev/null +++ b/themes/gttheme/index.php @@ -0,0 +1,61 @@ +<?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 [link] for any updates or feedback. + */ + +/* Begin try/catch block */ +try { + +/* Setup error handing callbacks */ +ob_start("fatal_error_handler"); +set_error_handler("handle_error"); + +require_once self::$root_path . '/include/functions.php'; + +include self::$header; +//session_start(); +?> + +<div class="container"> + +<!-- banner --> + <div class="banner"><img src="<?php echo self::$image_path . '/Medal.png'; ?>" class="head_medal" /><a href="index.php"><img src="<?php echo self::$image_path . '/banner.jpg'; ?>" alt="3rd Infantry Division - ArmAII Unit" /></a></div> +<!-- navigation --> + <div class="nav"><?php require_once self::$root_path . '/navigation.php'; ?></div> + +<!-- content --> +<table border="0" cellspacing="15px" cellpadding="0" class="main" width="100%"> + <tr> + <td class="midcol"> + <?php require_once 'modules.php'; ?> + </td> + + <!-- block area RIGHT --> + <?php if(!defined('BLOCK_RIGHT_DISABLE')): ?> + <td class="rightcol"> + <?php GetBlocks(BLOCK_RIGHT); ?> + </td> + <?php endif; ?> + + </tr> +</table> + +</div> +<?php include self::$footer; ?> +<?php +/* Flushing is needed by the error handler */ +ob_end_flush(); + +} //try ^^ +catch(Exception $e) +{ + ReportError( + "<style>td.short{width:100%;}</style><table style=\"width:0;\"><tr><th>Code</th>" . "<td class=\"short\">" . $e->getCode() . "</td>" . "</tr><tr><th>In File</th>" . "<td class=\"short\">" . $e->getFile() . "</td>" . "</tr></table>" . $e->getLine() . " - " . $e->getMessage() . "<br/>" + ); +} +?> 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> diff --git a/themes/new/footer.php b/themes/new/footer.php new file mode 100644 index 0000000..0aab911 --- /dev/null +++ b/themes/new/footer.php @@ -0,0 +1,57 @@ +<?php +/** + * Bayonet Content Management System + * Copyright (C) 2008 Joseph Hunkeler + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +$phpversion = preg_replace('/[a-z-]/', '', phpversion()); +$mtime = explode(' ', microtime()); +$totaltime = $mtime[0] + $mtime[1] - $starttime; +$debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) peak(%.3fmb) | PHP: %s<br/>Connections: %d | Queries: %d | Fetches: %d | Frees: %d<br/>\n", + $totaltime, ((float)memory_get_usage()/1024/1024), ((float)memory_get_peak_usage()/1024/1024), $phpversion, $db_connections, $db_queries, $db_fetches, $db_frees); +?> + +<div id="footerContainer"> +<div id="footer"> + + +<?php echo $config['product']['name'] . ' ' . $config['product']['version'] . ' ' . $config['product']['release'] ?><br /> +<?php echo $config['product']['copyright']; ?><span style="float:right;"><a href="admin/">Admin</a></span><br /> +<?php if($config['debug']['enabled']) echo $debug_output ?><br /> + + +<div class="clear"></div> +</div><!--end footer--> +</div><!--end footerContainer--> + +<div id="bottomBarContainer"> + <div id="bottomBar"> + <div id="copyright">All logos and trademarks on this site are property of their respective owner. The comments are property of their posters, all the rest © 2001-<?php echo date('Y'); ?> 3rd Infantry Division. <a href="http://www.dreamhost.com/r.cgi?145892" target="_blank"><img src="http://www.dreamhost.com/images/rewards/80x15-e.png" /></a></div> + </div><!--end bottomBar--> +</div><!--end bottomBarContainer--> + +<?php + if($config['debug']['enabled']){ + logQueueFlush(); + } +?> + + + +</body> +</html> +<?php ob_flush();?> +
\ No newline at end of file diff --git a/themes/new/header.php b/themes/new/header.php new file mode 100644 index 0000000..353a083 --- /dev/null +++ b/themes/new/header.php @@ -0,0 +1,55 @@ +<?php +/** + * Bayonet Content Management System + * Copyright (C) 2008 Joseph Hunkeler + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +global $config; +ob_start(); +$starttime = explode(' ', microtime()); +$starttime = $starttime[1] + $starttime[0]; +?> + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" dir="ltr"> + +<head> +<title>Bayonet CMS Default Theme</title> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> +<?php if(isset($config['site']['favicon'])): ?> +<!--<link rel="shortcut icon" href="<?php echo $config['site']['favicon']; ?>" type="image/x-icon" />--> +<link rel="shortcut icon" href="<?php echo $config['site']['favicon']; ?>" type="image/png" /> +<?php endif; ?> +<link rel="stylesheet" type="text/css" href="<?php echo self::$primary_css; ?>" media="screen"/> + + +<script type="text/javascript" src="functions.js"></script> + +<!-- jQuery --> +<script type="text/javascript" src="markitup/jquery.pack.js"></script> +<!-- markItUp! --> +<script type="text/javascript" src="markitup/markitup/jquery.markitup.pack.js"></script> +<!-- markItUp! toolbar settings --> +<script type="text/javascript" src="markitup/markitup/sets/bbcode/set.js"></script> +<!-- markItUp! skin --> +<link rel="stylesheet" type="text/css" href="markitup/markitup/skins/markitup/style.css" /> +<!-- markItUp! toolbar skin --> +<link rel="stylesheet" type="text/css" href="markitup/markitup/sets/bbcode/style.css" /> + +</head> + +<body>
\ No newline at end of file diff --git a/themes/new/images/active_nav_bg.jpg b/themes/new/images/active_nav_bg.jpg Binary files differnew file mode 100644 index 0000000..402bbe7 --- /dev/null +++ b/themes/new/images/active_nav_bg.jpg diff --git a/themes/new/images/btn_collapse.gif b/themes/new/images/btn_collapse.gif Binary files differnew file mode 100644 index 0000000..4f875e8 --- /dev/null +++ b/themes/new/images/btn_collapse.gif diff --git a/themes/new/images/content_tile.jpg b/themes/new/images/content_tile.jpg Binary files differnew file mode 100644 index 0000000..3d292c5 --- /dev/null +++ b/themes/new/images/content_tile.jpg diff --git a/themes/new/images/footer_tile.jpg b/themes/new/images/footer_tile.jpg Binary files differnew file mode 100644 index 0000000..6e3f2ba --- /dev/null +++ b/themes/new/images/footer_tile.jpg diff --git a/themes/new/images/footerwidget_bg.jpg b/themes/new/images/footerwidget_bg.jpg Binary files differnew file mode 100644 index 0000000..3f4da4a --- /dev/null +++ b/themes/new/images/footerwidget_bg.jpg diff --git a/themes/new/images/footerwidget_border.jpg b/themes/new/images/footerwidget_border.jpg Binary files differnew file mode 100644 index 0000000..5b3bcfb --- /dev/null +++ b/themes/new/images/footerwidget_border.jpg diff --git a/themes/new/images/header_tile.png b/themes/new/images/header_tile.png Binary files differnew file mode 100644 index 0000000..be956a5 --- /dev/null +++ b/themes/new/images/header_tile.png diff --git a/themes/new/images/header_tile_ie6.gif b/themes/new/images/header_tile_ie6.gif Binary files differnew file mode 100644 index 0000000..9b15b1a --- /dev/null +++ b/themes/new/images/header_tile_ie6.gif diff --git a/themes/new/images/logo-trans.png b/themes/new/images/logo-trans.png Binary files differnew file mode 100644 index 0000000..87b6cf9 --- /dev/null +++ b/themes/new/images/logo-trans.png diff --git a/themes/new/images/nav_a.gif b/themes/new/images/nav_a.gif Binary files differnew file mode 100644 index 0000000..531cced --- /dev/null +++ b/themes/new/images/nav_a.gif diff --git a/themes/new/images/search_btn.jpg b/themes/new/images/search_btn.jpg Binary files differnew file mode 100644 index 0000000..3f8ba67 --- /dev/null +++ b/themes/new/images/search_btn.jpg diff --git a/themes/new/images/w (1).png b/themes/new/images/w (1).png Binary files differnew file mode 100644 index 0000000..2dae5d3 --- /dev/null +++ b/themes/new/images/w (1).png diff --git a/themes/new/images/w.png b/themes/new/images/w.png Binary files differnew file mode 100644 index 0000000..e0bf686 --- /dev/null +++ b/themes/new/images/w.png diff --git a/themes/new/images/widget_bg.jpg b/themes/new/images/widget_bg.jpg Binary files differnew file mode 100644 index 0000000..c704d59 --- /dev/null +++ b/themes/new/images/widget_bg.jpg diff --git a/themes/new/include/functions.php b/themes/new/include/functions.php new file mode 100644 index 0000000..ec2e6e2 --- /dev/null +++ b/themes/new/include/functions.php @@ -0,0 +1,34 @@ +<?php + + /* EVERY THEME SHOULD HAVE THIS FILE WITH THE FUNCTIONS OPENCONTENT() & CLOSECONTENT() */ + + /** + * OpenContent() + * Opens a Bayonet site content block. + * @return + */ + function OpenContent() + { + echo "OPEN CONTENT<br />"; + } + + /** + * CloseContent() + * Closes a Bayonet site content block. + * @return + */ + function CloseContent() + { + echo "CLOSE CONTENT<br />"; + } + + function OpenBlock($title = 'New Block') + { + echo "<h2 class=\"widgettitle\"><span>{$title}</span></h2>"; + } + + function CloseBlock() + { + } + +?>
\ No newline at end of file diff --git a/themes/new/include/primary.css b/themes/new/include/primary.css new file mode 100644 index 0000000..94a4c28 --- /dev/null +++ b/themes/new/include/primary.css @@ -0,0 +1,115 @@ +/* -----BODY STUFF----- */ +body {height:auto; width:auto; font-family:'Arial', Sans-Serif; color:#333; margin:0; padding:0; background: #b8b8b8; +line-height:1.7em; padding:0; margin:0; font-size: 13px;} + +/*--- P TAG STUFF ---*/ +p {font-size: 12px; line-height: 1.7em;} +.entry{ } + + +#sidebar h2.widgettitle {padding: 0; margin: 0; font-size: 12px; text-transform: uppercase; color: #555; border: 1px solid #ebebeb; font-weight: normal;} +#sidebar h2.widgettitle span {padding: 8px; display: block; border: 1px solid #fff; font-weight: normal; background: url('../images/widget_bg.jpg') repeat-x center;} + + + +/* -----A TAG STUFF----- */ +a {text-decoration:none;} +a:hover {text-decoration:underline;} + + +/* -----PAGE STUFF----- */ +#contentContainer {width: 100%; background: #f5f5f5 url('../images/content_tile.jpg') repeat-y center; border: 1px solid #fff; border-width:0 0 1px;} +#content {padding:30px 0 0; margin:0 auto; width:960px; background: #f8f8f8;} +#main {width:640px; float: left; padding:0; margin: 0; overflow: hidden; line-height: 1.5em;} +#main-full {width:100%; float: left; padding:0; margin: 0; overflow: hidden; line-height: 1.5em;} +#sidebar {float: right; margin: 0; overflow: hidden; width: 290px;} + +/*---------HEADER STUFF-----------*/ +#headerContainer {width: 100%; background: #4B72A6 url('../images/header_tile.png') repeat-x;} +#header {height:259px; margin:0 auto; width:960px; position: relative; color:white;} +#topBarContainer {width: 100%; background-color:black;} +#topBar {width:960px; height: 42px; color: #eee; font-size: 10px; margin:0 auto;} +#topBar #today {padding: 13px 0 0;} +#logo {margin: 0; padding: 41px 0 0;} +#logo a {margin: 0; padding: 0; display: block; height: 86px; width: 601px; overflow: hidden; background: url('../images/logo-trans.png') no-repeat; text-indent: -999px;} +#navigation {padding:0;margin:0; width: 100%; height: 42px; position: absolute; bottom: 0; _bottom:-1px; left:0; z-index:6000;} + +/*--------FOOTER STUFF--------*/ +#footerContainer {width: 100%; background: #b8b8b8 url('../images/footer_tile.jpg') repeat-y center; border: 1px solid #9c9c9c; border-width: 1px 0 0;} +#footer {padding:20px 0 0; margin:0 auto; width:960px; clear:both;} +#footer a {color:#fff;} +#bottomBarContainer {width: 100%; background: #1a1a1a;} +#bottomBar {width:960px; margin: 0 auto; height: 53px; color: #eee;} +#bottomBar #copyright {font-size: 10px; margin:0; padding:20px 0 0;} +#bottomBar #socialbuttons {float: right; font-size: 10px; padding:20px 0 0; text-transform: uppercase; letter-spacing: 1px;} +#bottomBar #socialbuttons a {color: #fff;} + +/*-------MAIN NAVIGATION STUFF--------*/ +#menu {padding: 0; margin:0; list-style:none; position:relative; width:100%; z-index: 4000;} +#menu li {list-style:none; padding:0; margin:0; position:relative; float: left; line-height: 42px;} +#menu li a {margin: 0; padding: 0 13px; display: block; line-height: 42px; color: #fff; text-transform: uppercase; font-size: 12px;} +#menu li a:hover {text-decoration: none; background: url('../images/active_nav_bg.jpg') repeat-x; color: #999;} +#menu li ul {margin:0; padding:0; list-style:none; display:none; position:absolute; width:200px; z-index:3000; top:41px; _top:42px;/*IE6 fix*/ left: -1px; background: #F8F8F8; border: 1px solid #ddd; border-width: 0 1px 1px;} +#menu li ul li {margin:0; position:relative; border: 1px solid #fff; border-width: 0 1px 1px; border-top:1px solid #ebebeb; line-height: 20px; padding:0;} +#menu li ul li a {padding:0 10px; margin:0; width:178px; color: #999; font-size: 12px; line-height: 30px;} +#menu li ul li a:hover {background: none; color: #555;} +#menu li ul li ul {position:absolute;top:-1px; left:199px; margin:0; z-index: 2000;} +#menu li:hover ul ul, +#menu li:hover ul ul ul, +#menu li:hover ul ul ul ul {display:none;} +#menu li:hover ul, +#menu li li:hover ul, +#menu li li li:hover ul, +#menu li li li li:hover ul {display:block;} +#menu li.current_page_item, #menu li.current-cat {background: url('../images/active_nav_bg.jpg') repeat-x;} +#menu li li.current_page_item, #menu li li.current-cat {background:none;} +#menu li.current_page_item a, #menu li.current-cat a {color: #555;} + +/* -----SEARCH STUFF----- */ +#searchform #s {width:200px; padding: 5px;} +#searchform #searchsubmit {cursor: pointer; padding:5px;} +#searchform #searchsubmit:hover {text-decoration: none;} + +#searcher {float: right; padding:2px 0 0;} +#searcher #searchform #s {font-size:9px; width:200px; padding: 3px; background: #1f1f1f; border: 1px solid #3b3b3b; color: #bbb; text-transform: uppercase; margin: 0 4px 0 0;} +#searcher #searchform #searchsubmit { +cursor: pointer; +padding:0px; +width: 38px; +height: 22px; +background: transparent url('../images/search_btn.jpg') no-repeat 0 2px !important; +border: none; +overflow: hidden; +text-indent: -999px; +line-height: 0; +} + + +/*---FORM STUFF---*/ +input, textarea {padding: 5px;} +input {width:170px; margin:5px 0 0 0; } +textarea {width:100%;} +input[type="submit"] {padding:5px 0; cursor: pointer;} + +/* -----UNIVERSAL STUFF----- */ +code {font:1.1em 'Courier New', Courier, Fixed;} +acronym,abbr,span.caps {font-size:.9em;letter-spacing:.07em;cursor:help;} +p img {max-width:100%;padding:0;} +img.centered {display:block;margin:0 auto;} +img.alignright {display:inline;margin:0 0 10px 10px;} +img.alignleft {display:inline;margin:0 10px 10px 0;} +.alignright {float:right;} +.alignleft {float:left;} +acronym.abbr {border-bottom:1px dashed #999;} +blockquote {padding-left:20px;margin:15px;} +blockquote cite {display:block;margin:5px 0 0;} +.center {text-align:center;} +hr {display:none;} +a img {border:none;} +img#wpstats {width:0;height:0;border:none;overflow:hidden;padding:0;} +#hideme {visibility:hidden;} +.hidden {visibility: hidden; display: none;} +.rssSummary {padding-bottom:15px;} +.clear {clear: both;} +p.clear {height:1px; width:1px; margin:0; padding:0;} +.hide {display: none;}
\ No newline at end of file diff --git a/themes/new/include/style_bbcode.css b/themes/new/include/style_bbcode.css new file mode 100644 index 0000000..05333f9 --- /dev/null +++ b/themes/new/include/style_bbcode.css @@ -0,0 +1,71 @@ +.bold { + font-weight: bold; +} + +.italics { + font-style: italic; +} + +.underline { + text-decoration: underline; +} + +.strikethrough { + text-decoration: line-through; +} + +.overline { + text-decoration: overline; +} + +.quotecodeheader { + font-family: Verdana, arial, helvetica, sans-serif; + font-size: 12px; + font-weight: bold; +} + +.codebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #006600; + border: 1px solid #BFBFBF; +} + +.quotebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #660002; + border: 1px solid #BFBFBF; +} + +.listbullet { + list-style-type: disc; + list-style-position: inside; +} + +.listdecimal { + list-style-type: decimal; + list-style-position: inside; +} + +.listlowerroman { + list-style-type: lower-roman; + list-style-position: inside; +} + +.listupperroman { + list-style-type: upper-roman; + list-style-position: inside; +} + +.listloweralpha { + list-style-type: lower-alpha; + list-style-position: inside; +} + +.listupperalpha { + list-style-type: upper-alpha; + list-style-position: inside; +} diff --git a/themes/new/include/theme.ini b/themes/new/include/theme.ini new file mode 100644 index 0000000..34bd055 --- /dev/null +++ b/themes/new/include/theme.ini @@ -0,0 +1,2 @@ +[author]
+name = "Evan O'Connell"
\ No newline at end of file diff --git a/themes/new/index.php b/themes/new/index.php new file mode 100644 index 0000000..17bbc46 --- /dev/null +++ b/themes/new/index.php @@ -0,0 +1,84 @@ +<?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 [link] for any updates or feedback. + */ + +/* Begin try/catch block */ +try { + +/* Setup error handing callbacks */ +ob_start("fatal_error_handler"); +set_error_handler("handle_error"); + +require_once self::$root_path . '/include/functions.php'; + +include self::$header; +//session_start(); +?> +<div id="headerContainer"> + + <div id="header"> + <div id="topBar"> + <div id="searcher"><form method="get" id="searchform" action=""> + <label class="hidden" for="s">Search for:</label> + <input type="text" value="Search Site" onfocus="this.value=''; this.onfocus=null;" name="s" id="s" /> + <input type="submit" id="searchsubmit" value="GO!" /> + + </form></div> + <div id="today"><?php //echo date('l | F jS, Y'); ?></div> + </div><!--end topBar--> + <h1>Bayonet CMS</h1><!--end logo--> + + + <div id="navigation"> + <?php require_once self::$root_path . '/navigation.php'; ?> + </div><!--end navigation--> + + </div><!--end header--> +</div><!--end headerContainer--> + +<div id="contentContainer"> + <div id="content"> + +<?php if(!defined('BLOCK_RIGHT_DISABLE')): ?> + <div id="main"> + <?php require_once 'modules.php'; ?> + </div><!--end main--> + + <!-- block area RIGHT --> + + <div id="sidebar"> + <?php GetBlocks(BLOCK_RIGHT); ?> + + </div><!--end sidebar--> +<?php endif; ?> +<?php if(defined('BLOCK_RIGHT_DISABLE')): ?> + <div id="main-full"> + THIS IS SOME MAIN TEXT + <?php require_once 'modules.php'; ?> + </div><!--end main--> +<?php endif; ?> + + +<div class="clear"></div> +</div><!--end content--> +</div><!--end contentContainer--> + +<?php include self::$footer; ?> +<?php +/* Flushing is needed by the error handler */ +ob_end_flush(); + +} //try ^^ +catch(Exception $e) +{ + ReportError( + "<style>td.short{width:100%;}</style><table style=\"width:0;\"><tr><th>Code</th>" . "<td class=\"short\">" . $e->getCode() . "</td>" . "</tr><tr><th>In File</th>" . "<td class=\"short\">" . $e->getFile() . "</td>" . "</tr></table>" . $e->getLine() . " - " . $e->getMessage() . "<br/>" + ); +} +?>
\ No newline at end of file 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 diff --git a/themes/throwback/footer.php b/themes/throwback/footer.php new file mode 100644 index 0000000..72ddb3a --- /dev/null +++ b/themes/throwback/footer.php @@ -0,0 +1,64 @@ +<?php +/** + * Bayonet Content Management System + * Copyright (C) 2008 Joseph Hunkeler + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +$phpversion = preg_replace('/[a-z-]/', '', phpversion()); +$mtime = explode(' ', microtime()); +$totaltime = $mtime[0] + $mtime[1] - $starttime; +$debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) peak(%.3fmb) | PHP: %s<br/>Connections: %d | Queries: %d | Fetches: %d | Frees: %d<br/>\n", + $totaltime, ((float)memory_get_usage()/1024/1024), ((float)memory_get_peak_usage()/1024/1024), $phpversion, $db_connections, $db_queries, $db_fetches, $db_frees); +?> + +<div class="footer"> + + <br /> + <span class="footer-text"> + All logos and trademarks on this site are property of their respective owner. The comments are property of their posters, all the rest © 2001-<?php echo date('Y'); ?> 3rd Infantry Division.</span> + + <br /><br /> + + <a href="admin/">Administrative Control Panel</a><br /> +<?php echo $config['product']['name'] . ' ' . $config['product']['version'] . ' ' . $config['product']['release'] ?><br /> +<?php echo stripslashes($config['product']['copyright']); ?><br /> +<?php if($config['debug']['enabled']) echo $debug_output ?><br /> + +<a href="http://www.dreamhost.com/r.cgi?145892" target="_blank"><img src="http://www.dreamhost.com/images/rewards/80x15-e.png" /></a><br /><br /> + +</div> + +<?php + if($config['debug']['enabled']){ + logQueueFlush(); + } +?> + +<script type="text/javascript"> +var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); +document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); +</script> +<script type="text/javascript"> +try{ +var pageTracker = _gat._getTracker("UA-3253447-1"); +pageTracker._trackPageview(); +} catch(err) {} +</script> + +</body> +</html> +<?php ob_flush();?> + diff --git a/themes/throwback/header.php b/themes/throwback/header.php new file mode 100644 index 0000000..76dc2f9 --- /dev/null +++ b/themes/throwback/header.php @@ -0,0 +1,40 @@ +<?php +/** + * Bayonet Content Management System + * Copyright (C) 2008 Joseph Hunkeler + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +global $config; +ob_start(); +$starttime = explode(' ', microtime()); +$starttime = $starttime[1] + $starttime[0]; +?> + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" dir="ltr"> + +<head> +<title>3rd Infantry Division - 8 years strong - ArmaII Unit</title> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> +<?php if(isset($config['site']['favicon'])): ?> +<!--<link rel="shortcut icon" href="<?php echo $config['site']['favicon']; ?>" type="image/x-icon" />--> +<link rel="shortcut icon" href="<?php echo $config['site']['favicon']; ?>" type="image/png" /> +<?php endif; ?> +<link rel="stylesheet" type="text/css" href="<?php echo self::$primary_css; ?>" media="screen"/> +</head> + +<body>
\ No newline at end of file diff --git a/themes/throwback/images/Medal.png b/themes/throwback/images/Medal.png Binary files differnew file mode 100644 index 0000000..1d9974b --- /dev/null +++ b/themes/throwback/images/Medal.png diff --git a/themes/throwback/images/acu_bg.jpg b/themes/throwback/images/acu_bg.jpg Binary files differnew file mode 100644 index 0000000..550cd82 --- /dev/null +++ b/themes/throwback/images/acu_bg.jpg diff --git a/themes/throwback/images/add.gif b/themes/throwback/images/add.gif Binary files differnew file mode 100644 index 0000000..836dbf2 --- /dev/null +++ b/themes/throwback/images/add.gif diff --git a/themes/throwback/images/arrowleft.png b/themes/throwback/images/arrowleft.png Binary files differnew file mode 100644 index 0000000..502ae41 --- /dev/null +++ b/themes/throwback/images/arrowleft.png diff --git a/themes/throwback/images/arrowright.png b/themes/throwback/images/arrowright.png Binary files differnew file mode 100644 index 0000000..ddd163b --- /dev/null +++ b/themes/throwback/images/arrowright.png diff --git a/themes/throwback/images/background.jpg b/themes/throwback/images/background.jpg Binary files differnew file mode 100644 index 0000000..e96f267 --- /dev/null +++ b/themes/throwback/images/background.jpg diff --git a/themes/throwback/images/banner.jpg b/themes/throwback/images/banner.jpg Binary files differnew file mode 100644 index 0000000..702a361 --- /dev/null +++ b/themes/throwback/images/banner.jpg diff --git a/themes/throwback/images/blockbackground.jpg b/themes/throwback/images/blockbackground.jpg Binary files differnew file mode 100644 index 0000000..ea6c7d3 --- /dev/null +++ b/themes/throwback/images/blockbackground.jpg diff --git a/themes/throwback/images/contentbg.png b/themes/throwback/images/contentbg.png Binary files differnew file mode 100644 index 0000000..2c13089 --- /dev/null +++ b/themes/throwback/images/contentbg.png diff --git a/themes/throwback/images/delete.gif b/themes/throwback/images/delete.gif Binary files differnew file mode 100644 index 0000000..4e2a37f --- /dev/null +++ b/themes/throwback/images/delete.gif diff --git a/themes/throwback/images/error.gif b/themes/throwback/images/error.gif Binary files differnew file mode 100644 index 0000000..cb1fcbe --- /dev/null +++ b/themes/throwback/images/error.gif diff --git a/themes/throwback/images/error.png b/themes/throwback/images/error.png Binary files differnew file mode 100644 index 0000000..5bc1824 --- /dev/null +++ b/themes/throwback/images/error.png diff --git a/themes/throwback/images/headingbg.jpg b/themes/throwback/images/headingbg.jpg Binary files differnew file mode 100644 index 0000000..3fdc664 --- /dev/null +++ b/themes/throwback/images/headingbg.jpg diff --git a/themes/throwback/images/hgrad.png b/themes/throwback/images/hgrad.png Binary files differnew file mode 100644 index 0000000..86daf8b --- /dev/null +++ b/themes/throwback/images/hgrad.png diff --git a/themes/throwback/images/larrow.png b/themes/throwback/images/larrow.png Binary files differnew file mode 100644 index 0000000..554b6e9 --- /dev/null +++ b/themes/throwback/images/larrow.png diff --git a/themes/throwback/images/leftshadow.png b/themes/throwback/images/leftshadow.png Binary files differnew file mode 100644 index 0000000..1f32159 --- /dev/null +++ b/themes/throwback/images/leftshadow.png diff --git a/themes/throwback/images/logo.jpg b/themes/throwback/images/logo.jpg Binary files differnew file mode 100644 index 0000000..8b59067 --- /dev/null +++ b/themes/throwback/images/logo.jpg diff --git a/themes/throwback/images/lvgrad.png b/themes/throwback/images/lvgrad.png Binary files differnew file mode 100644 index 0000000..487d7e3 --- /dev/null +++ b/themes/throwback/images/lvgrad.png diff --git a/themes/throwback/images/navbackground.jpg b/themes/throwback/images/navbackground.jpg Binary files differnew file mode 100644 index 0000000..93ffece --- /dev/null +++ b/themes/throwback/images/navbackground.jpg diff --git a/themes/throwback/images/navbg.jpg b/themes/throwback/images/navbg.jpg Binary files differnew file mode 100644 index 0000000..04bf7a8 --- /dev/null +++ b/themes/throwback/images/navbg.jpg diff --git a/themes/throwback/images/navspacer.jpg b/themes/throwback/images/navspacer.jpg Binary files differnew file mode 100644 index 0000000..cc6d8fa --- /dev/null +++ b/themes/throwback/images/navspacer.jpg diff --git a/themes/throwback/images/navspacer.png b/themes/throwback/images/navspacer.png Binary files differnew file mode 100644 index 0000000..01b0ac9 --- /dev/null +++ b/themes/throwback/images/navspacer.png diff --git a/themes/throwback/images/news_header.png b/themes/throwback/images/news_header.png Binary files differnew file mode 100644 index 0000000..00861bf --- /dev/null +++ b/themes/throwback/images/news_header.png diff --git a/themes/throwback/images/nvgrad.png b/themes/throwback/images/nvgrad.png Binary files differnew file mode 100644 index 0000000..5e4c05c --- /dev/null +++ b/themes/throwback/images/nvgrad.png diff --git a/themes/throwback/images/photoleft.png b/themes/throwback/images/photoleft.png Binary files differnew file mode 100644 index 0000000..f4eb3af --- /dev/null +++ b/themes/throwback/images/photoleft.png diff --git a/themes/throwback/images/photoright.png b/themes/throwback/images/photoright.png Binary files differnew file mode 100644 index 0000000..16a251b --- /dev/null +++ b/themes/throwback/images/photoright.png diff --git a/themes/throwback/images/rightshadow.png b/themes/throwback/images/rightshadow.png Binary files differnew file mode 100644 index 0000000..bc970f0 --- /dev/null +++ b/themes/throwback/images/rightshadow.png diff --git a/themes/throwback/images/sandbackground.jpg b/themes/throwback/images/sandbackground.jpg Binary files differnew file mode 100644 index 0000000..2a2d800 --- /dev/null +++ b/themes/throwback/images/sandbackground.jpg diff --git a/themes/throwback/images/spacer.png b/themes/throwback/images/spacer.png Binary files differnew file mode 100644 index 0000000..f187f4a --- /dev/null +++ b/themes/throwback/images/spacer.png diff --git a/themes/throwback/images/vgrad.png b/themes/throwback/images/vgrad.png Binary files differnew file mode 100644 index 0000000..e7a96e8 --- /dev/null +++ b/themes/throwback/images/vgrad.png diff --git a/themes/throwback/images/view.gif b/themes/throwback/images/view.gif Binary files differnew file mode 100644 index 0000000..52cbddb --- /dev/null +++ b/themes/throwback/images/view.gif diff --git a/themes/throwback/include/functions.php b/themes/throwback/include/functions.php new file mode 100644 index 0000000..afcd130 --- /dev/null +++ b/themes/throwback/include/functions.php @@ -0,0 +1,38 @@ +<?php + + /* EVERY THEME SHOULD HAVE THIS FILE WITH THE FUNCTIONS OPENCONTENT() & CLOSECONTENT() */ + + /** + * OpenContent() + * Opens a Bayonet site content block. + * @return + */ + function OpenContent() + { + echo "<div class=\"contentBorder\">"; + } + + /** + * CloseContent() + * Closes a Bayonet site content block. + * @return + */ + function CloseContent() + { + echo "</div>"; + } + + function OpenBlock($title = 'New Block') + { + OpenContent(); + echo "<div class=\"contentHeading\">{$title}</div>"; + echo "<div class=\"content\">"; + } + + function CloseBlock() + { + echo "</div>"; + CloseContent(); + } + +?>
\ No newline at end of file diff --git a/themes/throwback/include/primary.css b/themes/throwback/include/primary.css new file mode 100644 index 0000000..c02a3ff --- /dev/null +++ b/themes/throwback/include/primary.css @@ -0,0 +1,278 @@ + /********************************* + ** Layout Styles ** + *********************************/ + div.container { + width: 990px; + position: relative; + /* width: 1000px; */ + color: #000000; + margin: auto auto; + text-align: left; /* IE 5 fix */ + } + div.banner { + /* width: 990px; */ + text-align:center; + /* margin: auto auto; */ + } + div.nav { + /*width: 990px; */ + height: 25px; + line-height: 23px; + background-color: #284c75; + background-image:url('../images/navbg.jpg'); + color: #000000; + text-align:center; + /* margin: auto auto; */ + font-size:14px; + border-top: 1px solid black; + } + table.main { + background-image:url('../images/acu_bg.jpg'); + padding: 0px; + color:#ffffff; + width:990px; + /*width: 1134px; */ + /* width: 1234px; */ + margin: auto auto; + /* background-color:#a3a2a0; */ + } + + table.main td { + /* color:white; */ + } + td.midcol { + width: 644px; + background-color:transparent; + vertical-align:top; + } + td.rightcol { + vertical-align:top; + } + td.leftcol { + width: 275px; + vertical-align:top; + } + div.footer { + text-align:center; + font-family:verdana; + font-size:10pt; + color:#5e5e5e; + background-color:#333333; + border-top: 1px solid #5e5e5e; + } + + /********************************* + ** Content Styles ** + *********************************/ + div.contentBorder { + border: 1px solid #070707; /*#3666ba;*/ + } + div.contentBorder2 { + background-color:white; + /*border:1px solid #000; /* 333 */ + } + div.contentHeading { + background-image:url(../images/headingbg.jpg); + background-repeat:repeat-x; + background-color:#112f50; + border: 0px solid black; + height:25px; + line-height: 25px; + padding-left:10px; + padding-right:10px; + color:white; + } + div.content { + padding:10px; + color: #CCC; + /*background-color:#383838; + color:white; */ + /*background-color:#f1f1f1;*/ + background-image: url(../images/contentbg.png); + border: 1px solid #3b3b3b; + } + div.content img { + padding:10px; + } + div.contentFooter { + border-top:1px solid #333333; + background-color:#a4a4a4; + color:white; + padding-left:5px; + padding-right:5px; + } + span.footer-text { + font-size: 10px; + } + + .clear { + clear: both; + } + + /********************************* + ** Nav Links Styles ** + *********************************/ + div.nav a, div.nav a:visited, div.nav a:active { + background-color:transparent; + color:white; + font-family:verdana; + font-size:11px; + font-weight:bold; + text-decoration:none; + } + + div.nav a:hover, div.nav a:visited:hover { + background-color:transparent; + color:#d2d2d2; + font-size:11px; + font-weight:bold; + text-decoration:none; + } + + table.navLinks { + height:25px; + } + + table.navLinks td { + /*border-left: 1px solid #404040; + border-right: 1px solid #000000;*/ + vertical-align:middle; + } + + /********************************* + ** Misc. Styles ** + *********************************/ + + h1, h2, h3, h4, h5, h6 { + font-family: Helvetica, Arial, sans-serif; + font-weight: normal; + } + table, tr, td { + padding:0px; + border:0px; + margin:0px + } + body, td, div { + font-size:11px; + /* color:black; */ + font-family: Tahoma, Verdana, Arial; + font-weight: normal; + } + a, a:visited, a:active { + background-color:transparent; + /*color:#3666ba;*/ + color:#CCC; + text-decoration:none; + } + + a:hover, a:visited:hover { + background-color:transparent; + /*color:#3666ba;*/ + color:#CCC; + text-decoration:underline; + } + a.rudi_roster, a.rudi_roster:visited, a.rudi_roster:active, a.rudi_roster:hover { + color:#2b5bae; + } + body { + background-color: black; + /*background-image: url('../images/Background.jpg');*/ + background-position: top center; + background-attachment: fixed; + margin:0; + padding:0; + text-align:left; + } + a img { + border:0px; + } + form { + margin:0; + } + tr.rownorm{ + background-color:white; + + } + tr.rowhigh{ + background-color:#e0e0e0; + } + /* photo gallery styles */ + .photoleft{ + background-image:url("../images/photoleft.png"); + background-repeat:repeat-y; + text-align:center; + width:49px; + } + .photoright{ + background-image:url("../images/photoright.png"); + background-repeat:repeat-y; + text-align:center; + width:49px; + } + /* end photo gallery styles */ + + /* stuff we might need in order to add drop shadows */ + + div.topbar { + height:25px; + text-align:center; + background-color:black; + font-family:verdana; + font-size:10pt; + color:#797e4f; + } + div.botbar { + height:50px; + padding:5px; + text-align:center; + background-color:black; + font-family:verdana; + font-size:10pt; + } + /* may need these two when we add the background images back */ + .leftbar { + /* background-image:url("../images/leftshadow.png"); */ + background-repeat: + repeat-y; + width:50px; + } + .rightbar { + /* background-image:url("../images/rightshadow.png"); */ + background-repeat: + repeat-y; + width:15px; + } + + .fl-left{ + float:left; + } + + .fl-right{ + float:right; + } + + .clear { + clear:both; + } + + .inline { + display: inline; + } + + .left{ + text-align:left; + } + .right{ + text-align:right; + } + .center{ + text-align:center; + } + .title{ + font-size:14px; + font-weight:bold; + font-family:arial; + } + +@import "style_bbcode.css" + diff --git a/themes/throwback/include/style_bbcode.css b/themes/throwback/include/style_bbcode.css new file mode 100644 index 0000000..05333f9 --- /dev/null +++ b/themes/throwback/include/style_bbcode.css @@ -0,0 +1,71 @@ +.bold { + font-weight: bold; +} + +.italics { + font-style: italic; +} + +.underline { + text-decoration: underline; +} + +.strikethrough { + text-decoration: line-through; +} + +.overline { + text-decoration: overline; +} + +.quotecodeheader { + font-family: Verdana, arial, helvetica, sans-serif; + font-size: 12px; + font-weight: bold; +} + +.codebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #006600; + border: 1px solid #BFBFBF; +} + +.quotebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #660002; + border: 1px solid #BFBFBF; +} + +.listbullet { + list-style-type: disc; + list-style-position: inside; +} + +.listdecimal { + list-style-type: decimal; + list-style-position: inside; +} + +.listlowerroman { + list-style-type: lower-roman; + list-style-position: inside; +} + +.listupperroman { + list-style-type: upper-roman; + list-style-position: inside; +} + +.listloweralpha { + list-style-type: lower-alpha; + list-style-position: inside; +} + +.listupperalpha { + list-style-type: upper-alpha; + list-style-position: inside; +} diff --git a/themes/throwback/include/theme.ini b/themes/throwback/include/theme.ini new file mode 100644 index 0000000..34bd055 --- /dev/null +++ b/themes/throwback/include/theme.ini @@ -0,0 +1,2 @@ +[author]
+name = "Evan O'Connell"
\ No newline at end of file diff --git a/themes/throwback/index.php b/themes/throwback/index.php new file mode 100644 index 0000000..bfcab58 --- /dev/null +++ b/themes/throwback/index.php @@ -0,0 +1,61 @@ +<?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 [link] for any updates or feedback. + */ + +/* Begin try/catch block */ +try { + +/* Setup error handing callbacks */ +ob_start("fatal_error_handler"); +set_error_handler("handle_error"); + +require_once self::$root_path . '/include/functions.php'; + +include self::$header; +//session_start(); +?> + +<div class="container"> + +<!-- banner --> + <div class="banner"><a href="index.php"><img src="<?php echo self::$image_path . '/banner.jpg'; ?>" alt="3rd Infantry Division - ArmAII Unit" /></a></div> +<!-- navigation --> + <div class="nav"><?php require_once self::$root_path . '/navigation.php'; ?></div> + +<!-- content --> +<table border="0" cellspacing="15px" cellpadding="0" class="main" width="100%"> + <tr> + <td class="midcol"> + <?php require_once 'modules.php'; ?> + </td> + + <!-- block area RIGHT --> + <?php if(!defined('BLOCK_RIGHT_DISABLE')): ?> + <td class="rightcol"> + <?php GetBlocks(BLOCK_RIGHT); ?> + </td> + <?php endif; ?> + + </tr> +</table> + +</div> +<?php include self::$footer; ?> +<?php +/* Flushing is needed by the error handler */ +ob_end_flush(); + +} //try ^^ +catch(Exception $e) +{ + ReportError( + "<style>td.short{width:100%;}</style><table style=\"width:0;\"><tr><th>Code</th>" . "<td class=\"short\">" . $e->getCode() . "</td>" . "</tr><tr><th>In File</th>" . "<td class=\"short\">" . $e->getFile() . "</td>" . "</tr></table>" . $e->getLine() . " - " . $e->getMessage() . "<br/>" + ); +} +?> 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" />'; + } +?> |