ok

Mini Shell

Direktori : /home2/selectio/www/3-idiots/storage/framework/views/
Upload File :
Current File : /home2/selectio/www/3-idiots/storage/framework/views/65559627cf409a047a67796bd9e00ec25c066226.php

<?php $__env->startSection('title', \App\CPU\translate('Register')); ?>


<?php $__env->startSection('content'); ?>
    <div class="container py-4 py-lg-5 my-4 __inline-7"
         style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;">
        <div class="row justify-content-center">
            <div class="col-md-8">
                <div class="card border-0 box-shadow">
                    <div class="card-body">
                        <h2 class="h4 mb-1"><?php echo e(\App\CPU\translate('sign_up')); ?></h2>
                        <p class="font-size-sm text-muted mb-4"><?php echo e(\App\CPU\translate('No Account')); ?> ? <?php echo e(\App\CPU\translate('register_control_your_order')); ?>

                            .</p>
                        <form class="needs-validation_" id="form-id" action="<?php echo e(route('customer.auth.sign-up')); ?>"
                              method="post" id="sign-up-form">
                            <?php echo csrf_field(); ?>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label for="reg-fn"><?php echo e(\App\CPU\translate('first_name')); ?></label>
                                        <input class="form-control" value="<?php echo e(old('f_name')); ?>" type="text" name="f_name"
                                               style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"
                                               required>
                                        <div class="invalid-feedback"><?php echo e(\App\CPU\translate('Please enter your first name')); ?>!</div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label for="reg-ln"><?php echo e(\App\CPU\translate('last_name')); ?></label>
                                        <input class="form-control" type="text" value="<?php echo e(old('l_name')); ?>" name="l_name"
                                               style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;">
                                        <div class="invalid-feedback"><?php echo e(\App\CPU\translate('Please enter your last name')); ?>!</div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label for="reg-email"><?php echo e(\App\CPU\translate('email_address')); ?></label>
                                        <input class="form-control" type="email" value="<?php echo e(old('email')); ?>"  name="email"
                                               style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;" required>
                                        <div class="invalid-feedback"><?php echo e(\App\CPU\translate('Please enter valid email address')); ?>!</div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label for="reg-phone"><?php echo e(\App\CPU\translate('phone_number')); ?>

                                            <small class="text-primary">( * <?php echo e(\App\CPU\translate('country_code_is_must')); ?> <?php echo e(\App\CPU\translate('like_for_BD_880')); ?> )</small></label>
                                        <input class="form-control" type="number"  value="<?php echo e(old('phone')); ?>"  name="phone"
                                               style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"
                                               required>
                                        <div class="invalid-feedback"><?php echo e(\App\CPU\translate('Please enter your phone number')); ?>!</div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label for="si-password"><?php echo e(\App\CPU\translate('password')); ?></label>
                                        <div class="password-toggle">
                                            <input class="form-control" name="password" type="password" id="si-password"
                                                   style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"
                                                   placeholder="<?php echo e(\App\CPU\translate('minimum_8_characters_long')); ?>"
                                                   required>
                                            <label class="password-toggle-btn">
                                                <input class="custom-control-input" type="checkbox"><i
                                                    class="czi-eye password-toggle-indicator"></i><span
                                                    class="sr-only"><?php echo e(\App\CPU\translate('Show')); ?> <?php echo e(\App\CPU\translate('password')); ?> </span>
                                            </label>
                                        </div>
                                    </div>

                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label for="si-password"><?php echo e(\App\CPU\translate('confirm_password')); ?></label>
                                        <div class="password-toggle">
                                            <input class="form-control" name="con_password" type="password"
                                                   style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"
                                                   placeholder="<?php echo e(\App\CPU\translate('minimum_8_characters_long')); ?>"
                                                   id="si-password"
                                                   required>
                                            <label class="password-toggle-btn">
                                                <input class="custom-control-input" type="checkbox"
                                                       style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"><i
                                                    class="czi-eye password-toggle-indicator"></i><span
                                                    class="sr-only"><?php echo e(\App\CPU\translate('Show')); ?> <?php echo e(\App\CPU\translate('password')); ?> </span>
                                            </label>
                                        </div>
                                    </div>

                                </div>
                            </div>
                            <div class="form-group d-flex flex-wrap justify-content-between">

                                <label class="form-group mb-1 d-flex align-items-center">
                                    <strong>
                                        <input type="checkbox" class="mr-1"
                                               name="remember" id="inputCheckd">
                                    </strong>
                                    <span class="mb-4px d-block w-0 flex-grow pl-1" > <span><?php echo e(\App\CPU\translate('i_agree_to_Your')); ?></span> <a
                                            class="font-size-sm" target="_blank" href="<?php echo e(route('terms')); ?>">
                                            <?php echo e(\App\CPU\translate('terms_and_condition')); ?>

                                        </a></span>
                                </label>

                            </div>
                            
                            <?php ($recaptcha = \App\CPU\Helpers::get_business_settings('recaptcha')); ?>
                            <?php if(isset($recaptcha) && $recaptcha['status'] == 1): ?>
                                <div id="recaptcha_element" class="w-100" data-type="image"></div>
                                <br/>
                            <?php else: ?>
                                <div class="row py-2">
                                    <div class="col-6 pr-2">
                                        <input type="text" class="form-control border __h-40" name="default_captcha_value" value=""
                                               placeholder="<?php echo e(\App\CPU\translate('Enter captcha value')); ?>" autocomplete="off">
                                    </div>
                                    <div class="col-6 input-icons mb-2 w-100 rounded bg-white">
                                        <a onclick="javascript:re_captcha();" class="d-flex align-items-center align-items-center">
                                            <img src="<?php echo e(URL('/customer/auth/code/captcha/1')); ?>" class="input-field rounded __h-40" id="default_recaptcha_id">
                                            <i class="tio-refresh icon cursor-pointer p-2"></i>
                                        </a>
                                    </div>
                                </div>
                            <?php endif; ?>
                            <div class="flex-between row" style="direction: <?php echo e(Session::get('direction')); ?>">
                                <div class="mx-1">
                                    <div class="text-right">
                                        <button class="btn btn--primary" id="sign-up" type="submit" disabled>
                                            <i class="czi-user <?php echo e(Session::get('direction') === "rtl" ? 'ml-2 mr-n1' : 'mr-2 ml-n1'); ?>"></i>
                                            <?php echo e(\App\CPU\translate('sign_up')); ?>

                                        </button>
                                    </div>
                                </div>
                                <div class="mx-1">
                                    <a class="btn btn-outline-primary" href="<?php echo e(route('customer.auth.login')); ?>">
                                        <i class="fa fa-sign-in"></i> <?php echo e(\App\CPU\translate('sign_in')); ?>

                                    </a>
                                </div>
                                <div class="col-12 mt-3">
                                    <div class="row">
                                        <?php $__currentLoopData = \App\CPU\Helpers::get_business_settings('social_login'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $socialLoginService): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <?php if(isset($socialLoginService) && $socialLoginService['status']==true): ?>
                                                <div class="col-sm-6 text-center mt-1">
                                                    <a class="btn btn-outline-primary w-100" href="<?php echo e(route('customer.auth.service-login', $socialLoginService['login_medium'])); ?>">
                                                        <i class="czi-<?php echo e($socialLoginService['login_medium']); ?> <?php echo e(Session::get('direction') === "rtl" ? 'ml-2 mr-n1' : 'mr-2 ml-n1'); ?>"></i>
                                                        <?php echo e(\App\CPU\translate('sign_up_with_'.$socialLoginService['login_medium'])); ?>

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

<?php $__env->startPush('script'); ?>
    <script>
        $('#inputCheckd').change(function () {
            // console.log('jell');
            if ($(this).is(':checked')) {
                $('#sign-up').removeAttr('disabled');
            } else {
                $('#sign-up').attr('disabled', 'disabled');
            }

        });

    </script>

    
    <?php if(isset($recaptcha) && $recaptcha['status'] == 1): ?>
        <script type="text/javascript">
            var onloadCallback = function () {
                grecaptcha.render('recaptcha_element', {
                    'sitekey': '<?php echo e(\App\CPU\Helpers::get_business_settings('recaptcha')['site_key']); ?>'
                });
            };
        </script>
        <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async
                defer></script>
        <script>
            $("#form-id").on('submit', function (e) {
                var response = grecaptcha.getResponse();

                if (response.length === 0) {
                    e.preventDefault();
                    toastr.error("<?php echo e(\App\CPU\translate('Please check the recaptcha')); ?>");
                }
            });
        </script>
    <?php else: ?>
        <script type="text/javascript">
            function re_captcha() {
                $url = "<?php echo e(URL('/customer/auth/code/captcha')); ?>";
                $url = $url + "/" + Math.random();
                document.getElementById('default_recaptcha_id').src = $url;
                console.log('url: '+ $url);
            }
        </script>
    <?php endif; ?>
    
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.front-end.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/auroraas/public_html/a1-textile/resources/views/customer-view/auth/register.blade.php ENDPATH**/ ?>

Zerion Mini Shell 1.0