From 0077cb99704fe863cf731fc5cab792af2ede96c2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 17 Apr 2011 20:13:07 -0400 Subject: Backporting retarded amount of changes outside of version control --- themes/throwback/footer.php | 64 +++++++ themes/throwback/header.php | 40 ++++ themes/throwback/images/Medal.png | Bin 0 -> 38627 bytes themes/throwback/images/acu_bg.jpg | Bin 0 -> 357576 bytes themes/throwback/images/add.gif | Bin 0 -> 59 bytes themes/throwback/images/arrowleft.png | Bin 0 -> 2861 bytes themes/throwback/images/arrowright.png | Bin 0 -> 2867 bytes themes/throwback/images/background.jpg | Bin 0 -> 1874170 bytes themes/throwback/images/banner.jpg | Bin 0 -> 86710 bytes themes/throwback/images/blockbackground.jpg | Bin 0 -> 12055 bytes themes/throwback/images/contentbg.png | Bin 0 -> 2943 bytes themes/throwback/images/delete.gif | Bin 0 -> 60 bytes themes/throwback/images/error.gif | Bin 0 -> 1083 bytes themes/throwback/images/error.png | Bin 0 -> 3746 bytes themes/throwback/images/headingbg.jpg | Bin 0 -> 11792 bytes themes/throwback/images/hgrad.png | Bin 0 -> 109 bytes themes/throwback/images/larrow.png | Bin 0 -> 3596 bytes themes/throwback/images/leftshadow.png | Bin 0 -> 3146 bytes themes/throwback/images/logo.jpg | Bin 0 -> 132072 bytes themes/throwback/images/lvgrad.png | Bin 0 -> 627 bytes themes/throwback/images/navbackground.jpg | Bin 0 -> 11901 bytes themes/throwback/images/navbg.jpg | Bin 0 -> 12070 bytes themes/throwback/images/navspacer.jpg | Bin 0 -> 10650 bytes themes/throwback/images/navspacer.png | Bin 0 -> 2841 bytes themes/throwback/images/news_header.png | Bin 0 -> 3558 bytes themes/throwback/images/nvgrad.png | Bin 0 -> 860 bytes themes/throwback/images/photoleft.png | Bin 0 -> 2917 bytes themes/throwback/images/photoright.png | Bin 0 -> 2918 bytes themes/throwback/images/rightshadow.png | Bin 0 -> 3155 bytes themes/throwback/images/sandbackground.jpg | Bin 0 -> 523597 bytes themes/throwback/images/spacer.png | Bin 0 -> 2904 bytes themes/throwback/images/vgrad.png | Bin 0 -> 110 bytes themes/throwback/images/view.gif | Bin 0 -> 61 bytes themes/throwback/include/functions.php | 38 ++++ themes/throwback/include/primary.css | 278 ++++++++++++++++++++++++++++ themes/throwback/include/style_bbcode.css | 71 +++++++ themes/throwback/include/theme.ini | 2 + themes/throwback/index.php | 61 ++++++ themes/throwback/navigation.php | 21 +++ 39 files changed, 575 insertions(+) create mode 100644 themes/throwback/footer.php create mode 100644 themes/throwback/header.php create mode 100644 themes/throwback/images/Medal.png create mode 100644 themes/throwback/images/acu_bg.jpg create mode 100644 themes/throwback/images/add.gif create mode 100644 themes/throwback/images/arrowleft.png create mode 100644 themes/throwback/images/arrowright.png create mode 100644 themes/throwback/images/background.jpg create mode 100644 themes/throwback/images/banner.jpg create mode 100644 themes/throwback/images/blockbackground.jpg create mode 100644 themes/throwback/images/contentbg.png create mode 100644 themes/throwback/images/delete.gif create mode 100644 themes/throwback/images/error.gif create mode 100644 themes/throwback/images/error.png create mode 100644 themes/throwback/images/headingbg.jpg create mode 100644 themes/throwback/images/hgrad.png create mode 100644 themes/throwback/images/larrow.png create mode 100644 themes/throwback/images/leftshadow.png create mode 100644 themes/throwback/images/logo.jpg create mode 100644 themes/throwback/images/lvgrad.png create mode 100644 themes/throwback/images/navbackground.jpg create mode 100644 themes/throwback/images/navbg.jpg create mode 100644 themes/throwback/images/navspacer.jpg create mode 100644 themes/throwback/images/navspacer.png create mode 100644 themes/throwback/images/news_header.png create mode 100644 themes/throwback/images/nvgrad.png create mode 100644 themes/throwback/images/photoleft.png create mode 100644 themes/throwback/images/photoright.png create mode 100644 themes/throwback/images/rightshadow.png create mode 100644 themes/throwback/images/sandbackground.jpg create mode 100644 themes/throwback/images/spacer.png create mode 100644 themes/throwback/images/vgrad.png create mode 100644 themes/throwback/images/view.gif create mode 100644 themes/throwback/include/functions.php create mode 100644 themes/throwback/include/primary.css create mode 100644 themes/throwback/include/style_bbcode.css create mode 100644 themes/throwback/include/theme.ini create mode 100644 themes/throwback/index.php create mode 100644 themes/throwback/navigation.php (limited to 'themes/throwback') diff --git a/themes/throwback/footer.php b/themes/throwback/footer.php new file mode 100644 index 0000000..72ddb3a --- /dev/null +++ b/themes/throwback/footer.php @@ -0,0 +1,64 @@ +. + */ + +$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
Connections: %d | Queries: %d | Fetches: %d | Frees: %d
\n", + $totaltime, ((float)memory_get_usage()/1024/1024), ((float)memory_get_peak_usage()/1024/1024), $phpversion, $db_connections, $db_queries, $db_fetches, $db_frees); +?> + + + + + + + + + + + + diff --git a/themes/throwback/header.php b/themes/throwback/header.php new file mode 100644 index 0000000..76dc2f9 --- /dev/null +++ b/themes/throwback/header.php @@ -0,0 +1,40 @@ +. + */ + +global $config; +ob_start(); +$starttime = explode(' ', microtime()); +$starttime = $starttime[1] + $starttime[0]; +?> + + + + + +3rd Infantry Division - 8 years strong - ArmaII Unit + + + + + + + + + \ No newline at end of file diff --git a/themes/throwback/images/Medal.png b/themes/throwback/images/Medal.png new file mode 100644 index 0000000..1d9974b Binary files /dev/null and b/themes/throwback/images/Medal.png differ diff --git a/themes/throwback/images/acu_bg.jpg b/themes/throwback/images/acu_bg.jpg new file mode 100644 index 0000000..550cd82 Binary files /dev/null and b/themes/throwback/images/acu_bg.jpg differ diff --git a/themes/throwback/images/add.gif b/themes/throwback/images/add.gif new file mode 100644 index 0000000..836dbf2 Binary files /dev/null and b/themes/throwback/images/add.gif differ diff --git a/themes/throwback/images/arrowleft.png b/themes/throwback/images/arrowleft.png new file mode 100644 index 0000000..502ae41 Binary files /dev/null and b/themes/throwback/images/arrowleft.png differ diff --git a/themes/throwback/images/arrowright.png b/themes/throwback/images/arrowright.png new file mode 100644 index 0000000..ddd163b Binary files /dev/null and b/themes/throwback/images/arrowright.png differ diff --git a/themes/throwback/images/background.jpg b/themes/throwback/images/background.jpg new file mode 100644 index 0000000..e96f267 Binary files /dev/null and b/themes/throwback/images/background.jpg differ diff --git a/themes/throwback/images/banner.jpg b/themes/throwback/images/banner.jpg new file mode 100644 index 0000000..702a361 Binary files /dev/null and b/themes/throwback/images/banner.jpg differ diff --git a/themes/throwback/images/blockbackground.jpg b/themes/throwback/images/blockbackground.jpg new file mode 100644 index 0000000..ea6c7d3 Binary files /dev/null and b/themes/throwback/images/blockbackground.jpg differ diff --git a/themes/throwback/images/contentbg.png b/themes/throwback/images/contentbg.png new file mode 100644 index 0000000..2c13089 Binary files /dev/null and b/themes/throwback/images/contentbg.png differ diff --git a/themes/throwback/images/delete.gif b/themes/throwback/images/delete.gif new file mode 100644 index 0000000..4e2a37f Binary files /dev/null and b/themes/throwback/images/delete.gif differ diff --git a/themes/throwback/images/error.gif b/themes/throwback/images/error.gif new file mode 100644 index 0000000..cb1fcbe Binary files /dev/null and b/themes/throwback/images/error.gif differ diff --git a/themes/throwback/images/error.png b/themes/throwback/images/error.png new file mode 100644 index 0000000..5bc1824 Binary files /dev/null and b/themes/throwback/images/error.png differ diff --git a/themes/throwback/images/headingbg.jpg b/themes/throwback/images/headingbg.jpg new file mode 100644 index 0000000..3fdc664 Binary files /dev/null and b/themes/throwback/images/headingbg.jpg differ diff --git a/themes/throwback/images/hgrad.png b/themes/throwback/images/hgrad.png new file mode 100644 index 0000000..86daf8b Binary files /dev/null and b/themes/throwback/images/hgrad.png differ diff --git a/themes/throwback/images/larrow.png b/themes/throwback/images/larrow.png new file mode 100644 index 0000000..554b6e9 Binary files /dev/null and b/themes/throwback/images/larrow.png differ diff --git a/themes/throwback/images/leftshadow.png b/themes/throwback/images/leftshadow.png new file mode 100644 index 0000000..1f32159 Binary files /dev/null and b/themes/throwback/images/leftshadow.png differ diff --git a/themes/throwback/images/logo.jpg b/themes/throwback/images/logo.jpg new file mode 100644 index 0000000..8b59067 Binary files /dev/null and b/themes/throwback/images/logo.jpg differ diff --git a/themes/throwback/images/lvgrad.png b/themes/throwback/images/lvgrad.png new file mode 100644 index 0000000..487d7e3 Binary files /dev/null and b/themes/throwback/images/lvgrad.png differ diff --git a/themes/throwback/images/navbackground.jpg b/themes/throwback/images/navbackground.jpg new file mode 100644 index 0000000..93ffece Binary files /dev/null and b/themes/throwback/images/navbackground.jpg differ diff --git a/themes/throwback/images/navbg.jpg b/themes/throwback/images/navbg.jpg new file mode 100644 index 0000000..04bf7a8 Binary files /dev/null and b/themes/throwback/images/navbg.jpg differ diff --git a/themes/throwback/images/navspacer.jpg b/themes/throwback/images/navspacer.jpg new file mode 100644 index 0000000..cc6d8fa Binary files /dev/null and b/themes/throwback/images/navspacer.jpg differ diff --git a/themes/throwback/images/navspacer.png b/themes/throwback/images/navspacer.png new file mode 100644 index 0000000..01b0ac9 Binary files /dev/null and b/themes/throwback/images/navspacer.png differ diff --git a/themes/throwback/images/news_header.png b/themes/throwback/images/news_header.png new file mode 100644 index 0000000..00861bf Binary files /dev/null and b/themes/throwback/images/news_header.png differ diff --git a/themes/throwback/images/nvgrad.png b/themes/throwback/images/nvgrad.png new file mode 100644 index 0000000..5e4c05c Binary files /dev/null and b/themes/throwback/images/nvgrad.png differ diff --git a/themes/throwback/images/photoleft.png b/themes/throwback/images/photoleft.png new file mode 100644 index 0000000..f4eb3af Binary files /dev/null and b/themes/throwback/images/photoleft.png differ diff --git a/themes/throwback/images/photoright.png b/themes/throwback/images/photoright.png new file mode 100644 index 0000000..16a251b Binary files /dev/null and b/themes/throwback/images/photoright.png differ diff --git a/themes/throwback/images/rightshadow.png b/themes/throwback/images/rightshadow.png new file mode 100644 index 0000000..bc970f0 Binary files /dev/null and b/themes/throwback/images/rightshadow.png differ diff --git a/themes/throwback/images/sandbackground.jpg b/themes/throwback/images/sandbackground.jpg new file mode 100644 index 0000000..2a2d800 Binary files /dev/null and b/themes/throwback/images/sandbackground.jpg differ diff --git a/themes/throwback/images/spacer.png b/themes/throwback/images/spacer.png new file mode 100644 index 0000000..f187f4a Binary files /dev/null and b/themes/throwback/images/spacer.png differ diff --git a/themes/throwback/images/vgrad.png b/themes/throwback/images/vgrad.png new file mode 100644 index 0000000..e7a96e8 Binary files /dev/null and b/themes/throwback/images/vgrad.png differ diff --git a/themes/throwback/images/view.gif b/themes/throwback/images/view.gif new file mode 100644 index 0000000..52cbddb Binary files /dev/null and b/themes/throwback/images/view.gif differ diff --git a/themes/throwback/include/functions.php b/themes/throwback/include/functions.php new file mode 100644 index 0000000..afcd130 --- /dev/null +++ b/themes/throwback/include/functions.php @@ -0,0 +1,38 @@ +"; + } + + /** + * CloseContent() + * Closes a Bayonet site content block. + * @return + */ + function CloseContent() + { + echo ""; + } + + function OpenBlock($title = 'New Block') + { + OpenContent(); + echo "
{$title}
"; + echo "
"; + } + + function CloseBlock() + { + echo "
"; + CloseContent(); + } + +?> \ No newline at end of file diff --git a/themes/throwback/include/primary.css b/themes/throwback/include/primary.css new file mode 100644 index 0000000..c02a3ff --- /dev/null +++ b/themes/throwback/include/primary.css @@ -0,0 +1,278 @@ + /********************************* + ** Layout Styles ** + *********************************/ + div.container { + width: 990px; + position: relative; + /* width: 1000px; */ + color: #000000; + margin: auto auto; + text-align: left; /* IE 5 fix */ + } + div.banner { + /* width: 990px; */ + text-align:center; + /* margin: auto auto; */ + } + div.nav { + /*width: 990px; */ + height: 25px; + line-height: 23px; + background-color: #284c75; + background-image:url('../images/navbg.jpg'); + color: #000000; + text-align:center; + /* margin: auto auto; */ + font-size:14px; + border-top: 1px solid black; + } + table.main { + background-image:url('../images/acu_bg.jpg'); + padding: 0px; + color:#ffffff; + width:990px; + /*width: 1134px; */ + /* width: 1234px; */ + margin: auto auto; + /* background-color:#a3a2a0; */ + } + + table.main td { + /* color:white; */ + } + td.midcol { + width: 644px; + background-color:transparent; + vertical-align:top; + } + td.rightcol { + vertical-align:top; + } + td.leftcol { + width: 275px; + vertical-align:top; + } + div.footer { + text-align:center; + font-family:verdana; + font-size:10pt; + color:#5e5e5e; + background-color:#333333; + border-top: 1px solid #5e5e5e; + } + + /********************************* + ** Content Styles ** + *********************************/ + div.contentBorder { + border: 1px solid #070707; /*#3666ba;*/ + } + div.contentBorder2 { + background-color:white; + /*border:1px solid #000; /* 333 */ + } + div.contentHeading { + background-image:url(../images/headingbg.jpg); + background-repeat:repeat-x; + background-color:#112f50; + border: 0px solid black; + height:25px; + line-height: 25px; + padding-left:10px; + padding-right:10px; + color:white; + } + div.content { + padding:10px; + color: #CCC; + /*background-color:#383838; + color:white; */ + /*background-color:#f1f1f1;*/ + background-image: url(../images/contentbg.png); + border: 1px solid #3b3b3b; + } + div.content img { + padding:10px; + } + div.contentFooter { + border-top:1px solid #333333; + background-color:#a4a4a4; + color:white; + padding-left:5px; + padding-right:5px; + } + span.footer-text { + font-size: 10px; + } + + .clear { + clear: both; + } + + /********************************* + ** Nav Links Styles ** + *********************************/ + div.nav a, div.nav a:visited, div.nav a:active { + background-color:transparent; + color:white; + font-family:verdana; + font-size:11px; + font-weight:bold; + text-decoration:none; + } + + div.nav a:hover, div.nav a:visited:hover { + background-color:transparent; + color:#d2d2d2; + font-size:11px; + font-weight:bold; + text-decoration:none; + } + + table.navLinks { + height:25px; + } + + table.navLinks td { + /*border-left: 1px solid #404040; + border-right: 1px solid #000000;*/ + vertical-align:middle; + } + + /********************************* + ** Misc. Styles ** + *********************************/ + + h1, h2, h3, h4, h5, h6 { + font-family: Helvetica, Arial, sans-serif; + font-weight: normal; + } + table, tr, td { + padding:0px; + border:0px; + margin:0px + } + body, td, div { + font-size:11px; + /* color:black; */ + font-family: Tahoma, Verdana, Arial; + font-weight: normal; + } + a, a:visited, a:active { + background-color:transparent; + /*color:#3666ba;*/ + color:#CCC; + text-decoration:none; + } + + a:hover, a:visited:hover { + background-color:transparent; + /*color:#3666ba;*/ + color:#CCC; + text-decoration:underline; + } + a.rudi_roster, a.rudi_roster:visited, a.rudi_roster:active, a.rudi_roster:hover { + color:#2b5bae; + } + body { + background-color: black; + /*background-image: url('../images/Background.jpg');*/ + background-position: top center; + background-attachment: fixed; + margin:0; + padding:0; + text-align:left; + } + a img { + border:0px; + } + form { + margin:0; + } + tr.rownorm{ + background-color:white; + + } + tr.rowhigh{ + background-color:#e0e0e0; + } + /* photo gallery styles */ + .photoleft{ + background-image:url("../images/photoleft.png"); + background-repeat:repeat-y; + text-align:center; + width:49px; + } + .photoright{ + background-image:url("../images/photoright.png"); + background-repeat:repeat-y; + text-align:center; + width:49px; + } + /* end photo gallery styles */ + + /* stuff we might need in order to add drop shadows */ + + div.topbar { + height:25px; + text-align:center; + background-color:black; + font-family:verdana; + font-size:10pt; + color:#797e4f; + } + div.botbar { + height:50px; + padding:5px; + text-align:center; + background-color:black; + font-family:verdana; + font-size:10pt; + } + /* may need these two when we add the background images back */ + .leftbar { + /* background-image:url("../images/leftshadow.png"); */ + background-repeat: + repeat-y; + width:50px; + } + .rightbar { + /* background-image:url("../images/rightshadow.png"); */ + background-repeat: + repeat-y; + width:15px; + } + + .fl-left{ + float:left; + } + + .fl-right{ + float:right; + } + + .clear { + clear:both; + } + + .inline { + display: inline; + } + + .left{ + text-align:left; + } + .right{ + text-align:right; + } + .center{ + text-align:center; + } + .title{ + font-size:14px; + font-weight:bold; + font-family:arial; + } + +@import "style_bbcode.css" + diff --git a/themes/throwback/include/style_bbcode.css b/themes/throwback/include/style_bbcode.css new file mode 100644 index 0000000..05333f9 --- /dev/null +++ b/themes/throwback/include/style_bbcode.css @@ -0,0 +1,71 @@ +.bold { + font-weight: bold; +} + +.italics { + font-style: italic; +} + +.underline { + text-decoration: underline; +} + +.strikethrough { + text-decoration: line-through; +} + +.overline { + text-decoration: overline; +} + +.quotecodeheader { + font-family: Verdana, arial, helvetica, sans-serif; + font-size: 12px; + font-weight: bold; +} + +.codebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #006600; + border: 1px solid #BFBFBF; +} + +.quotebody { + background-color: #FFFFFF; + font-family: Courier new, courier, mono; + font-size: 12px; + color: #660002; + border: 1px solid #BFBFBF; +} + +.listbullet { + list-style-type: disc; + list-style-position: inside; +} + +.listdecimal { + list-style-type: decimal; + list-style-position: inside; +} + +.listlowerroman { + list-style-type: lower-roman; + list-style-position: inside; +} + +.listupperroman { + list-style-type: upper-roman; + list-style-position: inside; +} + +.listloweralpha { + list-style-type: lower-alpha; + list-style-position: inside; +} + +.listupperalpha { + list-style-type: upper-alpha; + list-style-position: inside; +} diff --git a/themes/throwback/include/theme.ini b/themes/throwback/include/theme.ini new file mode 100644 index 0000000..34bd055 --- /dev/null +++ b/themes/throwback/include/theme.ini @@ -0,0 +1,2 @@ +[author] +name = "Evan O'Connell" \ No newline at end of file diff --git a/themes/throwback/index.php b/themes/throwback/index.php new file mode 100644 index 0000000..bfcab58 --- /dev/null +++ b/themes/throwback/index.php @@ -0,0 +1,61 @@ + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+ +
+ +td.short{width:100%;}" . "" . "" . "" . "
Code" . $e->getCode() . "
In File" . $e->getFile() . "
" . $e->getLine() . " - " . $e->getMessage() . "
" + ); +} +?> diff --git a/themes/throwback/navigation.php b/themes/throwback/navigation.php new file mode 100644 index 0000000..ac81b6b --- /dev/null +++ b/themes/throwback/navigation.php @@ -0,0 +1,21 @@ + +   HOME    +Query("SELECT * FROM `bayonet_navigation` ORDER BY `weight`"); + $nav = $db->Fetch($result); + + foreach ($nav as $link) { + echo '   ' . strtoupper($link['title']) . '   '; + //echo ''; + } +?> -- cgit