<div class="d-flex flex-column gap-5 p-0">
                        <?php 
                        $license_attributes = json_decode(getSetting('license_attributes'), true);
                        $license_type = '';
                        if (! empty($license_attributes['package'])) {
                            $license_type = trim($license_attributes['package']);
                        }

                        $tab = request()->get("t");
                        $profileTab = "";
                        $localeTab = "";
                        $brandingTab = "";
                        if(empty($tab) or $tab == "p") $profileTab = "active";
                        if($tab == "l") $localeTab = "active";
                        if($tab == "b") $brandingTab = "active";
                      ?>

                        <div class="d-flex flex-stack">
                            <a href="{{ url('/account/profile') }}/{{$user->id}}" class="fs-6 fw-bold text-gray-800 text-hover-primary text-active-primary <?php if(str_contains(request()->url(), 'profile')){ echo 'active'; } ?>"><i class="fa fa-user-circle" style=""></i> {{trans('common.topbar.action.profile')}}</a>
                        </div>
                        @if(isClient(auth()->user()))
                        <div class="d-flex flex-stack">
                            <a href="{{ url('/account/settings') }}/{{$user->id}}" class="fs-6 fw-bold text-gray-800 text-hover-primary text-active-primary <?php if(str_contains(request()->url(), 'settings')){ echo 'active'; } ?>"><i class="fa fa-user-cog" style=""></i> {{trans('user_management.setting.view.title')}}</a>
                        </div>
                        @endif
                        <div class="d-flex flex-stack">
                            <a href="{{ url('/account/security') }}" class="fs-6 fw-bold text-gray-800 text-hover-primary text-active-primary <?php if(str_contains(request()->url(), 'security')){ echo 'active'; } ?>"><i class="fa fa-shield-alt" style=""></i> {{trans('common.topbar.action.security')}}</a>
                        </div>
                       
                    

                        <?php 
                        $allowBranding = DB::table("users")->where("id" , Auth::user()->id)->value("allow_branding");
                        if($allowBranding == NULL) { 
                            $allowBranding = DB::table("packages")->where("id" , Auth::user()->package_id)->value("allow_branding");
                        }
                        
                        
                        if($license_type == "Commercial ESP" && $allowBranding && getSetting("allow_user_branding") == "on") { 

                        ?>
                        <div class="d-flex flex-stack">
                            <a href="{{ url('/account/branding') }}/{{$user->id}}" class="fs-6 fw-bold text-gray-800 text-hover-primary text-active-primary"><i class="fa fa-layer-group" style=""></i> {{ trans('profile.branding.tab_label') }}</a>
                        </div>
                        <?php } ?>
                    </div>