Source

Selador / features.php

Full commit
<?php

/* features.php - Front-end code for the "Features" page
 *
 * Copyright (C) 2006, 2007, 2008 Kevin Read, Simone Schaefer
 *
 * This file is part of Selador, a browser-based fantasy strategy game
 *
 * This program is distributed under the terms of the GNU Affero General Public License.
 *
 *
 *   Selador is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU Affero General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   any later version.
 *
 *   Selador 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 Affero General Public License for more details.
 *
 *   You should have received a copy of the GNU Affero General Public License
 *   along with Selador.  If not, see <http://www.gnu.org/licenses/>.
 **/

header ("Content-Type: text/html; charset=UTF-8");
if (isset ($_POST['username']))
{
  require_once ("php/auth.php");

  ShowAuth();

}

if (isset ($_SESSION['me']))
{
  require_once ("uebersicht.php");
  die ();
}

$webtitle = "Features";

require_once("header_extern.php");
?>


<body class="inhalt">
<div id="zentriert"><div id="logo"><a href="uebersicht.php"><img src="styles/sun/logo.jpg"></a></div>
</div>
<?php
require_once("menue.php");

?>
<div id="leiste-links" style="background-image:url(gfx/burg7.jpg);left:8px"></div>

	<div id="jura-box">
<?php

if (file_exists ("local/features_content.php"))
  require_once ("local/features_content.php");
else
  echo "<strong>Es wurden keine Features in local/features_content.php erstellt!</strong>";
?>

</div></body></html>