From 0f4a3b1b086b4bfc9217def70f8049f9eeb75672 Mon Sep 17 00:00:00 2001 From: thirdid Date: Wed, 27 Jan 2010 03:43:13 +0000 Subject: Directory structure changes (may continue for several revisions) git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2.1@466 c5b2fb0a-d05d-0410-98c8-828840a80ff6 --- themes/default/footer.php | 53 +++++++ themes/default/header.php | 55 +++++++ themes/default/include/default.ini | 2 + themes/default/include/style.css | 252 ++++++++++++++++++++++++++++++++ themes/default/include/style_bbcode.css | 71 +++++++++ themes/default/index.php | 61 ++++++++ themes/default/navigation.php | 24 +++ 7 files changed, 518 insertions(+) create mode 100644 themes/default/footer.php create mode 100644 themes/default/header.php create mode 100644 themes/default/include/default.ini create mode 100644 themes/default/include/style.css create mode 100644 themes/default/include/style_bbcode.css create mode 100644 themes/default/index.php create mode 100644 themes/default/navigation.php (limited to 'themes') diff --git a/themes/default/footer.php b/themes/default/footer.php new file mode 100644 index 0000000..cbbd2bd --- /dev/null +++ b/themes/default/footer.php @@ -0,0 +1,53 @@ +. + */ + +$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); +?> + + + + + + + + + \ No newline at end of file diff --git a/themes/default/header.php b/themes/default/header.php new file mode 100644 index 0000000..b0dba31 --- /dev/null +++ b/themes/default/header.php @@ -0,0 +1,55 @@ +. + */ + +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/default/include/default.ini b/themes/default/include/default.ini new file mode 100644 index 0000000..223cd14 --- /dev/null +++ b/themes/default/include/default.ini @@ -0,0 +1,2 @@ +[author] +name = "Joseph Hunkeler" \ No newline at end of file diff --git a/themes/default/include/style.css b/themes/default/include/style.css new file mode 100644 index 0000000..103c21b --- /dev/null +++ b/themes/default/include/style.css @@ -0,0 +1,252 @@ + /********************************* + ** Layout Styles ** + *********************************/ + div.container { + width: 990px; + /* 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: 28px; + background: #284c75; + background-image:url('images/navbackground.jpg'); + color: #000000; + text-align:center; + /* margin: auto auto; */ + font-size:14px; + } + 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 #3666ba; + } + div.contentBorder2 { + background-color:white; + border:1px solid #333333; + } + div.contentHeading { + background-image:url(images/blockbackground.jpg); + background-repeat:repeat-x; + background-color:#112f50; + height:25px; + padding-left:10px; + padding-right:10px; + padding-top:5px; + 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; + } + + /********************************* + ** 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; + 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; + } + + + .left{ + text-align:left; + } + .right{ + text-align:right; + } + .center{ + text-align:center; + } + .title{ + font-size:14px; + font-weight:bold; + font-family:arial; + } + + + diff --git a/themes/default/include/style_bbcode.css b/themes/default/include/style_bbcode.css new file mode 100644 index 0000000..7299c06 --- /dev/null +++ b/themes/default/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/default/index.php b/themes/default/index.php new file mode 100644 index 0000000..1004e0a --- /dev/null +++ b/themes/default/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/default/navigation.php b/themes/default/navigation.php new file mode 100644 index 0000000..5765712 --- /dev/null +++ b/themes/default/navigation.php @@ -0,0 +1,24 @@ + + + + +Query("SELECT * FROM `bayonet_navigation` ORDER BY `weight`"); + $nav = $db->Fetch($result); + + foreach ($nav as $link) { + echo ''; + } + ?> + + -- cgit