⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.184
Server IP:
65.21.180.239
Server:
Linux gowhm.eplangoweb.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.0.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
eplangoweb
/
www
/
storage
/
framework
/
views
/
View File Name :
d366abbf9703bbe70817b6552e55e9bf6dd02e16.php
<?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Causes')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('user-dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Donation Management')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Causes')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-4"> <div class="card-title d-inline-block"><?php echo e(__('Causes')); ?></div> </div> <div class="col-lg-3"> <?php if ($__env->exists('user.partials.languages')) echo $__env->make('user.partials.languages', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> <div class="col-lg-4 offset-lg-1 mt-2 mt-lg-0"> <a href="<?php echo e(route('user.donation.create')); ?>" class="btn btn-primary float-right btn-sm" style="color: white !important;"><i class="fas fa-plus"></i> <?php echo e(__('Add Cause')); ?></a> <button class="btn btn-danger float-right btn-sm mr-2 d-none bulk-delete" data-href="<?php echo e(route('user.donation.bulk.delete')); ?>"><i class="flaticon-interface-5"></i> <?php echo e(__('Delete')); ?></button> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($donations) == 0): ?> <h3 class="text-center"> <?php echo e(__('NO CAUSE FOUND')); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3" id="basic-datatables"> <thead> <tr> <th scope="col"> <input type="checkbox" class="bulk-check" data-val="all"> </th> <th scope="col"><?php echo e(__('Image')); ?></th> <th scope="col"><?php echo e(__('Title')); ?></th> <th scope="col"><?php echo e(__('Goal Amount')); ?> </th> <th scope="col"><?php echo e(__('Raised Amount')); ?> </th> <th scope="col"> <?php echo e(__('Minimum Amount')); ?></th> <th scope="col"><?php echo e(__('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $donations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $donation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <input type="checkbox" class="bulk-check" data-val="<?php echo e($donation->donation_id); ?>"> </td> <td><img src="<?php echo e(asset(\App\Constants\Constant::WEBSITE_CAUSE_IMAGE . '/' . $donation->donation->image)); ?>" alt="" width="80"></td> <td><?php echo e(convertUtf8(strlen($donation->title)) > 30 ? convertUtf8(substr($donation->title, 0, 30)) . '...' : convertUtf8($donation->title)); ?> </td> <td><?php echo e($userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?> <?php echo e(convertUtf8($donation->donation->goal_amount)); ?> <?php echo e($userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?> </td> <td> <?php echo e($userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?> <?php echo e(convertUtf8($donation->raised_amount)); ?> <?php echo e($userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?> </td> <td><?php echo e($userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?> <?php echo e(convertUtf8($donation->donation->min_amount)); ?> <?php echo e($userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?> </td> <td> <a class="btn btn-secondary btn-sm" href="<?php echo e(route('user.donation.edit', $donation->donation_id) . '?language=' . request()->input('language')); ?>"> <span class="btn-label"> <i class="fas fa-edit"></i> </span> <?php echo e(__('Edit')); ?> </a> <form class="deleteform d-inline-block" action="<?php echo e(route('user.donation.delete')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="donation_id" value="<?php echo e($donation->donation_id); ?>"> <button type="submit" class="btn btn-danger btn-sm deletebtn"> <span class="btn-label"> <i class="fas fa-trash"></i> </span> <?php echo e(__('Delete')); ?> </button> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> $(document).ready(function() { // make input fields RTL $("select[name='lang_id']").on('change', function() { $(".request-loader").addClass("show"); let url = "<?php echo e(url('/')); ?>/admin/rtlcheck/" + $(this).val(); $.get(url, function(data) { $(".request-loader").removeClass("show"); if (data == 1) { $("form input").each(function() { if (!$(this).hasClass('ltr')) { $(this).addClass('rtl'); } }); $("form select").each(function() { if (!$(this).hasClass('ltr')) { $(this).addClass('rtl'); } }); $("form textarea").each(function() { if (!$(this).hasClass('ltr')) { $(this).addClass('rtl'); } }); $("form .summernote").each(function() { $(this).siblings('.note-editor').find('.note-editable') .addClass('rtl text-right'); }); } else { $("form input, form select, form textarea").removeClass('rtl'); $("form.modal-form .summernote").siblings('.note-editor').find( '.note-editable').removeClass('rtl text-right'); } }) }); // translatable portfolios will be available if the selected language is not 'Default' $("#language").on('change', function() { let language = $(this).val(); if (language == 0) { $("#translatable").attr('disabled', true); } else { $("#translatable").removeAttr('disabled'); } }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eplangoweb/public_html/resources/views/user/donation_management/donation/index.blade.php ENDPATH**/ ?>