diff options
author | 3rd Infantry Division <thirdid@3rd-infantry-division.org> | 2011-04-18 16:29:05 -0400 |
---|---|---|
committer | 3rd Infantry Division <thirdid@3rd-infantry-division.org> | 2011-04-18 16:29:05 -0400 |
commit | ea0080efe5a38a470d4f745ca589e923efc35e5c (patch) | |
tree | c6604647d51c0e81168e7dbaba9f73385edc02ee /admin/newsreel/index.php | |
parent | fa1cde8684c1a481dd251398d1c2faa27d147a43 (diff) | |
parent | 0077cb99704fe863cf731fc5cab792af2ede96c2 (diff) | |
download | bayonetcms-ea0080efe5a38a470d4f745ca589e923efc35e5c.tar.gz |
Merge branch 'master' of ssh://3rd-infantry-division.org/~/git/bayonet
Diffstat (limited to 'admin/newsreel/index.php')
-rw-r--r-- | admin/newsreel/index.php | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/admin/newsreel/index.php b/admin/newsreel/index.php index 0b97deb..18a239d 100644 --- a/admin/newsreel/index.php +++ b/admin/newsreel/index.php @@ -1,46 +1,46 @@ -<?php
-/**
- * Bayonet Content Management System
- * Copyright (C) 2008 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("ADMIN_FILE"))
-{
- die("Access denied.");
-}
-
-include $basedir.'newsreel/functions.php';
-?>
- <div style="text-align:left;"><h2>- Manage News Reel</h2></div>
- -Add/Edit/Delete needs to be completed.
- <table class="panel" width="100%">
- <tr>
- <td class="panel"><?php EditOrder(); ?></td>
- <td class="panel-box" width="50%">
- <?php
- if(isset($_GET['enable'])){
- $slide_id = $_GET['enable'];
- EnableSlide($slide_id);
- }else if(isset($_GET['disable'])){
- $slide_id = $_GET['disable'];
- DisableSlide($slide_id);
- }else{
- ListInactive();
- }
- ?>
- </td>
- </tr>
- </table>
+<?php +/** + * Bayonet Content Management System + * Copyright (C) 2008 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("ADMIN_FILE")) +{ + die("Access denied."); +} + +include $basedir.'newsreel/functions.php'; +?> + <div style="text-align:left;"><h2>- Manage News Reel</h2></div> + -Add/Edit/Delete needs to be completed. + <table class="panel" width="100%"> + <tr> + <td class="panel"><?php EditOrder(); ?></td> + <td class="panel-box" width="50%"> + <?php + if(isset($_GET['enable'])){ + $slide_id = $_GET['enable']; + EnableSlide($slide_id); + }else if(isset($_GET['disable'])){ + $slide_id = $_GET['disable']; + DisableSlide($slide_id); + }else{ + ListInactive(); + } + ?> + </td> + </tr> + </table> |