function GetUserField ($entity_id, $value_id, $property_id)
{
$arUF = $GLOBALS["USER_FIELD_MANAGER"]->GetUserFields ($entity_id, $value_id);
return $arUF[$property_id]["VALUE"];
}
$arLOGIN=GetUserField ("USER", $arResult["USER_NAME"], "UF_LOGIN");
if ($arResult["FORM_TYPE"] != "login")
{
?><div id="user-menu">
<?=$arLOGIN?> |