<?php $__env->startSection('title', 'Requirements'); ?>

<?php $__env->startSection('content'); ?>
    <div class="steps-content">
        <div class="steps-body">
            <div class="col-lg-9 col-xl-8 col-xxl-6 mx-auto">
                <div class="mb-4">
                    <h2 class="fw-light mb-4"><?php echo e(__('Requirements')); ?></h2>
                    <p class="fw-light text-muted mx-auto mb-0">
                        <?php echo e(__('Please ensure that your server meets the following requirements before proceeding with the installation.')); ?>

                    </p>
                </div>
                <div class="text-start">
                    <div class="table">
                        <div class="table-inner">
                            <div class="table-responsive">
                                <table class="table table-hover align-middle">
                                    <thead>
                                        <tr>
                                            <th><?php echo e(__('Extensions')); ?></th>
                                            <th class="text-center"><?php echo e(__('Status')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td>
                                                <?php echo e(__('PHP Version')); ?>

                                            </td>
                                            <td class="text-center">
                                                <?php if($requirements['php_version']): ?>
                                                    <div class="bg-success req-circle">
                                                        <i class="fa fa-check"></i>
                                                    </div>
                                                <?php else: ?>
                                                    <div class="bg-danger req-circle">
                                                        <i class="fa fa-times"></i>
                                                    </div>
                                                <?php endif; ?>
                                            </td>
                                        </tr>
                                        <?php $__currentLoopData = $requirements['extensions']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $extension => $status): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                                <td>
                                                    <?php echo e(ucfirst($extension)); ?> <?php echo e(__('Extension')); ?>

                                                </td>
                                                <td class="text-end">
                                                    <?php if($status): ?>
                                                        <div class="bg-success req-circle">
                                                            <i class="fa fa-check"></i>
                                                        </div>
                                                    <?php else: ?>
                                                        <div class="bg-danger req-circle">
                                                            <i class="fa fa-times"></i>
                                                        </div>
                                                    <?php endif; ?>
                                                </td>
                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="mt-3">
                    <?php if($allRequirementsPass): ?>
                        <form action="<?php echo e(route('install.requirements.post')); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <button class="btn btn-primary btn-md w-100"><?php echo e(__('Continue')); ?> <i
                                    class="fas fa-arrow-right"></i></button>
                        </form>
                    <?php else: ?>
                        <div class="alert alert-danger" role="alert">
                            <?php echo e(__('Some requirements are not met. Please ensure all requirements are met before proceeding.')); ?>

                        </div>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('install.layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/onemail/public_html/resources/views/install/requirements.blade.php ENDPATH**/ ?>