diff options
Diffstat (limited to 'themes')
119 files changed, 73 insertions, 1766 deletions
diff --git a/themes/default/footer.php b/themes/default/footer.php index afadce7..db656ce 100644 --- a/themes/default/footer.php +++ b/themes/default/footer.php @@ -16,7 +16,7 @@ * 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; @@ -26,25 +26,19 @@ $debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) p <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 /> +<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 /> + </div> <?php - if($config['debug']['enabled']){ +if($config['debug']['enabled']){ logQueueFlush(); - } +} ?> </body> </html> -<?php ob_flush();?> - +<?php ob_flush();?>
\ No newline at end of file diff --git a/themes/default/header.php b/themes/default/header.php index a9b043b..0ade800 100644 --- a/themes/default/header.php +++ b/themes/default/header.php @@ -23,18 +23,16 @@ $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"> +<!DOCTYPE html> +<html> <head> -<title>3rd Infantry Division - 8 years strong - ArmaII Unit</title> +<title>Bayonet CMS</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> +<body>
\ No newline at end of file diff --git a/themes/default/include/functions.php b/themes/default/include/functions.php index 4aeeb14..4a401fd 100644 --- a/themes/default/include/functions.php +++ b/themes/default/include/functions.php @@ -1,22 +1,4 @@ <?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ - /* EVERY THEME SHOULD HAVE THIS FILE WITH THE FUNCTIONS OPENCONTENT() & CLOSECONTENT() */ @@ -55,4 +37,4 @@ CloseContent(); } -?> +?>
\ No newline at end of file diff --git a/themes/default/include/primary.css b/themes/default/include/primary.css index 7bed7ce..6a7747a 100644 --- a/themes/default/include/primary.css +++ b/themes/default/include/primary.css @@ -1,37 +1,62 @@ + /********************************* ** Layout Styles ** *********************************/ div.container { width: 990px; - /* width: 1000px; */ - color: #000000; - margin: auto auto; + color: black; + margin: auto auto; text-align: left; /* IE 5 fix */ } div.banner { - /* width: 990px; */ - text-align:center; - /* margin: auto auto; */ + height: 100px; } - div.nav { - /*width: 990px; */ - height: 28px; + .banner h1 { + margin: 0; + padding-left: 15px; + line-height: 100px; + color: white; + font-weight: bold; + } + nav { + height: 32px; background: #284c75; - background-image:url('../images/navbackground.jpg'); - color: #000000; + background: #41678d; /* Old browsers */ + background: -moz-linear-gradient(top, #41678d 0%, #41678d 45%, #224567 55%, #224567 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#41678d), color-stop(45%,#41678d), color-stop(55%,#224567), color-stop(100%,#224567)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #41678d 0%,#41678d 45%,#224567 55%,#224567 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #41678d 0%,#41678d 45%,#224567 55%,#224567 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #41678d 0%,#41678d 45%,#224567 55%,#224567 100%); /* IE10+ */ + background: linear-gradient(to bottom, #41678d 0%,#41678d 45%,#224567 55%,#224567 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#41678d', endColorstr='#224567',GradientType=0 ); /* IE6-9 */ text-align:center; - /* margin: auto auto; */ font-size:14px; + border-radius: 2px; + } + nav a { + color: white !important; + font-weight: bold; + } + nav ul { + list-style: none; + margin: 0; + padding-left: 20px; + line-height: 32px; } + nav li { + float: left; + margin-right: 2em; + } table.main { - background-image:url('../images/sandbackground.jpg'); + /*background-image:url('../images/sandbackground.jpg');*/ padding: 0px; color:#ffffff; width:990px; /*width: 1134px; */ /* width: 1234px; */ margin: auto auto; - background-color:#a3a2a0; + margin-top: 20px; + /*background-color:#a3a2a0;*/ } table.main td { @@ -56,6 +81,8 @@ color:#5e5e5e; background-color:#333333; border-top: 1px solid #5e5e5e; + margin-top: 30px; + padding: 15px; } /********************************* @@ -70,7 +97,7 @@ border:1px solid #333333; } div.contentHeading { - background-image:url(../images/blockbackground.jpg); + background-image:url('../images/blockbackground.jpg'); background-repeat:repeat-x; background-color:#112f50; height:25px; @@ -85,6 +112,7 @@ /*background-color:#383838; color:white; */ background-color:#f1f1f1; + /*width: 644px !important;*/ } div.content img { padding:10px; diff --git a/themes/default/index.php b/themes/default/index.php index 3da1144..fc2137b 100644 --- a/themes/default/index.php +++ b/themes/default/index.php @@ -33,12 +33,12 @@ include self::$header; <div class="container"> <!-- banner --> - <div class="banner"><a href="index.php"><img src="<?php echo self::$image_path . '/logo.jpg'; ?>" alt="3rd Infantry Division - ArmAII Unit" /></a></div> + <div class="banner"><h1>Bayonet CMS</h1></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%"> +<table border="0" cellspacing="0px" cellpadding="0" class="main" width="100%"> <tr> <td class="midcol"> <?php require_once 'modules.php'; ?> @@ -46,7 +46,7 @@ include self::$header; <!-- block area RIGHT --> <?php if(!defined('BLOCK_RIGHT_DISABLE')): ?> - <td class="rightcol"> + <td class="rightcol" style="padding-left: 15px;"> <?php GetBlocks(BLOCK_RIGHT); ?> </td> <?php endif; ?> diff --git a/themes/default/navigation.php b/themes/default/navigation.php index d90365a..012c95f 100644 --- a/themes/default/navigation.php +++ b/themes/default/navigation.php @@ -1,34 +1,20 @@ +<nav> + <ul> + <li><a href="index.php">HOME</a></li> + <?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ + $result = $db->Query("SELECT * FROM `bayonet_navigation` ORDER BY `weight`"); + $nav = $db->Fetch($result); + + foreach ($nav as $link): + + $href = str_replace('&', '&', $link['link']); + $title = strtoupper($link['title']); + echo "<li><a href=\"{$href}\">{$title}</a></li>"; + + endforeach; ?> -<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> + </ul> +</nav> diff --git a/themes/gttheme/footer.php b/themes/gttheme/footer.php deleted file mode 100644 index afadce7..0000000 --- a/themes/gttheme/footer.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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 /> -</div> - -<?php - if($config['debug']['enabled']){ - logQueueFlush(); - } -?> - -</body> -</html> -<?php ob_flush();?> - diff --git a/themes/gttheme/header.php b/themes/gttheme/header.php deleted file mode 100644 index a9b043b..0000000 --- a/themes/gttheme/header.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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> diff --git a/themes/gttheme/images/Medal.png b/themes/gttheme/images/Medal.png Binary files differdeleted file mode 100644 index 1d9974b..0000000 --- a/themes/gttheme/images/Medal.png +++ /dev/null diff --git a/themes/gttheme/images/add.gif b/themes/gttheme/images/add.gif Binary files differdeleted file mode 100644 index 836dbf2..0000000 --- a/themes/gttheme/images/add.gif +++ /dev/null diff --git a/themes/gttheme/images/addnewarticle.png b/themes/gttheme/images/addnewarticle.png Binary files differdeleted file mode 100644 index 0e29960..0000000 --- a/themes/gttheme/images/addnewarticle.png +++ /dev/null diff --git a/themes/gttheme/images/addnewpage.png b/themes/gttheme/images/addnewpage.png Binary files differdeleted file mode 100644 index c60c68c..0000000 --- a/themes/gttheme/images/addnewpage.png +++ /dev/null diff --git a/themes/gttheme/images/annoucement.png b/themes/gttheme/images/annoucement.png Binary files differdeleted file mode 100644 index c70591d..0000000 --- a/themes/gttheme/images/annoucement.png +++ /dev/null diff --git a/themes/gttheme/images/announcement.png b/themes/gttheme/images/announcement.png Binary files differdeleted file mode 100644 index c70591d..0000000 --- a/themes/gttheme/images/announcement.png +++ /dev/null diff --git a/themes/gttheme/images/arrowleft.png b/themes/gttheme/images/arrowleft.png Binary files differdeleted file mode 100644 index 502ae41..0000000 --- a/themes/gttheme/images/arrowleft.png +++ /dev/null diff --git a/themes/gttheme/images/arrowright.png b/themes/gttheme/images/arrowright.png Binary files differdeleted file mode 100644 index ddd163b..0000000 --- a/themes/gttheme/images/arrowright.png +++ /dev/null diff --git a/themes/gttheme/images/background.jpg b/themes/gttheme/images/background.jpg Binary files differdeleted file mode 100644 index e96f267..0000000 --- a/themes/gttheme/images/background.jpg +++ /dev/null diff --git a/themes/gttheme/images/banner.jpg b/themes/gttheme/images/banner.jpg Binary files differdeleted file mode 100644 index 854561b..0000000 --- a/themes/gttheme/images/banner.jpg +++ /dev/null diff --git a/themes/gttheme/images/bayonetLogo.png b/themes/gttheme/images/bayonetLogo.png Binary files differdeleted file mode 100644 index 4183a88..0000000 --- a/themes/gttheme/images/bayonetLogo.png +++ /dev/null diff --git a/themes/gttheme/images/blockbackground.jpg b/themes/gttheme/images/blockbackground.jpg Binary files differdeleted file mode 100644 index ea6c7d3..0000000 --- a/themes/gttheme/images/blockbackground.jpg +++ /dev/null diff --git a/themes/gttheme/images/calendar.png b/themes/gttheme/images/calendar.png Binary files differdeleted file mode 100644 index 86b9861..0000000 --- a/themes/gttheme/images/calendar.png +++ /dev/null diff --git a/themes/gttheme/images/delete.gif b/themes/gttheme/images/delete.gif Binary files differdeleted file mode 100644 index 4e2a37f..0000000 --- a/themes/gttheme/images/delete.gif +++ /dev/null diff --git a/themes/gttheme/images/editfiles.png b/themes/gttheme/images/editfiles.png Binary files differdeleted file mode 100644 index 500e206..0000000 --- a/themes/gttheme/images/editfiles.png +++ /dev/null diff --git a/themes/gttheme/images/editpage.png b/themes/gttheme/images/editpage.png Binary files differdeleted file mode 100644 index ab3fd58..0000000 --- a/themes/gttheme/images/editpage.png +++ /dev/null diff --git a/themes/gttheme/images/error.gif b/themes/gttheme/images/error.gif Binary files differdeleted file mode 100644 index cb1fcbe..0000000 --- a/themes/gttheme/images/error.gif +++ /dev/null diff --git a/themes/gttheme/images/error.png b/themes/gttheme/images/error.png Binary files differdeleted file mode 100644 index 5bc1824..0000000 --- a/themes/gttheme/images/error.png +++ /dev/null diff --git a/themes/gttheme/images/file_doc.png b/themes/gttheme/images/file_doc.png Binary files differdeleted file mode 100644 index b1da1ef..0000000 --- a/themes/gttheme/images/file_doc.png +++ /dev/null diff --git a/themes/gttheme/images/file_pdf.png b/themes/gttheme/images/file_pdf.png Binary files differdeleted file mode 100644 index 500e206..0000000 --- a/themes/gttheme/images/file_pdf.png +++ /dev/null diff --git a/themes/gttheme/images/file_rtf.png b/themes/gttheme/images/file_rtf.png Binary files differdeleted file mode 100644 index 39304c1..0000000 --- a/themes/gttheme/images/file_rtf.png +++ /dev/null diff --git a/themes/gttheme/images/file_word.png b/themes/gttheme/images/file_word.png Binary files differdeleted file mode 100644 index 3011f00..0000000 --- a/themes/gttheme/images/file_word.png +++ /dev/null diff --git a/themes/gttheme/images/headingbg.jpg b/themes/gttheme/images/headingbg.jpg Binary files differdeleted file mode 100644 index 3597c21..0000000 --- a/themes/gttheme/images/headingbg.jpg +++ /dev/null diff --git a/themes/gttheme/images/hgrad.png b/themes/gttheme/images/hgrad.png Binary files differdeleted file mode 100644 index 86daf8b..0000000 --- a/themes/gttheme/images/hgrad.png +++ /dev/null diff --git a/themes/gttheme/images/larrow.png b/themes/gttheme/images/larrow.png Binary files differdeleted file mode 100644 index 554b6e9..0000000 --- a/themes/gttheme/images/larrow.png +++ /dev/null diff --git a/themes/gttheme/images/leftshadow.png b/themes/gttheme/images/leftshadow.png Binary files differdeleted file mode 100644 index 1f32159..0000000 --- a/themes/gttheme/images/leftshadow.png +++ /dev/null diff --git a/themes/gttheme/images/logo.jpg b/themes/gttheme/images/logo.jpg Binary files differdeleted file mode 100644 index 8b59067..0000000 --- a/themes/gttheme/images/logo.jpg +++ /dev/null diff --git a/themes/gttheme/images/lvgrad.png b/themes/gttheme/images/lvgrad.png Binary files differdeleted file mode 100644 index 487d7e3..0000000 --- a/themes/gttheme/images/lvgrad.png +++ /dev/null diff --git a/themes/gttheme/images/navbackground.jpg b/themes/gttheme/images/navbackground.jpg Binary files differdeleted file mode 100644 index 93ffece..0000000 --- a/themes/gttheme/images/navbackground.jpg +++ /dev/null diff --git a/themes/gttheme/images/navbg.jpg b/themes/gttheme/images/navbg.jpg Binary files differdeleted file mode 100644 index 9bd90ce..0000000 --- a/themes/gttheme/images/navbg.jpg +++ /dev/null diff --git a/themes/gttheme/images/navbg.png b/themes/gttheme/images/navbg.png Binary files differdeleted file mode 100644 index 00a8f88..0000000 --- a/themes/gttheme/images/navbg.png +++ /dev/null diff --git a/themes/gttheme/images/navigation.png b/themes/gttheme/images/navigation.png Binary files differdeleted file mode 100644 index 739c95f..0000000 --- a/themes/gttheme/images/navigation.png +++ /dev/null diff --git a/themes/gttheme/images/navspacer.png b/themes/gttheme/images/navspacer.png Binary files differdeleted file mode 100644 index cdc8cb4..0000000 --- a/themes/gttheme/images/navspacer.png +++ /dev/null diff --git a/themes/gttheme/images/news_header.png b/themes/gttheme/images/news_header.png Binary files differdeleted file mode 100644 index 00861bf..0000000 --- a/themes/gttheme/images/news_header.png +++ /dev/null diff --git a/themes/gttheme/images/nvgrad.png b/themes/gttheme/images/nvgrad.png Binary files differdeleted file mode 100644 index 5e4c05c..0000000 --- a/themes/gttheme/images/nvgrad.png +++ /dev/null diff --git a/themes/gttheme/images/photogallery.png b/themes/gttheme/images/photogallery.png Binary files differdeleted file mode 100644 index a161a55..0000000 --- a/themes/gttheme/images/photogallery.png +++ /dev/null diff --git a/themes/gttheme/images/photoleft.png b/themes/gttheme/images/photoleft.png Binary files differdeleted file mode 100644 index f4eb3af..0000000 --- a/themes/gttheme/images/photoleft.png +++ /dev/null diff --git a/themes/gttheme/images/photoright.png b/themes/gttheme/images/photoright.png Binary files differdeleted file mode 100644 index 16a251b..0000000 --- a/themes/gttheme/images/photoright.png +++ /dev/null diff --git a/themes/gttheme/images/rarrow.png b/themes/gttheme/images/rarrow.png Binary files differdeleted file mode 100644 index 9a272d9..0000000 --- a/themes/gttheme/images/rarrow.png +++ /dev/null diff --git a/themes/gttheme/images/rightshadow.png b/themes/gttheme/images/rightshadow.png Binary files differdeleted file mode 100644 index bc970f0..0000000 --- a/themes/gttheme/images/rightshadow.png +++ /dev/null diff --git a/themes/gttheme/images/sandbackground.jpg b/themes/gttheme/images/sandbackground.jpg Binary files differdeleted file mode 100644 index 2a2d800..0000000 --- a/themes/gttheme/images/sandbackground.jpg +++ /dev/null diff --git a/themes/gttheme/images/spacer.png b/themes/gttheme/images/spacer.png Binary files differdeleted file mode 100644 index f187f4a..0000000 --- a/themes/gttheme/images/spacer.png +++ /dev/null diff --git a/themes/gttheme/images/vgrad.png b/themes/gttheme/images/vgrad.png Binary files differdeleted file mode 100644 index e7a96e8..0000000 --- a/themes/gttheme/images/vgrad.png +++ /dev/null diff --git a/themes/gttheme/images/view.gif b/themes/gttheme/images/view.gif Binary files differdeleted file mode 100644 index 52cbddb..0000000 --- a/themes/gttheme/images/view.gif +++ /dev/null diff --git a/themes/gttheme/include/functions.php b/themes/gttheme/include/functions.php deleted file mode 100644 index 6856262..0000000 --- a/themes/gttheme/include/functions.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ - - /* 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(); - } - -?> diff --git a/themes/gttheme/include/primary.css b/themes/gttheme/include/primary.css deleted file mode 100644 index 025b0fc..0000000 --- a/themes/gttheme/include/primary.css +++ /dev/null @@ -1,286 +0,0 @@ - /********************************* - ** 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 deleted file mode 100644 index 05333f9..0000000 --- a/themes/gttheme/include/style_bbcode.css +++ /dev/null @@ -1,71 +0,0 @@ -.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 deleted file mode 100644 index 223cd14..0000000 --- a/themes/gttheme/include/theme.ini +++ /dev/null @@ -1,2 +0,0 @@ -[author]
-name = "Joseph Hunkeler"
\ No newline at end of file diff --git a/themes/gttheme/index.php b/themes/gttheme/index.php deleted file mode 100644 index 5ed718f..0000000 --- a/themes/gttheme/index.php +++ /dev/null @@ -1,70 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ - -/* 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 deleted file mode 100644 index 69c660c..0000000 --- a/themes/gttheme/navigation.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ -?> -<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 deleted file mode 100644 index c628cca..0000000 --- a/themes/new/footer.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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. </div> - </div><!--end bottomBar--> -</div><!--end bottomBarContainer--> - -<?php - if($config['debug']['enabled']){ - logQueueFlush(); - } -?> - - - -</body> -</html> -<?php ob_flush();?> - diff --git a/themes/new/header.php b/themes/new/header.php deleted file mode 100644 index f1e9f0c..0000000 --- a/themes/new/header.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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> diff --git a/themes/new/images/active_nav_bg.jpg b/themes/new/images/active_nav_bg.jpg Binary files differdeleted file mode 100644 index 402bbe7..0000000 --- a/themes/new/images/active_nav_bg.jpg +++ /dev/null diff --git a/themes/new/images/btn_collapse.gif b/themes/new/images/btn_collapse.gif Binary files differdeleted file mode 100644 index 4f875e8..0000000 --- a/themes/new/images/btn_collapse.gif +++ /dev/null diff --git a/themes/new/images/content_tile.jpg b/themes/new/images/content_tile.jpg Binary files differdeleted file mode 100644 index 3d292c5..0000000 --- a/themes/new/images/content_tile.jpg +++ /dev/null diff --git a/themes/new/images/footer_tile.jpg b/themes/new/images/footer_tile.jpg Binary files differdeleted file mode 100644 index 6e3f2ba..0000000 --- a/themes/new/images/footer_tile.jpg +++ /dev/null diff --git a/themes/new/images/footerwidget_bg.jpg b/themes/new/images/footerwidget_bg.jpg Binary files differdeleted file mode 100644 index 3f4da4a..0000000 --- a/themes/new/images/footerwidget_bg.jpg +++ /dev/null diff --git a/themes/new/images/footerwidget_border.jpg b/themes/new/images/footerwidget_border.jpg Binary files differdeleted file mode 100644 index 5b3bcfb..0000000 --- a/themes/new/images/footerwidget_border.jpg +++ /dev/null diff --git a/themes/new/images/header_tile.png b/themes/new/images/header_tile.png Binary files differdeleted file mode 100644 index be956a5..0000000 --- a/themes/new/images/header_tile.png +++ /dev/null diff --git a/themes/new/images/header_tile_ie6.gif b/themes/new/images/header_tile_ie6.gif Binary files differdeleted file mode 100644 index 9b15b1a..0000000 --- a/themes/new/images/header_tile_ie6.gif +++ /dev/null diff --git a/themes/new/images/logo-trans.png b/themes/new/images/logo-trans.png Binary files differdeleted file mode 100644 index 87b6cf9..0000000 --- a/themes/new/images/logo-trans.png +++ /dev/null diff --git a/themes/new/images/nav_a.gif b/themes/new/images/nav_a.gif Binary files differdeleted file mode 100644 index 531cced..0000000 --- a/themes/new/images/nav_a.gif +++ /dev/null diff --git a/themes/new/images/search_btn.jpg b/themes/new/images/search_btn.jpg Binary files differdeleted file mode 100644 index 3f8ba67..0000000 --- a/themes/new/images/search_btn.jpg +++ /dev/null diff --git a/themes/new/images/w (1).png b/themes/new/images/w (1).png Binary files differdeleted file mode 100644 index 2dae5d3..0000000 --- a/themes/new/images/w (1).png +++ /dev/null diff --git a/themes/new/images/w.png b/themes/new/images/w.png Binary files differdeleted file mode 100644 index e0bf686..0000000 --- a/themes/new/images/w.png +++ /dev/null diff --git a/themes/new/images/widget_bg.jpg b/themes/new/images/widget_bg.jpg Binary files differdeleted file mode 100644 index c704d59..0000000 --- a/themes/new/images/widget_bg.jpg +++ /dev/null diff --git a/themes/new/include/functions.php b/themes/new/include/functions.php deleted file mode 100644 index 1a1abbc..0000000 --- a/themes/new/include/functions.php +++ /dev/null @@ -1,51 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ - - /* 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() - { - } - -?> diff --git a/themes/new/include/primary.css b/themes/new/include/primary.css deleted file mode 100644 index 94a4c28..0000000 --- a/themes/new/include/primary.css +++ /dev/null @@ -1,115 +0,0 @@ -/* -----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 deleted file mode 100644 index 05333f9..0000000 --- a/themes/new/include/style_bbcode.css +++ /dev/null @@ -1,71 +0,0 @@ -.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 deleted file mode 100644 index 34bd055..0000000 --- a/themes/new/include/theme.ini +++ /dev/null @@ -1,2 +0,0 @@ -[author]
-name = "Evan O'Connell"
\ No newline at end of file diff --git a/themes/new/index.php b/themes/new/index.php deleted file mode 100644 index 750cc1f..0000000 --- a/themes/new/index.php +++ /dev/null @@ -1,93 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ - -/* 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/>" - ); -} -?> diff --git a/themes/new/navigation.php b/themes/new/navigation.php deleted file mode 100644 index 6a99e5a..0000000 --- a/themes/new/navigation.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ -?> - <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--> diff --git a/themes/throwback/footer.php b/themes/throwback/footer.php deleted file mode 100644 index afadce7..0000000 --- a/themes/throwback/footer.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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 /> -</div> - -<?php - if($config['debug']['enabled']){ - logQueueFlush(); - } -?> - -</body> -</html> -<?php ob_flush();?> - diff --git a/themes/throwback/header.php b/themes/throwback/header.php deleted file mode 100644 index a9b043b..0000000 --- a/themes/throwback/header.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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> diff --git a/themes/throwback/images/Medal.png b/themes/throwback/images/Medal.png Binary files differdeleted file mode 100644 index 1d9974b..0000000 --- a/themes/throwback/images/Medal.png +++ /dev/null diff --git a/themes/throwback/images/acu_bg.jpg b/themes/throwback/images/acu_bg.jpg Binary files differdeleted file mode 100644 index 550cd82..0000000 --- a/themes/throwback/images/acu_bg.jpg +++ /dev/null diff --git a/themes/throwback/images/add.gif b/themes/throwback/images/add.gif Binary files differdeleted file mode 100644 index 836dbf2..0000000 --- a/themes/throwback/images/add.gif +++ /dev/null diff --git a/themes/throwback/images/arrowleft.png b/themes/throwback/images/arrowleft.png Binary files differdeleted file mode 100644 index 502ae41..0000000 --- a/themes/throwback/images/arrowleft.png +++ /dev/null diff --git a/themes/throwback/images/arrowright.png b/themes/throwback/images/arrowright.png Binary files differdeleted file mode 100644 index ddd163b..0000000 --- a/themes/throwback/images/arrowright.png +++ /dev/null diff --git a/themes/throwback/images/background.jpg b/themes/throwback/images/background.jpg Binary files differdeleted file mode 100644 index e96f267..0000000 --- a/themes/throwback/images/background.jpg +++ /dev/null diff --git a/themes/throwback/images/banner.jpg b/themes/throwback/images/banner.jpg Binary files differdeleted file mode 100644 index 702a361..0000000 --- a/themes/throwback/images/banner.jpg +++ /dev/null diff --git a/themes/throwback/images/blockbackground.jpg b/themes/throwback/images/blockbackground.jpg Binary files differdeleted file mode 100644 index ea6c7d3..0000000 --- a/themes/throwback/images/blockbackground.jpg +++ /dev/null diff --git a/themes/throwback/images/contentbg.png b/themes/throwback/images/contentbg.png Binary files differdeleted file mode 100644 index 2c13089..0000000 --- a/themes/throwback/images/contentbg.png +++ /dev/null diff --git a/themes/throwback/images/delete.gif b/themes/throwback/images/delete.gif Binary files differdeleted file mode 100644 index 4e2a37f..0000000 --- a/themes/throwback/images/delete.gif +++ /dev/null diff --git a/themes/throwback/images/error.gif b/themes/throwback/images/error.gif Binary files differdeleted file mode 100644 index cb1fcbe..0000000 --- a/themes/throwback/images/error.gif +++ /dev/null diff --git a/themes/throwback/images/error.png b/themes/throwback/images/error.png Binary files differdeleted file mode 100644 index 5bc1824..0000000 --- a/themes/throwback/images/error.png +++ /dev/null diff --git a/themes/throwback/images/headingbg.jpg b/themes/throwback/images/headingbg.jpg Binary files differdeleted file mode 100644 index 3fdc664..0000000 --- a/themes/throwback/images/headingbg.jpg +++ /dev/null diff --git a/themes/throwback/images/hgrad.png b/themes/throwback/images/hgrad.png Binary files differdeleted file mode 100644 index 86daf8b..0000000 --- a/themes/throwback/images/hgrad.png +++ /dev/null diff --git a/themes/throwback/images/larrow.png b/themes/throwback/images/larrow.png Binary files differdeleted file mode 100644 index 554b6e9..0000000 --- a/themes/throwback/images/larrow.png +++ /dev/null diff --git a/themes/throwback/images/leftshadow.png b/themes/throwback/images/leftshadow.png Binary files differdeleted file mode 100644 index 1f32159..0000000 --- a/themes/throwback/images/leftshadow.png +++ /dev/null diff --git a/themes/throwback/images/logo.jpg b/themes/throwback/images/logo.jpg Binary files differdeleted file mode 100644 index 8b59067..0000000 --- a/themes/throwback/images/logo.jpg +++ /dev/null diff --git a/themes/throwback/images/lvgrad.png b/themes/throwback/images/lvgrad.png Binary files differdeleted file mode 100644 index 487d7e3..0000000 --- a/themes/throwback/images/lvgrad.png +++ /dev/null diff --git a/themes/throwback/images/navbackground.jpg b/themes/throwback/images/navbackground.jpg Binary files differdeleted file mode 100644 index 93ffece..0000000 --- a/themes/throwback/images/navbackground.jpg +++ /dev/null diff --git a/themes/throwback/images/navbg.jpg b/themes/throwback/images/navbg.jpg Binary files differdeleted file mode 100644 index 04bf7a8..0000000 --- a/themes/throwback/images/navbg.jpg +++ /dev/null diff --git a/themes/throwback/images/navspacer.jpg b/themes/throwback/images/navspacer.jpg Binary files differdeleted file mode 100644 index cc6d8fa..0000000 --- a/themes/throwback/images/navspacer.jpg +++ /dev/null diff --git a/themes/throwback/images/navspacer.png b/themes/throwback/images/navspacer.png Binary files differdeleted file mode 100644 index 01b0ac9..0000000 --- a/themes/throwback/images/navspacer.png +++ /dev/null diff --git a/themes/throwback/images/news_header.png b/themes/throwback/images/news_header.png Binary files differdeleted file mode 100644 index 00861bf..0000000 --- a/themes/throwback/images/news_header.png +++ /dev/null diff --git a/themes/throwback/images/nvgrad.png b/themes/throwback/images/nvgrad.png Binary files differdeleted file mode 100644 index 5e4c05c..0000000 --- a/themes/throwback/images/nvgrad.png +++ /dev/null diff --git a/themes/throwback/images/photoleft.png b/themes/throwback/images/photoleft.png Binary files differdeleted file mode 100644 index f4eb3af..0000000 --- a/themes/throwback/images/photoleft.png +++ /dev/null diff --git a/themes/throwback/images/photoright.png b/themes/throwback/images/photoright.png Binary files differdeleted file mode 100644 index 16a251b..0000000 --- a/themes/throwback/images/photoright.png +++ /dev/null diff --git a/themes/throwback/images/rightshadow.png b/themes/throwback/images/rightshadow.png Binary files differdeleted file mode 100644 index bc970f0..0000000 --- a/themes/throwback/images/rightshadow.png +++ /dev/null diff --git a/themes/throwback/images/sandbackground.jpg b/themes/throwback/images/sandbackground.jpg Binary files differdeleted file mode 100644 index 2a2d800..0000000 --- a/themes/throwback/images/sandbackground.jpg +++ /dev/null diff --git a/themes/throwback/images/spacer.png b/themes/throwback/images/spacer.png Binary files differdeleted file mode 100644 index f187f4a..0000000 --- a/themes/throwback/images/spacer.png +++ /dev/null diff --git a/themes/throwback/images/vgrad.png b/themes/throwback/images/vgrad.png Binary files differdeleted file mode 100644 index e7a96e8..0000000 --- a/themes/throwback/images/vgrad.png +++ /dev/null diff --git a/themes/throwback/images/view.gif b/themes/throwback/images/view.gif Binary files differdeleted file mode 100644 index 52cbddb..0000000 --- a/themes/throwback/images/view.gif +++ /dev/null diff --git a/themes/throwback/include/functions.php b/themes/throwback/include/functions.php deleted file mode 100644 index ead9d16..0000000 --- a/themes/throwback/include/functions.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ - - - /* 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(); - } - -?> diff --git a/themes/throwback/include/primary.css b/themes/throwback/include/primary.css deleted file mode 100644 index c02a3ff..0000000 --- a/themes/throwback/include/primary.css +++ /dev/null @@ -1,278 +0,0 @@ - /********************************* - ** 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 deleted file mode 100644 index 05333f9..0000000 --- a/themes/throwback/include/style_bbcode.css +++ /dev/null @@ -1,71 +0,0 @@ -.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 deleted file mode 100644 index 34bd055..0000000 --- a/themes/throwback/include/theme.ini +++ /dev/null @@ -1,2 +0,0 @@ -[author]
-name = "Evan O'Connell"
\ No newline at end of file diff --git a/themes/throwback/index.php b/themes/throwback/index.php deleted file mode 100644 index 90e6a6d..0000000 --- a/themes/throwback/index.php +++ /dev/null @@ -1,70 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ - -/* 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 deleted file mode 100644 index 03c0376..0000000 --- a/themes/throwback/navigation.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -/** - * Bayonet Content Management System - * Copyright (C) 2008-2011 Joseph Hunkeler & Evan O'Connell - * - * 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/>. - */ -?> - <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" />'; - } -?> |