
<?php $__env->startSection('title','صفحه ورود'); ?>
<?php $__env->startSection('content'); ?>
<div class="account-pages mt-5 mb-5">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-8 col-lg-6 col-xl-5">
                <div class="card">
                    <div class="card-body p-4">
                        <div class="text-center w-75 m-auto">
                            <a href="<?php echo e(config('site_url')); ?>">
                                <?php if(config('site_logo')): ?>
                                    <h1 class="text-logo-lg"><?php echo e(config('site_logo')); ?></h1>
                                <?php else: ?>
                                    <img src="<?php echo e(config('site_logo_img') ?: asset('assets/images/patronic-logo-dark.png')); ?>" alt="SITE LOGO" height="40">
                                <?php endif; ?>
                            </a>
                            <p class="text-muted mb-4 mt-3">لطفا جهت ورود به سیستم اطلاعات کاربری خود را در کادر پایین وارد نمایید</p>
                        </div>
                        <?php if(session('success')): ?>
                            <div class="alert alert-success"><?php echo e(session('success')); ?></div>
                        <?php endif; ?>
                        <?php $__errorArgs = ['auth_result'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                            <div class="alert alert- alert-danger"><?php echo e($message); ?></div>
                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        <form action="<?php echo e(route('login')); ?>" method="post" id="loginForm">
                            <?php echo csrf_field(); ?>
                            <div class="form-group mb-3">
                                <label for="username">نام کاربری</label>
                                <input class="form-control <?php $__errorArgs = ['username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="text" id="username" name="username" value="<?php echo e(old('username')); ?>" placeholder="ایمیل یا شماره موبایل یا نام کاربری" required/>
                                <?php $__errorArgs = ['username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                            <div class="form-group mb-3">
                                <label for="LoginPassword">کلمه عبور</label>
                                <input class="form-control <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="password" name="password" id="LoginPassword" placeholder="کلمه عبور خود را وارد نمایید" required>
                                <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <span class="invalid-feedback" role="alert">
                                    <strong><?php echo e($message); ?></strong>
                                </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>

                            <div class="form-group mb-3">
                                <div class="custom-control custom-checkbox d-inline-block mb-2">
                                    <input type="checkbox" name="remember" class="custom-control-input" id="checkbox-signin" <?php echo e(old('remember') ? 'checked' : ''); ?>>
                                    <label class="custom-control-label" for="checkbox-signin">مرا به خاطر بسپار</label>
                                </div>
                                <div class="d-inline-block float-right">
                                    <a class="ml-1" href="<?php echo e(route('password.request')); ?>">
                                        <?php echo e(__('general.Forgot Your Password?')); ?>

                                    </a>
                                </div>
                            </div>

                            <div class="form-group mb-0 text-center">

                                <?php if(config('use_google_nocaptcha')): ?>
                                    <button class="btn btn-primary btn-block g-recaptcha" data-sitekey="<?php echo e(config('google_nocaptcha_sitekey')); ?>" data-callback='onSubmit' type="submit"> ورود </button>
                                <?php else: ?>
                                    <button class="btn btn-primary btn-block" type="submit"> ورود </button>
                                <?php endif; ?>
                            </div>
                        </form>
                        <!-- <div class="text-center">
                            <h5 class="mt-3 text-muted">Sign in with</h5>
                            <ul class="social-list list-inline mt-3 mb-0">
                                <li class="list-inline-item">
                                    <a href="javascript: void(0);" class="social-list-item border-primary text-primary"><i class="mdi mdi-facebook"></i></a>
                                </li>
                                <li class="list-inline-item">
                                    <a href="javascript: void(0);" class="social-list-item border-danger text-danger"><i class="mdi mdi-google"></i></a>
                                </li>
                                <li class="list-inline-item">
                                    <a href="javascript: void(0);" class="social-list-item border-info text-info"><i class="mdi mdi-twitter"></i></a>
                                </li>
                                <li class="list-inline-item">
                                    <a href="javascript: void(0);" class="social-list-item border-secondary text-secondary"><i class="mdi mdi-github-circle"></i></a>
                                </li>
                            </ul>
                        </div> -->

                    </div> <!-- end card-body -->
                </div>
                <!-- end card -->

                <?php if(Route::has('register')): ?>
                <div class="row mt-3">
                    <div class="col-12 text-center">
                        <p class="text-muted">حساب کاربری ندارید؟ <a href="<?php echo e(route('register')); ?>" class="text-primary font-weight-medium ml-1">ثبت نام کنید</a></p>
                    </div> <!-- end col -->
                </div>
                <!-- end row -->
                <?php endif; ?>

            </div> <!-- end col -->
        </div>
        <!-- end row -->
    </div>
    <!-- end container -->
</div>
<!-- end page -->

<?php $__env->startComponent('components.copyright'); ?> <?php if (isset($__componentOriginal69086848b259d2142817a6be122cf291bb12e704)): ?>
<?php $component = $__componentOriginal69086848b259d2142817a6be122cf291bb12e704; ?>
<?php unset($__componentOriginal69086848b259d2142817a6be122cf291bb12e704); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>

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

<?php if(config('use_google_nocaptcha')): ?>
    <?php $__env->startSection('script'); ?>
        <script>
            function onSubmit(token){
                $('#loginForm').submit();
            }
        </script>
    <?php $__env->stopSection(); ?>
<?php endif; ?>
<?php echo $__env->make('layouts.master-blank', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/iphoneun/public_html/peygirsho.ir/patronic/resources/views/auth/login.blade.php ENDPATH**/ ?>