<?php $__env->startSection('title', 'Database Import'); ?>
<?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(__('Database Import')); ?></h2>
                    <p class="fw-light text-muted mx-auto mb-0">
                        <?php echo e(__('Click the button below to import the database.')); ?>

                    </p>
                </div>
                <div class="text-start">
                    <form action="<?php echo e(route('install.databaseImport.post')); ?>" method="POST">
                        <?php echo csrf_field(); ?>
                        <div class="row row-cols-1 g-3">
                            <div class="col">
                                <button class="btn btn-primary btn-md w-100"><?php echo e(__('Import Database')); ?> <i
                                        class="fas fa-arrow-right"></i></button>
                            </div>
                            <?php $__errorArgs = ['error'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="col">
                                    <div class="alert alert-danger">
                                        <?php echo e($errors->first('error')); ?>

                                    </div>
                                </div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                            <?php $__errorArgs = ['skip'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="col">
                                    <div class="alert alert-danger">
                                        <?php echo e($errors->first('skip')); ?>

                                    </div>
                                </div>

                                <div class="col">
                                    <div class="alert alert-important alert-warning alert-dismissible br-dash-2" role="alert">
                                        <?php echo e(__('You can download the SQL file and import it manually to your server. After that, click skip.')); ?>

                                    </div>
                                </div>

                                <iframe width="560" height="315"
                                    src="https://www.youtube.com/embed/jW5lrS6EUPM?si=XLOwCHVafDypSawb"
                                    title="YouTube video player" frameborder="0"
                                    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
                                    referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>


                                <div class="col">
                                    <a href="<?php echo e(route('install.download')); ?>"
                                        class="btn btn-secondary btn-md w-100"><?php echo e(__('Download SQL File')); ?> </a>
                                </div>

                                <div class="col">
                                    <a href="<?php echo e(route('install.skip')); ?>"
                                        class="btn btn-success btn-md w-100"><?php echo e(__('Skip')); ?> </a>
                                </div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                        </div>
                    </form>
                </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/database_import.blade.php ENDPATH**/ ?>