<ul <?php if($isFirst): ?> class="firstList" <?php endif; ?>>
    <?php $__currentLoopData = $user->allReferrals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $under): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php if($loop->first): ?>
            <?php $layer++ ?>
        <?php endif; ?>
        <li><?php echo e($under->fullname); ?> ( <?php echo e($under->username); ?> )
            <?php if(($under->allReferrals->count()) > 0 && ($layer < $maxLevel)): ?>
                <?php echo $__env->make($activeTemplate.'partials.under_tree',['user'=>$under,'layer'=>$layer,'isFirst'=>false], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php endif; ?>
        </li>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php /**PATH /home/u601826248/domains/1xmoneyads.online/public_html/testhyip/core/resources/views/templates/bit_gold/partials/under_tree.blade.php ENDPATH**/ ?>