ищу код блока User Menu

Добро пожаловать!

Зарегистрировавшись у нас, вы сможете обсуждать, делиться и отправлять личные сообщения другим участникам нашего сообщества.

Зарегистрироваться!
Пользователь
Регистрация
1 Дек 2025
Сообщения
90
3.1. Заголовок темы должен отражать основную суть темы.
нужен код данного меню
 

Вложения

  • Screenshot_20251219-152211.jpg
    Screenshot_20251219-152211.jpg
    371.2 KB · Просмотры: 17
Пользователь
Регистрация
17 Авг 2025
Сообщения
211
Код:
<div class="block-body" style="padding: 15px;">
            
                <div class="user-menu-buttons" style="display: flex; flex-direction: column; gap: 8px;">
                    <a class="blockLink rippleButton" href="/index.php?members/xz-xzpestol.649/" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-id-card" style="margin-right: 10px; width: 16px;"></i>
                        Профиль
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?account/account-details" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-cog" style="margin-right: 10px; width: 16px;"></i>
                        Информация
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?whats-new/news-feed" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-rss" style="margin-right: 10px; width: 16px;"></i>
                        Новостная лента
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?logout/&amp;t=1766133498%2C8cc0daf85e2a5157ba3faefa976b76b8" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-sign-out-alt" style="margin-right: 10px; width: 16px;"></i>
                        Выход
                    </a>
                </div>
            
        </div>
 
Пользователь
Регистрация
1 Дек 2025
Сообщения
90
Код:
<div class="block-body" style="padding: 15px;">
           
                <div class="user-menu-buttons" style="display: flex; flex-direction: column; gap: 8px;">
                    <a class="blockLink rippleButton" href="/index.php?members/xz-xzpestol.649/" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-id-card" style="margin-right: 10px; width: 16px;"></i>
                        Профиль
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?account/account-details" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-cog" style="margin-right: 10px; width: 16px;"></i>
                        Информация
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?whats-new/news-feed" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-rss" style="margin-right: 10px; width: 16px;"></i>
                        Новостная лента
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?logout/&amp;t=1766133498%2C8cc0daf85e2a5157ba3faefa976b76b8" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-sign-out-alt" style="margin-right: 10px; width: 16px;"></i>
                        Выход
                    </a>
                </div>
           
        </div>
а можешь со значком впереди дать+оранжевым цветом
 

Вложения

  • Screenshot_20251219-162355.jpg
    Screenshot_20251219-162355.jpg
    399.1 KB · Просмотры: 7
Пользователь
Регистрация
17 Авг 2025
Сообщения
211
Код:
<h3 class="block-minorHeader" style="background: linear-gradient(135deg, #ff8400 0%, #ffa600 100%); margin: -1px -1px 0 -1px; padding: 12px 15px; border-radius: 11px 11px 0 0; text-align: center;">
            <b style="margin: 0; color: white; font-size: 1.1em; text-shadow: 0 1px 2px rgba(0,0,0,0.3);">
                <i style="font-family: 'Font Awesome 5 Pro'; margin-right: 8px;" class="fas fa-user"></i> 
                Меню пользователя
            </b>
        </h3>

С значком + оранж
 
Пользователь
Регистрация
1 Дек 2025
Сообщения
90
Код:
<h3 class="block-minorHeader" style="background: linear-gradient(135deg, #ff8400 0%, #ffa600 100%); margin: -1px -1px 0 -1px; padding: 12px 15px; border-radius: 11px 11px 0 0; text-align: center;">
            <b style="margin: 0; color: white; font-size: 1.1em; text-shadow: 0 1px 2px rgba(0,0,0,0.3);">
                <i style="font-family: 'Font Awesome 5 Pro'; margin-right: 8px;" class="fas fa-user"></i>
                Меню пользователя
            </b>
        </h3>

С значком + оранж
полный можешь
 
Пользователь
Регистрация
17 Авг 2025
Сообщения
211
Код:
<h3 class="block-minorHeader" style="background: linear-gradient(135deg, #ff8400 0%, #ffa600 100%); margin: -1px -1px 0 -1px; padding: 12px 15px; border-radius: 11px 11px 0 0; text-align: center;">
            <b style="margin: 0; color: white; font-size: 1.1em; text-shadow: 0 1px 2px rgba(0,0,0,0.3);">
                <i style="font-family: 'Font Awesome 5 Pro'; margin-right: 8px;" class="fas fa-user"></i> 
                Меню пользователя
            </b>
        </h3>

<div class="block-body" style="padding: 15px;">
            
                <div class="user-menu-buttons" style="display: flex; flex-direction: column; gap: 8px;">
                    <a class="blockLink rippleButton" href="/index.php?members/xz-xzpestol.649/" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-id-card" style="margin-right: 10px; width: 16px;"></i>
                        Профиль
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?account/account-details" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-cog" style="margin-right: 10px; width: 16px;"></i>
                        Информация
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?whats-new/news-feed" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-rss" style="margin-right: 10px; width: 16px;"></i>
                        Новостная лента
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?logout/&amp;t=1766133498%2C8cc0daf85e2a5157ba3faefa976b76b8" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-sign-out-alt" style="margin-right: 10px; width: 16px;"></i>
                        Выход
                    </a>
                </div>
            
        </div>
 
Пользователь
Регистрация
1 Дек 2025
Сообщения
90
Код:
<h3 class="block-minorHeader" style="background: linear-gradient(135deg, #ff8400 0%, #ffa600 100%); margin: -1px -1px 0 -1px; padding: 12px 15px; border-radius: 11px 11px 0 0; text-align: center;">
            <b style="margin: 0; color: white; font-size: 1.1em; text-shadow: 0 1px 2px rgba(0,0,0,0.3);">
                <i style="font-family: 'Font Awesome 5 Pro'; margin-right: 8px;" class="fas fa-user"></i>
                Меню пользователя
            </b>
        </h3>

<div class="block-body" style="padding: 15px;">
           
                <div class="user-menu-buttons" style="display: flex; flex-direction: column; gap: 8px;">
                    <a class="blockLink rippleButton" href="/index.php?members/xz-xzpestol.649/" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-id-card" style="margin-right: 10px; width: 16px;"></i>
                        Профиль
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?account/account-details" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-cog" style="margin-right: 10px; width: 16px;"></i>
                        Информация
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?whats-new/news-feed" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-rss" style="margin-right: 10px; width: 16px;"></i>
                        Новостная лента
                    </a>
                    <a class="blockLink rippleButton" href="/index.php?logout/&amp;t=1766133498%2C8cc0daf85e2a5157ba3faefa976b76b8" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                        <i class="fas fa-sign-out-alt" style="margin-right: 10px; width: 16px;"></i>
                        Выход
                    </a>
                </div>
           
        </div>
есть ссылка выше на профиль что бы переносило вот форум https://whg88635.hgweb.ru/index.php?pages/shop_forums/
 
Пользователь
Регистрация
17 Авг 2025
Сообщения
211
Пользователь
Регистрация
17 Авг 2025
Сообщения
211
Код:
<h3 class="block-minorHeader" style="background: linear-gradient(135deg, #ff8400 0%, #ffa600 100%); margin: -1px -1px 0 -1px; padding: 12px 15px; border-radius: 11px 11px 0 0; text-align: center;">
    <b style="margin: 0; color: white; font-size: 1.1em; text-shadow: 0 1px 2px rgba(0,0,0,0.3);">
        <i style="font-family: 'Font Awesome 5 Pro'; margin-right: 8px;" class="fas fa-user"></i> 
        {{ phrase('user_menu') }}
    </b>
</h3>

<div class="block-body" style="padding: 15px;">
    <div class="user-menu-buttons" style="display: flex; flex-direction: column; gap: 8px;">
        
        <xf:if is="$xf.visitor.user_id">
            <a class="blockLink rippleButton" href="{{ link('members', $xf.visitor) }}" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                <i class="fas fa-id-card" style="margin-right: 10px; width: 16px;"></i>
                {{ phrase('your_profile') }}
            </a>
        </xf:if>
        
        
        <a class="blockLink rippleButton" href="{{ link('account/account-details') }}" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
            <i class="fas fa-cog" style="margin-right: 10px; width: 16px;"></i>
            {{ phrase('account_settings') }}
        </a>
        
        
        <a class="blockLink rippleButton" href="{{ link('whats-new/news-feed') }}" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
            <i class="fas fa-rss" style="margin-right: 10px; width: 16px;"></i>
            {{ phrase('news_feed') }}
        </a>
        
        
        <xf:if is="$xf.visitor.canUseConversationSystem()">
            <a class="blockLink rippleButton" href="{{ link('conversations') }}" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                <i class="fas fa-envelope" style="margin-right: 10px; width: 16px;"></i>
                {{ phrase('conversations') }}
                <xf:if is="$xf.visitor.conversations_unread">
                    <span class="badge" style="margin-left: auto; background: #ff8400; color: white; border-radius: 10px; padding: 2px 8px; font-size: 0.8em;">
                        {{ $xf.visitor.conversations_unread|number }}
                    </span>
                </xf:if>
            </a>
        </xf:if>
        
        
        <a class="blockLink rippleButton" href="{{ link('account/alerts') }}" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
            <i class="fas fa-bell" style="margin-right: 10px; width: 16px;"></i>
            {{ phrase('alerts') }}
            <xf:if is="$xf.visitor.alerts_unread">
                <span class="badge" style="margin-left: auto; background: #ff8400; color: white; border-radius: 10px; padding: 2px 8px; font-size: 0.8em;">
                    {{ $xf.visitor.alerts_unread|number }}
                </span>
            </xf:if>
        </a>
        
      
        <xf:if is="$xf.options.bookmarksEnabled">
            <a class="blockLink rippleButton" href="{{ link('account/bookmarks') }}" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
                <i class="fas fa-bookmark" style="margin-right: 10px; width: 16px;"></i>
                {{ phrase('bookmarks') }}
            </a>
        </xf:if>
        
   
        <a class="blockLink rippleButton" href="{{ link('logout', null, {'t': $xf.csrfToken}) }}" style="background: #242429; color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #555; display: flex; align-items: center;">
            <i class="fas fa-sign-out-alt" style="margin-right: 10px; width: 16px;"></i>
            {{ phrase('log_out') }}
        </a>
    </div>
</div>
 
Сверху