Location: PHPKode > projects > eqEpic > eqEpic0.7.8/index.php
<?php 
/******************************************************************************
* index.php                                                                   *
* Index File                                                                  *
* See readme.txt for additional information                                   *
*******************************************************************************
* eqEpic - The Epic Raid Manager                                              *
* Open-Source Project By Ryan Christenson                                     *
* =========================================================================== *
* Software Version:           eqEpic 0.7.8                                    *
* Software by:                The RSWR Network (http://www.rswr.net)          *
* Copyright 2006-2007 by:     Ryan Christenson (http://www.rswr.net)          *
* Support, News, Updates at:  http://forum.rswr.net/                          *
*******************************************************************************
* 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 2 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 DownloadCounter; if not, write to the Free Software              *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   *
******************************************************************************/
session_start();
ob_start();
?>
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
?>
<?php include ("ewconfig.php") ?>
<?php include ("db.php") ?>
<?php include ("advsecu.php") ?>
<?php 
ob_start();
	LoadUserLevel();
if (AllowList("MyProfile")) {
	ob_end_clean();
	header("Location: MyProfile.php");
	exit();
}
if (AllowList("players")) {
	ob_end_clean();
	header("Location: playerslist.php");
	exit();
}
if (AllowList("sec")) {
	ob_end_clean();
	header("Location: seclist.php");
	exit();
}
if (AllowList("steps")) {
	ob_end_clean();
	header("Location: stepslist.php");
	exit();
}
if (IsLoggedIn()) {
	echo "You do not have the correct permissions to view this page";
?>
<br />
<a href="logout.php">Back to Login Page</a>
<?php
} else {
	ob_end_clean();
	header("Location: login.php");
	exit();
}
?>
Return current item: eqEpic