/** Liga Manager Online 4 * * http://lmo.sourceforge.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. * * REMOVING OR CHANGING THE COPYRIGHT NOTICES IS NOT ALLOWED! * * $Id: lmoadmin.php,v 1.21 2005/10/15 13:12:27 jokerlmo Exp $ */ if (!file_exists(dirname(__FILE__)."/config/init-parameters.php") || isset($_POST['lmo_install_step'])) { include(dirname(__FILE__)."/install/install.php"); } else { define('LMO_AUTH', 1); require(dirname(__FILE__).'/init.php'); $subdir=''; if(!isset($_SESSION["lmouserok"])){$_SESSION["lmouserok"]=0;} if(!isset($_SESSION["lmousername"])){$_SESSION["lmousername"]="";} if(!isset($_SESSION["lmouserpass"])){$_SESSION["lmouserpass"]="";} if(!isset($_SESSION["lmouserfile"])){$_SESSION["lmouserfile"]="";} if(!isset($_SESSION["lmouserokerweitert"])){$_SESSION["lmouserokerweitert"]=0;} $todo=isset($_REQUEST['todo'])?$_REQUEST['todo']:""; $st=isset($_REQUEST['st'])?$_REQUEST['st']:NULL; if($todo=="logout"){ $_SESSION['lmouserok']=0; $_SESSION['lmouserpass']=""; } ?>