Sindbad~EG File Manager

Current Path : /home/zada/www/storage/framework/views/
Upload File :
Current File : /home/zada/www/storage/framework/views/fc31a3071c317bcd4c0479122076f6c4.php


<?php $__env->startSection('content'); ?>
    
<div class="row">
    <div class="col-lg-6">
        <div class="card">
            <div class="card-header">
                <h3 class="mb-0 h6 text-center"><?php echo e(translate('Login With OTP')); ?></h3>
            </div>
            <div class="card-body text-center">
                <label class="aiz-switch aiz-switch-success mb-0">
                    <input type="checkbox" onchange="updateSettings(this, 'login_with_otp')"
                        <?php if (get_setting('login_with_otp') == 1) {
                            echo 'checked';
                        } ?>>
                    <span class="slider round"></span>
                </label>
            </div>
        </div>
    </div>
</div>

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

<?php $__env->startSection('script'); ?>
    <script type="text/javascript">
        function updateSettings(el, type) {

            if('<?php echo e(env('DEMO_MODE')); ?>' == 'On'){
                AIZ.plugins.notify('info', '<?php echo e(translate('Data can not change in demo mode.')); ?>');
                return;
            }
            
            var value = ($(el).is(':checked')) ? 1 : 0;
             
            $.post('<?php echo e(route('business_settings.update.activation')); ?>', {
                _token: '<?php echo e(csrf_token()); ?>',
                type: type,
                value: value
            }, function(data) {
                if (data == 1) {
                    AIZ.plugins.notify('success', '<?php echo e(translate('Settings updated successfully')); ?>');
                } else {
                    AIZ.plugins.notify('danger', 'Something went wrong');
                }
            });
        }
    </script>
<?php $__env->stopSection(); ?>



<?php echo $__env->make('backend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/zada/public_html/resources/views/backend/otp_systems/configurations/login_configuration.blade.php ENDPATH**/ ?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists (>^ω^<)看过哭02teddd(>^ω^<)看过哭02teddd