⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
4d29d5d44558add23771980a9580fbb8.php
<?php $__env->startSection('page-title'); ?> <?php echo e(__('Settings')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page-breadcrumb'); ?> <?php echo e(__('Settings')); ?> <?php $__env->stopSection(); ?> <?php $__env->startPush('css'); ?> <link href="<?php echo e(asset('assets/js/plugins/summernote-0.8.18-dist/summernote-lite.min.css')); ?>" rel="stylesheet"> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <!-- [ sample-page ] start --> <div class="col-sm-12"> <div class="row"> <div class="col-xl-3"> <div class="card sticky-top setting-sidebar" style="top:30px"> <div class="list-group list-group-flush" id="useradd-sidenav"> <?php echo getSettingMenu(); ?> </div> </div> </div> <div class="col-xl-9 setting-menu-div"> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts'); ?> <script src="<?php echo e(asset('assets/js/plugins/summernote-0.8.18-dist/summernote-lite.min.js')); ?>"></script> <script> $(document).ready(function() { getSettingSection('Base'); }); $(document).on("click", ".setting-menu-nav", function() { var module = $(this).attr('data-module'); var method = $(this).attr('data-method'); getSettingSection(module,method); }); function getSettingSection(module,method = null) { var url = '<?php echo e(route("setting.section.get", ["module" => ":module", "method" => ":method"])); ?>'; url = url.replace(':module', module); url = url.replace(':method', method ? method : ''); $.ajax({ url: url, type: 'get', beforeSend: function() { $(".loader-wrapper").removeClass('d-none'); }, success: function(data) { $(".loader-wrapper").addClass('d-none'); if (data.status == 200) { $('.setting-menu-div').empty(); $('.setting-menu-div').append(data.html); } else { // error code } }, error: function(xhr) { $(".loader-wrapper").addClass('d-none'); toastrs('Error', xhr.responseJSON.error, 'error'); } }); } </script> <script> /* Open Test Mail Modal */ $(document).on('click', '.test-mail', function(e) { e.preventDefault(); var title = $(this).attr('data-title'); var size = 'md'; var url = $(this).attr('data-url'); if (typeof url != 'undefined') { $("#commonModal .modal-title").html(title); $("#commonModal .modal-dialog").addClass('modal-' + size); $("#commonModal").modal('show'); $.post(url, { custom_email: $("#custom_email").val(), mail_driver: $("#mail_driver").val(), mail_host: $("#mail_host").val(), mail_port: $("#mail_port").val(), mail_username: $("#mail_username").val(), mail_password: $("#mail_password").val(), mail_from_address: $("#mail_from_address").val(), mail_encryption: $("#mail_encryption").val(), mail_host: $("#mail_host").val(), _token: "<?php echo e(csrf_token()); ?>", }, function(data) { $('#commonModal .body').html(data); }); } }) /* End Test Mail Modal */ /* Test Mail Send ----------------------------------------*/ $(document).on('click', '#test-send-mail', function() { $('#test-mail-form').ajaxForm({ beforeSend: function() { $(".loader-wrapper").removeClass('d-none'); }, success: function(res) { $(".loader-wrapper").addClass('d-none'); if (res.flag == 1) { toastrs('Success', res.msg, 'success'); $('#commonModal').modal('hide'); } else { toastrs('Error', res.msg, 'error'); } }, error: function(xhr) { $(".loader-wrapper").addClass('d-none'); toastrs('Error', xhr.responseJSON.error, 'error'); } }).submit(); }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/erp.dev-unit.com/resources/views/settings/index.blade.php ENDPATH**/ ?>