diff options
author | 3rd Infantry Division <thirdid@3rd-infantry-division.org> | 2011-04-18 18:41:57 -0400 |
---|---|---|
committer | 3rd Infantry Division <thirdid@3rd-infantry-division.org> | 2011-04-18 18:41:57 -0400 |
commit | eb5ec4457a826bf6edadc9fa1816fac94d4a5c6a (patch) | |
tree | 5d99f21c01f8ed598631456acf3e0f576b6e610b /modules | |
parent | 55111dfa67353632608240a13c0fcc7b47b1c843 (diff) | |
download | bayonetcms-eb5ec4457a826bf6edadc9fa1816fac94d4a5c6a.tar.gz |
Adjusted the Bayonet license (some files may have been missed)
Diffstat (limited to 'modules')
33 files changed, 440 insertions, 53 deletions
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")) { |