<?php $__env->startSection('content'); ?>
    <div class="account-pages my-5 pt-sm-5">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-md-8 col-lg-6 col-xl-5">
                    <div class="card overflow-hidden">
                        <div class="bg-login text-center">
                            <div class="bg-login-overlay"></div>
                            <div class="position-relative">
                                <h5 class="text-white font-size-20">ورود</h5>
                                <p class="text-white-50 mb-0">ورود به پنل کاربری سامانه فیش حقوقی</p>
                                <a href="<?php echo e(route('index')); ?>" class="logo logo-admin mt-4">
                                    <img src="<?php echo e(asset('logo.png')); ?>" alt="" height="30">
                                </a>
                            </div>
                        </div>
                        <div class="card-body pt-5">
                            <div class="p-2">
                                <form class="form-horizontal" method="POST" action="<?php echo e(route('logincheck')); ?>">
                                    <?php echo csrf_field(); ?>

                                    <div class="form-group">
                                        <label for="usercode">کدپرسنلی</label>
                                        <input style="text-align: center" name="usercode" value="<?php echo e(old('usercode')); ?>"
                                            type="text" class="form-control" id="usercode"
                                            placeholder="کدپرسنلی را وارد کنید">
                                    </div>

                                    <div class="form-group">
                                        <label for="userpassword">رمز عبور</label>
                                        <input style="text-align: center" name="password" type="password"
                                            class="form-control" id="userpassword" placeholder="رمز عبور را وارد کنید">
                                    </div>


                                    <div class="mt-3">
                                        <button class="btn btn-primary btn-block waves-effect waves-light"
                                            type="submit">ورود</button>
                                    </div>


                                </form>
                                <br>

                                <div style="text-align: center" class="col-12">
                                    <a href="<?php echo e(route('loginwithphone')); ?>">ورود با شماره تلفن</a>
                                </div>
                                <br>
                                <div style="text-align: center" class="col-12">
                                    <a href="<?php echo e(route('register')); ?>">رفتن به صفحه ثبت نام</a>
                                </div>

                                <br><br>

                                <?php if($errors->any()): ?>
                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="alert alert-danger" role="alert">
                                            <?php echo e($error); ?>

                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php endif; ?>

                                <?php if(session()->has('message')): ?>
                                    <div class="t-center alert alert-danger" role="alert">
                                        <?php echo e(session()->get('message')); ?>

                                    </div>
                                <?php endif; ?>
                            </div>

                        </div>
                    </div>


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

<?php echo $__env->make('panel.layouts.assets', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/ali/pakanbakhtar/pakanbakhtar/resources/views/panel/login.blade.php ENDPATH**/ ?>