diff options
Diffstat (limited to 'themes/gttheme')
52 files changed, 0 insertions, 609 deletions
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>  | 
