* RUNALYZE * * @author Hannes Christiansen <*****@*****.**> * @copyright http://www.runalyze.de/ */ if (!file_exists('data/config.php')) { include 'install.php'; exit; } require 'inc/class.Frontend.php'; $Frontend = new Frontend(true); if (isset($_GET['delete'])) { SessionAccountHandler::logout(); } if (isset($_GET['out'])) { SessionAccountHandler::logout(); } if (!USER_CANT_LOGIN && SessionAccountHandler::isLoggedIn()) { header('Location: index.php'); exit; } $title = 'RUNALYZE - ' . __('Please login'); $tpl = 'tpl.loginWindow.php'; if (isset($_GET['chpw'])) { $tpl = 'tpl.loginWindow.setNewPassword.php'; } if (isset($_GET['activate'])) { $tpl = 'tpl.loginWindow.activateAccount.php'; } if (isset($_GET['delete'])) { $tpl = 'tpl.loginWindow.deleteAccount.php';