diff options
63 files changed, 726 insertions, 158 deletions
diff --git a/admin/admin_functions.php b/admin/admin_functions.php index 46572e5..e058342 100644 --- a/admin/admin_functions.php +++ b/admin/admin_functions.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ if(!defined("ADMIN_FILE")) { @@ -166,4 +166,4 @@ function CloseTable_Ex() echo "</td></tr></table>"; } -?>
\ No newline at end of file +?> diff --git a/admin/functions.php b/admin/functions.php index 5c018a0..ce7d5ff 100644 --- a/admin/functions.php +++ b/admin/functions.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,8 +15,9 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ + /** * bbcode_format() * @@ -560,4 +561,4 @@ function PageRedirect($delay, $link) { echo "<meta http-equiv=\"Refresh\" content=\"{$delay};url={$link}\">"; } -?>
\ No newline at end of file +?> diff --git a/admin/header.php b/admin/header.php index 7ecc702..eccfde0 100644 --- a/admin/header.php +++ b/admin/header.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler & Evan O'Connell + * 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 @@ -15,7 +15,8 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ + ob_start(); $starttime = explode(' ', microtime()); @@ -78,4 +79,4 @@ $(document).ready(function() { </script> </head> -<body>
\ No newline at end of file +<body> diff --git a/admin/index.php b/admin/index.php index c1209e5..a3cb956 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler & Evan O'Connell + * 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 @@ -15,7 +15,8 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ + session_start(); @@ -152,4 +153,4 @@ $debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) p } } -?>
\ No newline at end of file +?> diff --git a/admin/operation.php b/admin/operation.php index 4ba80e4..1e8463a 100644 --- a/admin/operation.php +++ b/admin/operation.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ if(!defined("ADMIN_FILE")) { @@ -50,4 +50,4 @@ else -?>
\ No newline at end of file +?> diff --git a/include/classes.php b/include/classes.php index ac62115..321e063 100644 --- a/include/classes.php +++ b/include/classes.php @@ -1,4 +1,22 @@ <?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/>. + */ + abstract class Bayonet_Layout { @@ -235,4 +253,4 @@ class BayonetForm } } -?>
\ No newline at end of file +?> diff --git a/include/debug.php b/include/debug.php index a0c2236..6a9f982 100644 --- a/include/debug.php +++ b/include/debug.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ define("RUDI_DEBUG",true); define("RUDI_DEBUG_LEVEL",true); @@ -222,4 +222,4 @@ function decho($message, $flag = REPEAT) */ -?>
\ No newline at end of file +?> diff --git a/include/functions.php b/include/functions.php index 370ed9f..d1456df 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ /** * bbcode_format() @@ -617,4 +617,4 @@ function GetBlocks($position = BLOCK_LEFT) if($config['blocks']['spacer']) echo "<br />"; } } -?>
\ No newline at end of file +?> diff --git a/include/sql.class.php b/include/sql.class.php index cb95a83..9802c9a 100644 --- a/include/sql.class.php +++ b/include/sql.class.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ static $db_queries = 0; static $db_connections = 0; @@ -1,4 +1,21 @@ <?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/>. + */ /** * DO NOT MOVE THESE DEFINES @@ -16,4 +33,4 @@ require_once BAYONET_INCLUDE . '/classes.php'; Bayonet::init(); -?>
\ No newline at end of file +?> diff --git a/modules/admin/admin_functions.php b/modules/admin/admin_functions.php index d0d54a8..dbe101e 100644 --- a/modules/admin/admin_functions.php +++ b/modules/admin/admin_functions.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,8 +15,9 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - /* + */ + +/* if(!defined("ADMIN_FILE")) { die("Access denied."); @@ -149,4 +150,4 @@ function CloseTable_Ex() echo "</td></tr></table>"; } */ -?>
\ No newline at end of file +?> diff --git a/modules/admin/blocks/functions.php b/modules/admin/blocks/functions.php index 2c7b166..ce2744a 100644 --- a/modules/admin/blocks/functions.php +++ b/modules/admin/blocks/functions.php @@ -1,7 +1,7 @@ <?php /** - * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,8 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ + function ListBlocks() { diff --git a/modules/admin/blocks/index.php b/modules/admin/blocks/index.php index 8d63b6d..164f7a9 100644 --- a/modules/admin/blocks/index.php +++ b/modules/admin/blocks/index.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ /** * This file administers the site blocks. @@ -56,4 +56,4 @@ echo "<table align=\"center\" width=\"200px\"><tr><th>".LinkInternal('Create a B ListBlocks(); -?>
\ No newline at end of file +?> diff --git a/modules/admin/index.php b/modules/admin/index.php index 667dc6e..653347f 100644 --- a/modules/admin/index.php +++ b/modules/admin/index.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,8 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ + /* if(!defined("MODULE_FILE")) { @@ -70,4 +71,4 @@ } } */ -?>
\ No newline at end of file +?> diff --git a/modules/admin/operation.php b/modules/admin/operation.php index 4fb687b..62e34bb 100644 --- a/modules/admin/operation.php +++ b/modules/admin/operation.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,8 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ + /* if(!defined("ADMIN_FILE")) { @@ -50,4 +51,4 @@ else */ -?>
\ No newline at end of file +?> diff --git a/modules/admin/pages/functions.php b/modules/admin/pages/functions.php index f71f90f..3507a5d 100644 --- a/modules/admin/pages/functions.php +++ b/modules/admin/pages/functions.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,8 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ + /** * Note to anyone feeling the need to edit this file... diff --git a/modules/admin/pages/index.php b/modules/admin/pages/index.php index cb36250..737ad8b 100644 --- a/modules/admin/pages/index.php +++ b/modules/admin/pages/index.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,8 +15,9 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - ?> + */ + +?> <div class="maincontent"> <fieldset style="height:500px"> diff --git a/modules/cu3er/index.php b/modules/cu3er/index.php index 0e5202d..cf4ed19 100644 --- a/modules/cu3er/index.php +++ b/modules/cu3er/index.php @@ -1,3 +1,22 @@ +<?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/>.
+ */
+?>
<?php OpenContent(); ?>
<!-- STEP ONE: insert path to SWFObject JavaScript -->
<script type="text/javascript" src="modules/cu3er/js/swfobject/swfobject.js"></script>
@@ -32,4 +51,4 @@ <link target="_blank">http://www.3rd-infantry-division.org/forums/index.php?board=13.0</link>
<heading>Enlist Today!</heading>
<paragraph>Some text.</paragraph>
- </description> */
\ No newline at end of file + </description> */
diff --git a/modules/download/index.php b/modules/download/index.php index 8cd1d99..5f7773e 100644 --- a/modules/download/index.php +++ b/modules/download/index.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler & Evan O'Connell + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ if(!defined("MODULE_FILE")) { diff --git a/modules/index/index.php b/modules/index/index.php index 83b542c..623f932 100644 --- a/modules/index/index.php +++ b/modules/index/index.php @@ -1,5 +1,23 @@ <?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/>. + */ + +/** * MODULE - INDEX >> * This page is a module that displays multiple modules * Database should store a list of module names in the order they are to be displayed diff --git a/modules/news/functions.php b/modules/news/functions.php index 67e9b43..790a00e 100644 --- a/modules/news/functions.php +++ b/modules/news/functions.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler & Evan O'Connell + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ /** * getNewsComments($id) diff --git a/modules/news/index.php b/modules/news/index.php index 47688be..2074aea 100644 --- a/modules/news/index.php +++ b/modules/news/index.php @@ -2,7 +2,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ if(!defined("MODULE_FILE")) { @@ -103,4 +103,4 @@ else -?>
\ No newline at end of file +?> diff --git a/modules/newsreel/index.php b/modules/newsreel/index.php index 3caa86b..d067295 100644 --- a/modules/newsreel/index.php +++ b/modules/newsreel/index.php @@ -1,3 +1,23 @@ +<?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/>. + */ + +?> <!-- START News Reel --> <link rel="stylesheet" type="text/css" href="modules/newsreel/style.css" media="screen"/> <?php OpenContent(); ?> @@ -113,4 +133,4 @@ $y=0; </table> <?php CloseContent(); ?> -<!-- END News Reel -->
\ No newline at end of file +<!-- END News Reel --> diff --git a/modules/page/index.php b/modules/page/index.php index aeba18a..03bda50 100644 --- a/modules/page/index.php +++ b/modules/page/index.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ define("MODULE_FAIL", "You cannot access this module directly.<br/>\n",true); define('BLOCK_RIGHT_DISABLE', true); diff --git a/modules/rudi/admin/includes/admin.class.php b/modules/rudi/admin/includes/admin.class.php index fee79c9..d0a50fe 100644 --- a/modules/rudi/admin/includes/admin.class.php +++ b/modules/rudi/admin/includes/admin.class.php @@ -1,4 +1,22 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + /* class Rank { @@ -118,4 +136,4 @@ class AdminModify } } -?>
\ No newline at end of file +?> diff --git a/modules/rudi/admin/index.php b/modules/rudi/admin/index.php index 33d9cd1..b6f88bc 100644 --- a/modules/rudi/admin/index.php +++ b/modules/rudi/admin/index.php @@ -1,4 +1,21 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ //include '../includes/debug.php'; //include '../includes/sql.class.php'; @@ -18,4 +35,4 @@ if(isset($_GET['soldier']) && $_GET['soldier'] == 'modify') //include '../footer.php'; ob_flush(); -?>
\ No newline at end of file +?> diff --git a/modules/rudi/admin/views/view.addsoldier.php b/modules/rudi/admin/views/view.addsoldier.php index 370b232..c6e3ad1 100644 --- a/modules/rudi/admin/views/view.addsoldier.php +++ b/modules/rudi/admin/views/view.addsoldier.php @@ -1,3 +1,20 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ -?>
\ No newline at end of file +?> diff --git a/modules/rudi/admin/views/view.admin.php b/modules/rudi/admin/views/view.admin.php index d05e5b1..83e788b 100644 --- a/modules/rudi/admin/views/view.admin.php +++ b/modules/rudi/admin/views/view.admin.php @@ -1,4 +1,22 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + ?> <html> diff --git a/modules/rudi/admin/views/view.deletesoldier.php b/modules/rudi/admin/views/view.deletesoldier.php index 370b232..8d622fb 100644 --- a/modules/rudi/admin/views/view.deletesoldier.php +++ b/modules/rudi/admin/views/view.deletesoldier.php @@ -1,3 +1,21 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + -?>
\ No newline at end of file +?> diff --git a/modules/rudi/admin/views/view.modifysoldier.php b/modules/rudi/admin/views/view.modifysoldier.php index 83449b8..6fd2895 100644 --- a/modules/rudi/admin/views/view.modifysoldier.php +++ b/modules/rudi/admin/views/view.modifysoldier.php @@ -1,5 +1,22 @@ - <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + if(isset($_POST['id'])) { $id = $_POST['id']; @@ -32,4 +49,4 @@ if(isset($_POST['id'])) </table> </form> -<?php decho($_POST); decho($common->data[$id]); //decho($common->getRanks())?>
\ No newline at end of file +<?php decho($_POST); decho($common->data[$id]); //decho($common->getRanks())?> diff --git a/modules/rudi/footer.php b/modules/rudi/footer.php index f827d01..46db093 100644 --- a/modules/rudi/footer.php +++ b/modules/rudi/footer.php @@ -1,8 +1,26 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + $real = sprintf("%.2fkb", memory_get_usage() / 1024); $peak = sprintf("%.2fkb", memory_get_peak_usage() / 1024); ?> <center><?php echo "Connections: $db_connections | Queries: $db_queries | Fetches: $db_fetches | Released: $db_frees | Memory: (real): $real (peak): $peak"?></center> </body> -</html>
\ No newline at end of file +</html> diff --git a/modules/rudi/header.php b/modules/rudi/header.php index 7ea6723..eb5ef2b 100644 --- a/modules/rudi/header.php +++ b/modules/rudi/header.php @@ -1,3 +1,22 @@ +<?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ +?> <?php OpenContent(); ?> <div class="content" style="text-align:center"> <div class="inline" style="margin:0px 20px 0px 20px;"><?php echo LinkModule('rudi',NULL,'Roster'); ?></div> @@ -7,4 +26,4 @@ <div class="clear"></div> </div> <?php CloseContent(); ?> -<br />
\ No newline at end of file +<br /> diff --git a/modules/rudi/includes/common.class.php b/modules/rudi/includes/common.class.php index 0d5e63e..98d7c6d 100644 --- a/modules/rudi/includes/common.class.php +++ b/modules/rudi/includes/common.class.php @@ -1,4 +1,22 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + define('RUDI_PROFILE_SMALL', true); define('RUDI_PROFILE_BIG', false); @@ -1181,4 +1199,4 @@ class RUDI_Common } -?>
\ No newline at end of file +?> diff --git a/modules/rudi/includes/debug.php b/modules/rudi/includes/debug.php index 1f5f382..f0313c1 100644 --- a/modules/rudi/includes/debug.php +++ b/modules/rudi/includes/debug.php @@ -1,4 +1,22 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + if(!defined(NO_ACCESS)) { @@ -77,4 +95,4 @@ function decho($message) */ -?>
\ No newline at end of file +?> diff --git a/modules/rudi/includes/information.class.php b/modules/rudi/includes/information.class.php index d34c4aa..94481b0 100644 --- a/modules/rudi/includes/information.class.php +++ b/modules/rudi/includes/information.class.php @@ -1,4 +1,22 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + class RUDI_Information extends RUDI_Common { @@ -31,4 +49,4 @@ class RUDI_Information extends RUDI_Common } } -?>
\ No newline at end of file +?> diff --git a/modules/rudi/includes/sql.class.php b/modules/rudi/includes/sql.class.php index 4066684..720181c 100644 --- a/modules/rudi/includes/sql.class.php +++ b/modules/rudi/includes/sql.class.php @@ -1,4 +1,22 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + static $db_queries = 0; static $db_connections = 0; @@ -87,4 +105,4 @@ class RUDI_SQL } } -?>
\ No newline at end of file +?> diff --git a/modules/rudi/index.php b/modules/rudi/index.php index 4550ad7..8c103a1 100644 --- a/modules/rudi/index.php +++ b/modules/rudi/index.php @@ -1,8 +1,24 @@ <link rel="stylesheet" type="text/css" href="modules/rudi/includes/rudi.css" media="screen"/> <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ - include 'header.php'; - +include 'header.php'; //include 'includes/debug.php'; //require 'includes/sql.class.php'; include_once 'includes/common.class.php'; @@ -113,4 +129,4 @@ CloseContent(); //decho($test->foo[0]->member_id); //$test1 = new Test(); //$test2 = new Test(); -?>
\ No newline at end of file +?> diff --git a/modules/rudi/views/view.awards.php b/modules/rudi/views/view.awards.php index 0a17005..6ecd097 100644 --- a/modules/rudi/views/view.awards.php +++ b/modules/rudi/views/view.awards.php @@ -1,3 +1,23 @@ +<?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + +?> <?php define('BLOCK_RIGHT_DISABLE','block_right_disable'); ?> <?php $medals_path = $this->images_path . "/medals/"; ?> @@ -78,4 +98,4 @@ td.rudi { </table> --> </body> -</html>
\ No newline at end of file +</html> diff --git a/modules/rudi/views/view.drills.php b/modules/rudi/views/view.drills.php index aa4b30a..498f5f5 100644 --- a/modules/rudi/views/view.drills.php +++ b/modules/rudi/views/view.drills.php @@ -1,4 +1,21 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ function back() { diff --git a/modules/rudi/views/view.information.php b/modules/rudi/views/view.information.php index d017564..0a6ed31 100644 --- a/modules/rudi/views/view.information.php +++ b/modules/rudi/views/view.information.php @@ -1,4 +1,22 @@ <?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + $unit_id = $_GET['unit_id']; $platoon_id = $_GET['platoon_id']; switch($_GET['info']) @@ -17,4 +35,4 @@ switch($_GET['info']) ReportError('Invalid info entry'); return; } -?>
\ No newline at end of file +?> diff --git a/modules/rudi/views/view.platoon.php b/modules/rudi/views/view.platoon.php index 4ee60dc..bd90a66 100644 --- a/modules/rudi/views/view.platoon.php +++ b/modules/rudi/views/view.platoon.php @@ -1,3 +1,23 @@ +<?php +/** + * Bayonet Content Management System - RUDI + * 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/>. + */ + +?> <?php $data = $info->Platoon($unit_id, $platoon_id); ?> <table align="center"> @@ -19,4 +39,4 @@ </tr> </table> -<?php decho($data); ?>
\ No newline at end of file +<?php decho($data); ?> diff --git a/modules/rudi/views/view.points.php b/modules/rudi/views/view.points.php index bf6c2b6..be1f90e 100644 --- a/modules/rudi/views/view.points.php +++ b/modules/rudi/views/view.points.php @@ -1,3 +1,22 @@ +<?php
+/**
+ * Bayonet Content Management System - RUDI
+ * 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/>.
+ */
+?>
<h3>Points Ticker:</h3>
<table width="100%" class="rudi" cellspacing="0">
@@ -32,4 +51,4 @@ }
?>
-</table>
\ No newline at end of file +</table>
diff --git a/modules/tsviewer/index.php b/modules/tsviewer/index.php index d243fba..da2492b 100644 --- a/modules/tsviewer/index.php +++ b/modules/tsviewer/index.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + */ if(!defined("MODULE_FILE")) { diff --git a/themes/default/footer.php b/themes/default/footer.php index e971b9f..8c9d3de 100644 --- a/themes/default/footer.php +++ b/themes/default/footer.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * 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()); @@ -50,4 +50,4 @@ $debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) p </body> </html> <?php ob_flush();?> -
\ No newline at end of file + diff --git a/themes/default/header.php b/themes/default/header.php index 76dc2f9..a9b043b 100644 --- a/themes/default/header.php +++ b/themes/default/header.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * 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(); @@ -37,4 +37,4 @@ $starttime = $starttime[1] + $starttime[0]; <link rel="stylesheet" type="text/css" href="<?php echo self::$primary_css; ?>" media="screen"/> </head> -<body>
\ No newline at end of file +<body> diff --git a/themes/default/include/functions.php b/themes/default/include/functions.php index 4a401fd..4aeeb14 100644 --- a/themes/default/include/functions.php +++ b/themes/default/include/functions.php @@ -1,4 +1,22 @@ <?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() */ @@ -37,4 +55,4 @@ CloseContent(); } -?>
\ No newline at end of file +?> diff --git a/themes/default/index.php b/themes/default/index.php index 3d02ec1..3da1144 100644 --- a/themes/default/index.php +++ b/themes/default/index.php @@ -1,11 +1,20 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit [link] for any updates or feedback. + * 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 */ diff --git a/themes/default/navigation.php b/themes/default/navigation.php index 5765712..d90365a 100644 --- a/themes/default/navigation.php +++ b/themes/default/navigation.php @@ -1,13 +1,23 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit www.eodesign.com/cms for any updates or feedback. + * 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> diff --git a/themes/gttheme/footer.php b/themes/gttheme/footer.php index 72ddb3a..42b481f 100644 --- a/themes/gttheme/footer.php +++ b/themes/gttheme/footer.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * 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()); diff --git a/themes/gttheme/header.php b/themes/gttheme/header.php index 76dc2f9..a9b043b 100644 --- a/themes/gttheme/header.php +++ b/themes/gttheme/header.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * 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(); @@ -37,4 +37,4 @@ $starttime = $starttime[1] + $starttime[0]; <link rel="stylesheet" type="text/css" href="<?php echo self::$primary_css; ?>" media="screen"/> </head> -<body>
\ No newline at end of file +<body> diff --git a/themes/gttheme/include/functions.php b/themes/gttheme/include/functions.php index 4a401fd..6856262 100644 --- a/themes/gttheme/include/functions.php +++ b/themes/gttheme/include/functions.php @@ -1,4 +1,21 @@ <?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() */ @@ -37,4 +54,4 @@ CloseContent(); } -?>
\ No newline at end of file +?> diff --git a/themes/gttheme/index.php b/themes/gttheme/index.php index b5ac212..5ed718f 100644 --- a/themes/gttheme/index.php +++ b/themes/gttheme/index.php @@ -1,11 +1,20 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit [link] for any updates or feedback. + * 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 */ diff --git a/themes/gttheme/navigation.php b/themes/gttheme/navigation.php index 5765712..69c660c 100644 --- a/themes/gttheme/navigation.php +++ b/themes/gttheme/navigation.php @@ -1,13 +1,22 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit www.eodesign.com/cms for any updates or feedback. + * 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> diff --git a/themes/new/footer.php b/themes/new/footer.php index 0aab911..9e4cb00 100644 --- a/themes/new/footer.php +++ b/themes/new/footer.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * 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()); @@ -54,4 +54,4 @@ $debug_output = sprintf("Page generated in %.3f seconds | Memory: real(%.3fmb) p </body> </html> <?php ob_flush();?> -
\ No newline at end of file + diff --git a/themes/new/header.php b/themes/new/header.php index 353a083..f1e9f0c 100644 --- a/themes/new/header.php +++ b/themes/new/header.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * 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(); @@ -52,4 +52,4 @@ $starttime = $starttime[1] + $starttime[0]; </head> -<body>
\ No newline at end of file +<body> diff --git a/themes/new/include/functions.php b/themes/new/include/functions.php index ec2e6e2..1a1abbc 100644 --- a/themes/new/include/functions.php +++ b/themes/new/include/functions.php @@ -1,4 +1,21 @@ <?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() */ @@ -31,4 +48,4 @@ { } -?>
\ No newline at end of file +?> diff --git a/themes/new/index.php b/themes/new/index.php index 17bbc46..750cc1f 100644 --- a/themes/new/index.php +++ b/themes/new/index.php @@ -1,11 +1,20 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit [link] for any updates or feedback. + * 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 */ @@ -81,4 +90,4 @@ catch(Exception $e) "<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/>" ); } -?>
\ No newline at end of file +?> diff --git a/themes/new/navigation.php b/themes/new/navigation.php index 45bcdf9..6a99e5a 100644 --- a/themes/new/navigation.php +++ b/themes/new/navigation.php @@ -1,13 +1,22 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit www.eodesign.com/cms for any updates or feedback. + * 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/>. */ - ?> +?> <ul id="menu"> <li class="current_page_item"><a href="index.php">HOME</a></li> <?php @@ -19,4 +28,4 @@ echo '<li class="page_item"><a href="' . str_replace('&', '&', $link['link']) . '">' . strtoupper($link['title']) . '</a></li>'; } ?> - </ul><!--end dropmenu-->
\ No newline at end of file + </ul><!--end dropmenu--> diff --git a/themes/throwback/footer.php b/themes/throwback/footer.php index 72ddb3a..42b481f 100644 --- a/themes/throwback/footer.php +++ b/themes/throwback/footer.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * 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()); diff --git a/themes/throwback/header.php b/themes/throwback/header.php index 76dc2f9..a9b043b 100644 --- a/themes/throwback/header.php +++ b/themes/throwback/header.php @@ -1,7 +1,7 @@ <?php /** * Bayonet Content Management System - * Copyright (C) 2008 Joseph Hunkeler + * 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 @@ -15,7 +15,7 @@ * * 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(); @@ -37,4 +37,4 @@ $starttime = $starttime[1] + $starttime[0]; <link rel="stylesheet" type="text/css" href="<?php echo self::$primary_css; ?>" media="screen"/> </head> -<body>
\ No newline at end of file +<body> diff --git a/themes/throwback/include/functions.php b/themes/throwback/include/functions.php index afcd130..ead9d16 100644 --- a/themes/throwback/include/functions.php +++ b/themes/throwback/include/functions.php @@ -1,4 +1,22 @@ <?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() */ @@ -35,4 +53,4 @@ CloseContent(); } -?>
\ No newline at end of file +?> diff --git a/themes/throwback/index.php b/themes/throwback/index.php index bfcab58..90e6a6d 100644 --- a/themes/throwback/index.php +++ b/themes/throwback/index.php @@ -1,11 +1,20 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit [link] for any updates or feedback. + * 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 */ diff --git a/themes/throwback/navigation.php b/themes/throwback/navigation.php index ac81b6b..03c0376 100644 --- a/themes/throwback/navigation.php +++ b/themes/throwback/navigation.php @@ -1,13 +1,22 @@ <?php /** - * Bayonet Conent Management System - * Copyright (C) Joseph Hunkeler & Evan O'Connell - * - * Purpose of this software is to allow users to manage their website - * with ease and without needing to have any coding knowledge in order - * to maintain it. Visit www.eodesign.com/cms for any updates or feedback. + * 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/>. */ - ?> +?> <a href="index.php">HOME</a> <?php |