Viewing file: 10ed1a43ec75b456e5cf9a9048f6aef5.php (12.33 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html> <?php $siteDirection=isset(json_decode(get_settings('local_setting'))->direction)?json_decode(get_settings('local_setting'))->direction:'ltr'; ?> <html lang="en" dir="<?php echo e($siteDirection); ?>"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge">
<title><?php echo $__env->yieldContent('title'); ?></title>
<!-- Font Awesome Icons --> <link rel="stylesheet" href="<?php echo e(asset('plugins/fontawesome-free/css/all.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/toastr/toastr.min.css')); ?>"> <!-- Theme style --> <link rel="stylesheet" href="<?php echo e(asset('css/adminlte.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('css/custom.css')); ?>"> <?php if(get_settings('app_favicon') || get_settings('app_favicon')!=null): ?> <link rel="shortcut icon" href="<?php echo e(asset('uploads/'.get_settings('app_favicon'))); ?>" type="image/x-icon"> <?php endif; ?> <link href="<?php echo e(asset('plugins/select2/css/select2.min.css')); ?>" rel="stylesheet" /> <!-- Google Font: Source Sans Pro --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@300&family=Montserrat:wght@200&family=Poppins:wght@300&display=swap" rel="stylesheet"> <style> .select2-container .select2-selection--single{ height: 37px !important; } .lang-colour i{ font-size: 23px; } </style> <?php echo $__env->yieldContent('extra-css'); ?> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper">
<!-- Navbar --> <nav class="main-header navbar navbar-expand navbar-white navbar-light"> <!-- Left navbar links --> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> </li> </ul>
<!-- Right navbar links --> <ul class="navbar-nav ml-auto"> <li class="nav-item dropdown"> <a class="nav-link lang-colour" data-toggle="dropdown" href="#" aria-expanded="false"> <i class="fa fa-globe text-primary" aria-hidden="true"></i> </a> <div class="dropdown-menu" style="left: inherit; right: 0px; text-align: center">
<?php if(get_available_languages() && get_available_languages() !=[]): ?> <?php $__currentLoopData = get_available_languages(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e(route('set.locale',['type'=>$lang])); ?>" class="dropdown-item"> <i class="fa fa-language mr-2"></i> <?php echo e($lang); ?>
</a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <span class="dropdown-item dropdown-header disabled"><small>Empty</small></span> <?php endif; ?>
</div> </li> <li class="nav-item dropdown user-menu"> <a href="<?php echo e(route('admin.settings.index')); ?>" class="nav-link dropdown-toggle" data-toggle="dropdown" aria-expanded="true"> <img src="<?php echo e(asset('uploads/'.auth()->user()->profile_picture)); ?>" class="user-image img-circle elevation-2" alt="img"> </a> <ul class="dropdown-menu dropdown-menu-lg dropdown-menu-right dropdown-profile"> <!-- User image --> <li class="user-header bg-primary"> <img src="<?php echo e(asset('uploads/'.auth()->user()->profile_picture)); ?>" class="img-circle elevation-2" alt="img">
<p> <?php echo e(auth()->user()->name); ?>
<small><?php echo e(trans('customer.member_since')); ?> <?php echo e(date('M. Y')); ?></small> </p> </li> <!-- Menu Footer--> <li class="user-footer"> <a href="<?php echo e(route('admin.settings.index')); ?>" class="btn btn-sm btn-default btn-flat"><?php echo e(trans('customer.profile')); ?></a> <a href="<?php echo e(route('admin.logout')); ?>" class="btn btn-sm btn-default btn-flat float-right"><?php echo e(trans('customer.sign_out')); ?></a> </li> </ul> </li> </ul> </nav> <!-- /.navbar -->
<!-- Main Sidebar Container --> <aside class="main-sidebar sidebar-dark-primary elevation-4"> <!-- Brand Logo --> <a href="<?php echo e(route('admin.dashboard')); ?>" class="brand-link"> <?php if(get_settings('app_logo') || get_settings('app_logo') !=null): ?> <img class="layout-logo" src="<?php echo e(asset('uploads/'.get_settings('app_logo'))); ?>" alt=""> <?php endif; ?> <?php if(get_settings('app_name')): ?> <span class="brand-text font-weight-light"><?php echo e(get_settings('app_name')); ?></span> <?php endif; ?> </a>
<!-- Sidebar --> <div class="sidebar"> <!-- Sidebar user panel (optional) --> <div class="user-panel mt-2 pb-2 mb-3 d-flex"> <div class="image"> <img src="<?php echo e(asset('uploads/'.auth()->user()->profile_picture)); ?>" class="img-circle elevation-2" alt="User Image"> </div> <div class="info"> <a href="<?php echo e(route('admin.settings.index')); ?>" class="d-block"><?php echo e(auth()->user()->name); ?></a> </div> </div>
<!-- Sidebar Menu --> <nav class="mt-2"> <?php echo $__env->make('layouts.includes.admin_sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </nav> <!-- /.sidebar-menu --> </div> <!-- /.sidebar --> </aside>
<!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <?php echo $__env->yieldContent('content'); ?> </div> <!-- /.content-wrapper -->
<!-- /.control-sidebar -->
<!-- Main Footer --> <footer class="main-footer"> <!-- To the right --> <div class="float-right"> <strong><?php echo e(trans('customer.copyright')); ?> © <?php echo e(date('Y')); ?> <a href="#"><?php echo e(get_settings('app_name')); ?></a>.</strong> <?php echo e(trans('customer.all_rights_reserved')); ?>. </div>
</footer> </div> <!-- ./wrapper -->
<!-- Confirmation modal --> <div class="modal fade" id="modal-confirm"> <div class="modal-dialog"> <form id="modal-form"> <?php echo csrf_field(); ?> <div id="customInput"></div> <div class="modal-content"> <div class="modal-header p-2"> <h4 class="modal-title"><?php echo e(trans('customer.confirmation')); ?></h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body">
</div> <div class="modal-footer p-2"> <button id="modal-confirm-btn" type="button" class="btn btn-primary btn-sm"><?php echo e(trans('customer.confirm')); ?></button> <button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal"><?php echo e(trans('customer.cancel')); ?></button> </div> </div> <!-- /.modal-content --> </form> </div> <!-- /.modal-dialog --> </div> <!-- /.modal -->
<!-- REQUIRED SCRIPTS --> <!-- jQuery --> <script src="<?php echo e(asset('plugins/jquery/jquery.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/jquery-validation/jquery.validate.min.js')); ?>"></script> <!-- Bootstrap 4 --> <script src="<?php echo e(asset('plugins/bootstrap/js/bootstrap.bundle.min.js')); ?>"></script> <!-- AdminLTE App --> <script src="<?php echo e(asset('js/adminlte.min.js')); ?>"></script> <script src="<?php echo e(asset('js/custom.js')); ?>"></script> <script src="<?php echo e(asset('plugins/select2/js/select2.full.js')); ?>"></script> <script src="<?php echo e(asset('js/readmore.min.js')); ?>"></script> <script> jQuery('button[type="submit"]').on('click', function (e) { var form = $(this).parents('form:first'); if (form.valid()) { $(this).attr('disabled', 'disabled').addClass('disabled') $(this).html(' <i class="fa fa-spinner fa-spin"></i> Loading'); form.submit(); } }); jQuery('#modal-confirm-btn').on('click', function (e) { var form = $(this).parents('form:first'); if (form.valid()) { $(this).attr('disabled', 'disabled').addClass('disabled') $(this).html(' <i class="fa fa-spinner fa-spin"></i> Loading'); form.submit(); } }); </script> <script> $.ajax({ type:'GET', url:'<?php echo e(route('admin.notification.counter')); ?>', success: function (res){ let data =res[0]; if(res.status=='success') { if(data.planReq > 0){ $('.plan_counter').removeClass('d-none'); $('.plan_counter').text(data.planReq);
}
} } }) $(function () { $('[data-toggle="tooltip"]').tooltip() }) </script> <script> $(document).on('click','.gateway-bb', function (e){ const type = $(this).attr('data-type'); localStorage.setItem("gateway_type", type); }); $(document).on('click','.sending-setting', function (e){ const type = $(this).attr('data-type'); localStorage.setItem("sending_setting", type); });
</script> <script> if ('<?php echo e(request()->segment(2)== 'settings'); ?>') { const gateway = localStorage.getItem("gateway_type"); const sending_setting_nav = localStorage.getItem("sending_setting");
if (gateway) { $("#" + gateway).trigger('click'); $('.gateway-bb').addClass('active'); } if (sending_setting_nav) { $("#" + sending_setting_nav).trigger('click').addClass('active'); $('.sending-setting').addClass('active'); } }else { localStorage.clear(); } </script>
<?php if(session()->has('success') || session()->has('fail') || count($errors)>0): ?> <?php if (isset($component)) { $__componentOriginalb5e767ad160784309dfcad41e788743b = $component; } ?> <?php $component = App\View\Components\Alert::resolve(['type' => session()->get('success')?'success':'danger','isErrors' => $errors,'message' => session()->get('success')??session()->get('fail')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('alert'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Alert::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalb5e767ad160784309dfcad41e788743b)): ?> <?php $component = $__componentOriginalb5e767ad160784309dfcad41e788743b; ?> <?php unset($__componentOriginalb5e767ad160784309dfcad41e788743b); ?> <?php endif; ?> <?php endif; ?>
<?php echo $__env->yieldContent('extra-scripts'); ?> </body> </html> <?php /**PATH /home/picotech/domains/ai.picotech.app/public_html/resources/views/layouts/admin.blade.php ENDPATH**/ ?>
|