aboutsummaryrefslogtreecommitdiff
path: root/themes/default/footer.php
diff options
context:
space:
mode:
authorthirdid <thirdid@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-26 22:43:13 -0500
committerthirdid <thirdid@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-26 22:43:13 -0500
commit0f4a3b1b086b4bfc9217def70f8049f9eeb75672 (patch)
tree08b1fc4317e7fd2f14122b1cf4833bf14f420103 /themes/default/footer.php
parent88d5d2af84cde0ce1107551fd2a61455e493b7c8 (diff)
downloadbayonetcms-0f4a3b1b086b4bfc9217def70f8049f9eeb75672.tar.gz
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
Diffstat (limited to 'themes/default/footer.php')
-rw-r--r--themes/default/footer.php53
1 files changed, 53 insertions, 0 deletions
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 @@
+<?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 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 &copy; 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 $config['product']['copyright']; ?><br />
+<?php if($config['debug']['enabled']) echo $debug_output ?><br />
+
+<a href="http://www.dreamhost.com/r.cgi?145892" target="_blank"><img src="http://www.dreamhost.com/images/rewards/80x15-e.png" /></a><br /><br />
+
+</div>
+
+<?php
+ if($config['debug']['enabled']){
+ logQueueFlush();
+ }
+?>
+
+</body>
+</html>
+<?php ob_flush();?>
+ \ No newline at end of file