<div class="row">
    <div class="col-xl-3 col-lg-3 col-md-4 col-sm-6 col-12">
        <div class="user-ranking" <?php if($user->avatar): ?> style="background: url(<?php echo e(asset($user->avatar)); ?>);" <?php endif; ?>>
            <h4><?php echo e($user->rank->ranking); ?></h4>
            <p><?php echo e($user->rank->ranking_name); ?></p>
            <div class="rank" data-bs-toggle="tooltip" data-bs-placement="top" title="<?php echo e($user->rank->description); ?>">
                <img src="<?php echo e(asset( $user->rank->icon)); ?>" alt="">
            </div>
        </div>
    </div>
    <?php if(setting('sign_up_referral','permission')): ?>
        <div class="col-xl-9 col-lg-9 col-md-8 col-sm-12 col-12">
            <div class="site-card">
                <div class="site-card-header">
                    <h3 class="title"><?php echo e(__('Referral URL')); ?></h3>
                </div>
                <div class="site-card-body">
                    <div class="referral-link">
                        <div class="referral-link-form">
                            <input type="text" value="<?php echo e($referral->link); ?>" id="refLink"/>
                            <button type="submit" onclick="copyRef()">
                                <i class="anticon anticon-copy"></i>
                                <span id="copy"><?php echo e(__('Copy')); ?></span>
                            </button>
                        </div>
                        <p class="referral-joined">
                            <?php echo e($referral->relationships()->count()); ?> <?php echo e(__('peoples are joined by using this URL')); ?>

                        </p>
                    </div>
                </div>
            </div>
        </div>
    <?php endif; ?>

</div>
<?php /**PATH /home/charslib/bexium.online/app/Providers/../../resources/views/frontend/money_invest/user/include/__referral_ranking.blade.php ENDPATH**/ ?>