query($query);
$row = $result->fetch_assoc();
$user = $row["username"];
// users
$user_form = ''.$lang_user.'
'.$user.' ('.$lang_logout.')';
}
else {
// free access or admin user
// prepare user select form
if (($auth == $admin_user) and ($admin_user != "")) {
$user = $auth;
}
$user_form = '
'.$lang_user.'
';
$user_form .= ''.$lang_user.'
'.$user.' ('.$lang_logout.')';
}
// prepare track select form
$track_form = '
'.$lang_track.'
';
// 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();
?>