query($query); $row = $result->fetch_assoc(); $user = $row["username"]; } else { // free access or admin user // prepare user select form if (($auth == $admin_user) and ($admin_user != "")) { $user = $auth; $auth = NULL; } $user_form = ' '.$lang_user.'
'; } if ($require_authentication) { $user_form .= ''.$lang_user.'
'.$user.' ('.$lang_logout.')'; } // prepare track select form $track_form = ' '.$lang_track.'
'.$lang_latest.'
'; // map api select form $api_form = ' '.$lang_api.'
'; // language select form $lang_form = ' '.$lang_language.'
'; // units select form $units_form = ' '.$lang_units.'
'; print ' '.$lang_title.' '; if ($mapapi == "gmaps") { print ' '; } else { print ' '; } print '
'; $mysqli->close(); ?>