query($query);
$row = $result->fetch_assoc();
$user = $row["login"];
// users
$user_form = ''.$lang_user.'
'.$user.' ('.$lang_logout.')';
}
else {
// public access or admin user
// prepare user select form
if ($admin) {
$user = $admin_user;
}
$user_form = '
'.$lang_user.' ';
if ($auth) {
$user_form .= ' '.$user.' ('.$lang_logout.')';
}
$user_form .= '
';
}
// 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.'
';
// admin menu
$admin_menu = '';
$admin_script = '';
if ($admin) {
$admin_menu = '
';
$admin_script = '';
}
print
'
'.$lang_title.'
';
if ($mapapi == "gmaps") {
print
'
';
}
else {
print
'
';
}
print '
'.$admin_script.'
';
$mysqli->close();
?>