<?php $__env->startSection('container'); ?>
    <link rel="stylesheet" href="/themes/modern/css/plugins.css">
    <div class="panel panel-success">
       <div class="panel-body">
            <?php if(null == Session::get('ok')): ?>
               <h3 style="text-align: center;">Verify Buzzy Access </h3>
               <p style="text-align: center;">Please click "GET  Buzzy Code" button and add your purchase code and domain name and take the Buzzy access code</p>

               <div class="bs-component" style="text-align: center;padding:80px;">
                <a href="#" class="btn btn-info  btn-lg popup-action">GET  Buzzy Code</a>
            </div>

            <hr>
            <div class="bs-component" style="text-align: center;padding:30px 80px;">
                <h3>Check Buzzy Access Code</h3>
                    <form method="post" action="<?php echo e(route('installer::checkedcode')); ?>">
                        <div class="row">
                            <div class="form-group col-md-12">

                                <div class="col-md-10">
                                    <input class="input-lg form-control" style="height: 46px;padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px;" name="code" type="text" value="NULLED" Readonly >
                                </div>
                                    <div class="col-md-2">
                                    <button class="btn btn-success" type="submit">
                                        Check
                                    </button>


                                </div>
                            </div>
                        </div>
                        <?php echo csrf_field(); ?>


                    </form>
            </div>
            <?php endif; ?>
            <?php if(null !== Session::get('ok')): ?>
                <center>
            <a class="btn btn-success" href="<?php echo e(route('installer::permissions')); ?>">
                <?php echo app('translator')->get('installer::installer.next'); ?>
            </a>
                </center>
            <?php endif; ?>
        </div>
    </div>
    <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
    <script src="/themes/modern/js/plugins.js"></script>
    <?php echo $__env->make('errors.swalerror', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <script>
        $(".popup-action").on("click", function (e) {


            var href=$(this).attr('href');
            if(href > ''){
                var winWidth= 1000;
                var winHeight= 900;
                var winTop = (screen.height / 2) - (winHeight / 2);
                var winLeft = (screen.width / 2) - (winWidth / 2);
                window.open(href, 'sharer', 'top=' + winTop + ',left=' + winLeft + ',toolbar=0,status=0,width=' + winWidth + ',height=' + winHeight);
                return false;

            }

            return false;
        });

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

<?php echo $__env->make('installer::layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>