<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-md-12 col-lg-12 col-xl-6 d-flex flex-column justify-content-center">
            <div class="install-card">

                <!-- Alert MSG -->
                <?php if(session()->has('error')): ?>
                    <div class="alert alert-danger alert-block">
                        <button type="button" class="close" data-dismiss="alert" title="Remove">X</button>
                        <strong><?php echo e(Session::get('error')); ?></strong>
                    </div>
                <?php elseif(session()->has('success')): ?>
                    <div class="alert alert-danger alert-block">
                        <button type="button" class="close" data-dismiss="alert" title="Remove">X</button>
                        <strong><?php echo e(Session::get('success')); ?></strong>
                    </div>
                <?php endif; ?>

                <h1 class="primary-color install-title"><?php echo e(__('label.configure_database')); ?></h1>
                <h1 class="install_sub_title"><?php echo e(__('label.provide_database_information_correctly')); ?></h1>

                <div class="mt-3">
                    <form method="POST" action="<?php echo e(route('install.db',['token'=>bcrypt('step_4')])); ?>" onsubmit="showLoder()">
                        <?php echo csrf_field(); ?>
                        <div class="form-row">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label><?php echo e(__('label.database_host')); ?><span class="text-danger">*</span></label>
                                    <input type="text" name="host_name" value="<?php echo e($db_host); ?>" class="form-control" placeholder="<?php echo e(__('label.host_name_here')); ?>" autofocus>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label><?php echo e(__('label.database_name')); ?><span class="text-danger">*</span></label>
                                    <input type="text" name="database_name" value="<?php echo e($db_database); ?>" class="form-control" placeholder="<?php echo e(__('label.database_name_here')); ?>">
                                </div>
                            </div>
                        </div>
                        <div class="form-row">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label><?php echo e(__('label.database_username')); ?><span class="text-danger">*</span></label>
                                    <input type="text" name="username" value="<?php echo e($db_username); ?>" class="form-control" placeholder="<?php echo e(__('label.database_username_here')); ?>">
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label><?php echo e(__('label.database_password')); ?><span class="text-danger">*</span></label>
                                    <input type="password" name="password" class="form-control" placeholder="<?php echo e(__('label.database_password_here')); ?>">
                                </div>
                            </div>
                        </div>
                        <button type="submit" class="btn btn-install"><?php echo e(__('label.continue')); ?><i class="fa-solid fa-angles-right ml-2"></i></button>
                    </form>
                </div>

                <!-- Footer -->
                <?php echo $__env->make('installation.layout.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

            </div>
        </div>
        <div class="col-lg-6 install-bg-img d-none d-lg-block">
            <img src="<?php echo e(asset('assets/imgs/install_bg.png')); ?>" alt="Software Installation">
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('installation.layout.page-app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /opt/lampp/htdocs/envato/app/dtlive/resources/views/installation/step3.blade.php ENDPATH**/ ?>