

<?php $__env->startSection('pagename'); ?>
 -
 <?php echo e(__('Login')); ?>

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


<?php $__env->startSection('meta-keywords', "$be->login_meta_keywords"); ?>
<?php $__env->startSection('meta-description', "$be->login_meta_description"); ?>

<?php $__env->startSection('breadcrumb-subtitle', __('Sign In')); ?>
<?php $__env->startSection('breadcrumb-link', __('Sign In')); ?>


<?php $__env->startSection('content'); ?>


<!--   hero area start    -->
<div class="login-area">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-8">
                <?php if($bex->product_guest_checkout == 1 && !empty(request()->input('redirected')) && request()->input('redirected') == 'checkout' && !containsDigitalItemsInCart()): ?>
                    <a href="<?php echo e(route('front.checkout', ['type' => 'guest'])); ?>" class="btn btn-block btn-primary mb-4 base-bg py-3 border-0"><?php echo e(__('Checkout as Guest')); ?></a>

                    <div class="mt-4 mb-3 text-center">
                        <h3 class="mb-0"><strong><?php echo e(__('OR')); ?>,</strong></h3>
                    </div>
                <?php elseif($bex->package_guest_checkout == 1 && !empty(request()->input('redirected')) && request()->input('redirected') == 'package-checkout'): ?>
                    <a href="<?php echo e(session()->get('link') . '?type=guest'); ?>" class="btn btn-block btn-primary mb-4 base-bg py-3 border-0"><?php echo e(__('Checkout as Guest')); ?></a>

                    <div class="mt-4 mb-3 text-center">
                        <h3 class="mb-0"><strong><?php echo e(__('OR')); ?>,</strong></h3>
                    </div>
                <?php endif; ?>
                <div class="login-content">
                    <div class="login-title">
                        <h3 class="title"><?php echo e(__('Login')); ?></h3>
                    </div>
                    <?php if($bex->is_facebook_login == 1 || $bex->is_google_login == 1): ?>
                    <div class="social-logins mt-4 mb-4">
                        <div class="btn-group btn-group-toggle d-flex">
                            <?php if($bex->is_facebook_login == 1): ?>
                                <a class="btn btn-primary text-white py-2 facebook-login-btn" href="<?php echo e(route('front.facebook.login')); ?>"><i class="fab fa-facebook-f mr-2"></i> <?php echo e(__('Login via Facebook')); ?></a>
                            <?php endif; ?>
                            <?php if($bex->is_google_login == 1): ?>
                                <a class="btn btn-danger text-white py-2 google-login-btn" href="<?php echo e(route('front.google.login')); ?>"><i class="fab fa-google mr-2"></i> <?php echo e(__('Login via Google')); ?></a>
                            <?php endif; ?>
                        </div>
                    </div>
                    <?php endif; ?>
                    <form id="loginForm" action="<?php echo e(route('user.login')); ?>" method="POST">
                        <?php echo csrf_field(); ?>
                        <div class="input-box">
                            <span><?php echo e(__('Email')); ?> *</span>
                            <input type="email" name="email" value="<?php echo e(Request::old('email')); ?>">
                            <?php if(Session::has('err')): ?>
                                <p class="text-danger mb-2 mt-2"><?php echo e(Session::get('err')); ?></p>
                            <?php endif; ?>
                            <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                            <p class="text-danger mb-2 mt-2"><?php echo e(convertUtf8($message)); ?></p>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>
                        <div class="input-box mb-4">
                            <span><?php echo e(__('Password')); ?> *</span>
                            <input type="password" name="password" value="<?php echo e(Request::old('password')); ?>">
                            <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                            <p class="text-danger mb-2 mt-2"><?php echo e(convertUtf8($message)); ?></p>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <?php if($bs->is_recaptcha == 1): ?>
                        <div class="d-block mb-4">
                            <?php echo NoCaptcha::renderJs(); ?>

                            <?php echo NoCaptcha::display(); ?>

                            <?php if($errors->has('g-recaptcha-response')): ?>
                            <?php
                                $errmsg = $errors->first('g-recaptcha-response');
                            ?>
                            <p class="text-danger mb-0 mt-2"><?php echo e(__("$errmsg")); ?></p>
                            <?php endif; ?>
                        </div>
                    <?php endif; ?>

                        <div class="input-btn">
                            <button type="submit"><?php echo e(__('LOG IN')); ?></button><br>
                            <p class="float-lg-right float-left"><?php echo e(__("Don't have an account ?")); ?> <a href="<?php echo e(route('user-register')); ?>"><?php echo e(__('Click Here')); ?></a> <?php echo e(__('to create one.')); ?></p>
                            <a class="mr-3" href="<?php echo e(route('user-forgot')); ?>"><?php echo e(__('Lost your password?')); ?></a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!--   hero area end    -->
<?php $__env->stopSection(); ?>

<?php echo $__env->make("front.$version.layout", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\plusagency\without-license\plusagency-3.2\core\resources\views/front/login.blade.php ENDPATH**/ ?>