aboutsummaryrefslogtreecommitdiff
path: root/themes/new/footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/new/footer.php')
-rw-r--r--themes/new/footer.php57
1 files changed, 57 insertions, 0 deletions
diff --git a/themes/new/footer.php b/themes/new/footer.php
new file mode 100644
index 0000000..0aab911
--- /dev/null
+++ b/themes/new/footer.php
@@ -0,0 +1,57 @@
+<?php
+/**
+ * Bayonet Content Management System
+ * Copyright (C) 2008 Joseph Hunkeler
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+$phpversion = preg_replace('/[a-z-]/', '', phpversion());
+$mtime = explode(' ', microtime());
+$totaltime = $mtime[0] + $mtime[1] - $starttime;
+$debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) peak(%.3fmb) | PHP: %s<br/>Connections: %d | Queries: %d | Fetches: %d | Frees: %d<br/>\n",
+ $totaltime, ((float)memory_get_usage()/1024/1024), ((float)memory_get_peak_usage()/1024/1024), $phpversion, $db_connections, $db_queries, $db_fetches, $db_frees);
+?>
+
+<div id="footerContainer">
+<div id="footer">
+
+
+<?php echo $config['product']['name'] . ' ' . $config['product']['version'] . ' ' . $config['product']['release'] ?><br />
+<?php echo $config['product']['copyright']; ?><span style="float:right;"><a href="admin/">Admin</a></span><br />
+<?php if($config['debug']['enabled']) echo $debug_output ?><br />
+
+
+<div class="clear"></div>
+</div><!--end footer-->
+</div><!--end footerContainer-->
+
+<div id="bottomBarContainer">
+ <div id="bottomBar">
+ <div id="copyright">All logos and trademarks on this site are property of their respective owner. The comments are property of their posters, all the rest &copy; 2001-<?php echo date('Y'); ?> 3rd Infantry Division. &nbsp;&nbsp;<a href="http://www.dreamhost.com/r.cgi?145892" target="_blank"><img src="http://www.dreamhost.com/images/rewards/80x15-e.png" /></a></div>
+ </div><!--end bottomBar-->
+</div><!--end bottomBarContainer-->
+
+<?php
+ if($config['debug']['enabled']){
+ logQueueFlush();
+ }
+?>
+
+
+
+</body>
+</html>
+<?php ob_flush();?>
+ \ No newline at end of file