aboutsummaryrefslogtreecommitdiff
path: root/themes/gttheme/index.php
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2013-08-19 09:41:19 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2013-08-19 09:41:19 -0400
commitc5eb569f5122d4140952bd5cc7ad4fdc5fbf8a23 (patch)
tree37024ec14fde9fef92eef8e9f997f72731e5155d /themes/gttheme/index.php
parent41d7bde950d6166a6cc414a48d0fa57f3fd9a512 (diff)
parent50f14f6bee7e1efaac5971579fc2e76c728ecad6 (diff)
downloadbayonetcms-master.tar.gz
Merge pull request #3 from eoconnell/masterHEADmaster
Some more stuff
Diffstat (limited to 'themes/gttheme/index.php')
-rw-r--r--themes/gttheme/index.php70
1 files changed, 0 insertions, 70 deletions
diff --git a/themes/gttheme/index.php b/themes/gttheme/index.php
deleted file mode 100644
index 5ed718f..0000000
--- a/themes/gttheme/index.php
+++ /dev/null
@@ -1,70 +0,0 @@
-<?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/>.
- */
-
-/* Begin try/catch block */
-try {
-
-/* Setup error handing callbacks */
-ob_start("fatal_error_handler");
-set_error_handler("handle_error");
-
-require_once self::$root_path . '/include/functions.php';
-
-include self::$header;
-//session_start();
-?>
-
-<div class="container">
-
-<!-- banner -->
- <div class="banner"><img src="<?php echo self::$image_path . '/Medal.png'; ?>" class="head_medal" /><a href="index.php"><img src="<?php echo self::$image_path . '/banner.jpg'; ?>" alt="3rd Infantry Division - ArmAII Unit" /></a></div>
-<!-- navigation -->
- <div class="nav"><?php require_once self::$root_path . '/navigation.php'; ?></div>
-
-<!-- content -->
-<table border="0" cellspacing="15px" cellpadding="0" class="main" width="100%">
- <tr>
- <td class="midcol">
- <?php require_once 'modules.php'; ?>
- </td>
-
- <!-- block area RIGHT -->
- <?php if(!defined('BLOCK_RIGHT_DISABLE')): ?>
- <td class="rightcol">
- <?php GetBlocks(BLOCK_RIGHT); ?>
- </td>
- <?php endif; ?>
-
- </tr>
-</table>
-
-</div>
-<?php include self::$footer; ?>
-<?php
-/* Flushing is needed by the error handler */
-ob_end_flush();
-
-} //try ^^
-catch(Exception $e)
-{
- ReportError(
- "<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/>"
- );
-}
-?>