isValid) { $userHeader = $user->login . ' (' . $lang_logout . ')'; } else { $userHeader = '' . $lang_login . ''; } $lastUserId = NULL; $userForm = ''; if ($user->isAdmin || $config::$public_tracks) { // public access or admin user // prepare user select form $userForm = '
' . $lang_user . '
'; } // prepare track select form $trackForm = ' ' . $lang_track . '
' . $lang_latest . '
'; // map api select form $apiForm = ' ' . $lang_api . '
'; // language select form $langForm = ' ' . $lang_language . '
'; // units select form $unitsForm = ' ' . $lang_units . '
'; // admin menu $adminMenu = ''; $adminScript = ''; if ($user->isAdmin) { $adminMenu = '
' . $lang_adminmenu . '
' . $lang_adduser . '
'; $adminScript = ''; } print ' ' . $lang_title . ' '; if ($config::$mapapi == "gmaps") { print ' '; } else { print ' '; } print ' ' . $adminScript . '
'; $mysqli->close(); ?>