<?php $__env->startSection('content'); ?>
<div class="container center-content">
        <div class="card mt-6">
            <div class="card-body">
                <div class="card-header">
                    <div class="row" style="width: 100%">
                        <div class="col-12">
                            <div class="mar-ver pad-btm text-center">
                                <h1 class="h3-bg">Installation Progress Started!</h1>
                                <h4>We are checking file permissions.</h4>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row pt-5">
                    <div class="col-3"></div>
                    <div class="col-md-6">
                        <ul class="list-group">
                            <li class="list-group-item text-semibold">
                                Php version 7.4 +

                                <?php
                                    $phpVersion = number_format((float)phpversion(), 2, '.', '');
                                ?>
                                <?php if($phpVersion >= 7.4): ?>
                                    <i class="tio-checkmark-circle-outlined text-success pull-right"></i>
                                <?php else: ?>
                                    <i class="tio-flag-cross-1 text-danger pull-right"></i>
                                <?php endif; ?>
                            </li>
                            <li class="list-group-item text-semibold">
                                Curl Enabled

                                <?php if($permission['curl_enabled']): ?>
                                    <i class="tio-checkmark-circle-outlined text-success pull-right"></i>
                                <?php else: ?>
                                    <i class="tio-flag-cross-1 text-danger pull-right"></i>
                                <?php endif; ?>
                            </li>
                            <li class="list-group-item text-semibold">
                                <b>.env</b> File Permission

                                <?php if($permission['db_file_write_perm']): ?>
                                    <i class="tio-checkmark-circle-outlined text-success pull-right"></i>
                                <?php else: ?>
                                    <i class="tio-flag-cross-1 text-danger pull-right"></i>
                                <?php endif; ?>
                            </li>
                            <li class="list-group-item text-semibold">
                                <b>RouteServiceProvider.php</b> File Permission

                                <?php if($permission['routes_file_write_perm']): ?>
                                    <i class="tio-checkmark-circle-outlined text-success pull-right"></i>
                                <?php else: ?>
                                    <i class="tio-flag-cross-1 text-danger pull-right"></i>
                                <?php endif; ?>
                            </li>
                        </ul>
                                    <br/>

                         <p class="text-center pt-3">
                            <?php if($permission['curl_enabled'] == 1 && $permission['db_file_write_perm'] == 1 && $permission['routes_file_write_perm'] == 1 && $phpVersion >= 7.4): ?>
                                <a href="<?php echo e(route('step2')); ?>" class="btn btn-custom">Next <i
                                        class="fa fa-forward"></i></a>
                            <?php endif; ?>
                        </p> 
                    </div>
                    <div class="col-3"></div>
                </div>
            </div>
        </div>
        <link rel="stylesheet" href="<?php echo e(asset('css/css.css')); ?>">
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.blank', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\Apps\CaptianFarm\laravel_api\resources\views/installation/step1.blade.php ENDPATH**/ ?>