Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

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

Дек
108
18
Пользователь
3.1. Заголовок темы должен отражать основную суть темы.
нужен код данного меню
 

Вложения

  • Screenshot_20251219-152211.jpg
    Screenshot_20251219-152211.jpg
    371.2 KB · Просмотры: 21
Авг
271
109
Пользователь
Код:
<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>
 
Дек
108
18
Пользователь
Код:
<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 · Просмотры: 8
Авг
271
109
Пользователь
Код:
<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>

С значком + оранж
 
Дек
108
18
Пользователь
Код:
<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>

С значком + оранж
полный можешь
 
Авг
271
109
Пользователь
Код:
<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>
 
Дек
108
18
Пользователь
Код:
<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/
 
Авг
271
109
Пользователь
Код:
<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>
 
Сверху