<?php $__env->startSection('style'); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <div class="nk-content">
                        <div class="container-fluid">
                            <div class="nk-content-inner">
                                <div class="nk-content-body">
    <div class="nk-content-body">
                                <div class="nk-content-wrap">
                                    <div class="nk-block-head nk-block-head-lg">

                                        <div class="nk-block-between-md g-4">
                                            <div class="nk-block-head-content">
                                                <h4 class="nk-block-title fw-normal">Multi Level Marketing Referral System</h4>
                                                <div class="nk-block-des">
                                                    <p class="text-primary">You can earn bonuses and points from referring people to <?php echo e($basic->sitename); ?> using your referral link.</p>
                                                </div>
                                            </div>
                                        </div>
                                    </div><!-- .nk-block-head -->
                                    <div class="nk-block">
                                        <ul class="sp-pdl-list">
                                        <?php for($i = 1; $i <= $basic->matrix_height; $i++): ?>
                                            <li class="sp-pdl-item">
                                                <div class="sp-pdl-desc">
                                                    <div class="sp-pdl-img"><img src="<?php echo e(asset('core-img/plan.svg')); ?>" alt=""></div>
                                                    <div class="sp-pdl-info">
                                                        <h6 class="sp-pdl-title">  <span class="badge badge-sm badge-dim badge-primary badge-pill"><?php echo e(app('translator')->getFromJson('Level '.$i)); ?></span></h6>

                                                    </div>
                                                </div>
                                                <div class="sp-pdl-btn">
                                                    <a href="<?php echo e(route('matrix.index', ['lv_no' => $i])); ?>" class="btn btn-primary">View</a>
                                                </div>
                                            </li><!-- .sp-pdl-item -->
                                            <?php endfor; ?>
                                        </ul><!-- .sp-pdl-list -->
                                    </div><!-- .nk-block -->
                                    <div class="nk-block nk-block-lg">
                                        <div class="card card-bordered">
                                            <div class="card">
                <div class="table-responsive table-responsive-xl">
                    <table class="table align-items-center table-light">
                        <thead>
                        <tr>
                            <th scope="col"><?php echo e(app('translator')->getFromJson('Username')); ?></th>
                            <th scope="col"><?php echo e(app('translator')->getFromJson('Under Position')); ?></th>
                            <th scope="col"><?php echo e(app('translator')->getFromJson('Ref. By')); ?></th>
                            <th scope="col"><?php echo e(app('translator')->getFromJson('Balance')); ?></th>

                        </tr>
                        </thead>
                        <tbody class="list">
                        <?php echo e(showUserLevel(auth()->user()->id, $lv_no)); ?>

                        </tbody>

                    </table>
                </div>

            </div>
                                        </div><!-- .card -->
                                    </div><!-- .nk-block -->
                                </div></div></div></div></div></div>
<?php $__env->stopSection(); ?>



<?php echo $__env->make('include.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>