Location: PHPKode > projects > Online Fantasy Football League > offl-0.2.6/www/admin.php
<?php
/**
 * Admin-only links (for when drop-down menu fails)
 *
 * Need to update links list
 *
 * @author Stephen Rochelle <hide@address.com>
 * @version OFFL v0.2
 * @copyright Copyright (c) 2004 Stephen Rochelle.  Some rights reserved.
 * @package offl-ui
 */

$pageTitle = "Administrative Links";
require_once("offlconfig.php");
require_once($DOC_ROOT . "/lib/header.php");

if ($_SESSION["admin"] == 1)
{
?>
		<div id="subnav"><ul>
			<li id="caption">Admin Pages:</li>
			<li><a href="<?php echo $WEB_ROOT; ?>/users.php?mode=admin">Users</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/leagues.php?mode=admin">Leagues</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/news.php?mode=admin">News</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/trades.php?mode=admin">Trades</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/rosters.php?mode=admin">Rosters</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/players.php?mode=admin">Players</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/controls.php?mode=admin">Setup</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/teams.php?mode=admin">Teams</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/divisions.php?mode=admin">Divisions</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/games.php?mode=admin">Schedules</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/drafts.php?mode=admin">Drafts</a></li>
			<li><a href="<?php echo $WEB_ROOT; ?>/auction.php?mode=admin">Auctions</a></li>
		</ul></div>
<?php
}

require($DOC_ROOT . "/lib/footer.php"); ?>
Return current item: Online Fantasy Football League