<?php $__env->startSection('section', admin_trans('Premium')); ?>
<?php $__env->startSection('title', admin_trans('Plans')); ?>
<?php $__env->startSection('container', 'container-max-lg'); ?>
<?php $__env->startSection('content'); ?>
    <form id="vironeer-submited-form" action="<?php echo e(route('admin.premium.plans.sort')); ?>" method="POST">
        <?php echo csrf_field(); ?>
        <input type="hidden" name="ids" id="ids" value="<?php echo e($idsArray); ?>">
    </form>
    <div class="card mb-3">
        <ul class="vironeer-sort-menu custom-list-group list-group list-group-flush">
            <?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li data-id="<?php echo e($plan->id); ?>" class="list-group-item d-flex justify-content-between align-items-center">
                    <h5 class="m-0">
                        <span class="vironeer-navigation-handle me-2 text-muted"><i class="fas fa-arrows-alt"></i></span>
                        <span>
                            <a href="<?php echo e(route('admin.premium.plans.edit', $plan->id)); ?>" class="text-dark">
                                <span><?php echo e($plan->name); ?></span>
                                <?php if($plan->isPremium()): ?>
                                    <i class="fa-solid fa-crown text-warning"></i>
                                <?php endif; ?>

                            </a>
                        </span>
                    </h5>
                    <div class="buttons">
                        <?php if($plan->isForVisitors() && !$plan->upload_status): ?>
                            <span class="badge bg-danger me-3"><?php echo e(admin_trans('Upload disabled')); ?></span>
                        <?php endif; ?>
                        <a class="btn btn-blue btn-sm me-2" href="<?php echo e(route('admin.premium.plans.edit', $plan->id)); ?>"><i
                                class="fa fa-edit me-2"></i><?php echo e(admin_trans('Edit')); ?></a>
                    </div>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
    <?php $__env->startPush('styles_libs'); ?>
        <link href="<?php echo e(asset('vendor/libs/jquery/jquery-ui.min.css')); ?>" />
    <?php $__env->stopPush(); ?>
    <?php $__env->startPush('scripts_libs'); ?>
        <script src="<?php echo e(asset('vendor/libs/jquery/jquery-ui.min.js')); ?>"></script>
    <?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.layouts.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/neofile.maxgame.cloud/resources/views/backend/premium/plans/index.blade.php ENDPATH**/ ?>