⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.112
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 :
cb5b594525456fabdbfa2356feab539005c9eceb.php
<?php if ($__env->exists('user.partials.rtl-style')) echo $__env->make('user.partials.rtl-style', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Categories')); ?></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(__('Categories')); ?></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(__('Donation Categories')); ?></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="#" data-toggle="modal" data-target="#createModal" class="btn btn-primary btn-sm float-lg-right float-left"><i class="fas fa-plus"></i> <?php echo e(__('Add Category')); ?></a> <button class="btn btn-danger btn-sm float-right mr-2 d-none bulk-delete" data-href="<?php echo e(route('user.donation.category.bulkDestroy')); ?>"><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($categories) == 0): ?> <h3 class="text-center"> <?php echo e(__('NO DONATION CATEGORY FOUND!')); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <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(__('Icon')); ?></th> <th scope="col"><?php echo e(__('Name')); ?></th> <th scope="col"><?php echo e(__('Status')); ?></th> <?php if($userBs->theme == 'home_eleven'): ?> <th scope="col"><?php echo e(__('Featured')); ?></th> <?php endif; ?> <th scope="col"><?php echo e(__('Serial Number')); ?> </th> <th scope="col"><?php echo e(__('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <input type="checkbox" class="bulk-check" data-val="<?php echo e($category->id); ?>"> </td> <td><img src="<?php echo e(empty($category->image) ? asset('assets/admin/img/noimage.jpg') : asset(\App\Constants\Constant::WEBSITE_CAUSE_CATEGORY_IMAGE . '/' . $category->image)); ?>" alt="" class="img-thumbnail"></td> <td><i class="<?php echo e($category->icon); ?>"></i></td> <td> <?php echo e(strlen($category->name) > 100 ? convertUtf8(substr($category->name, 0, 100)) . '...' : convertUtf8($category->name)); ?> </td> <td> <?php if($category->status == 1): ?> <h2 class="d-inline-block"><span class="badge badge-success"><?php echo e(__('Active')); ?></span> </h2> <?php else: ?> <h2 class="d-inline-block"><span class="badge badge-danger"><?php echo e(__('Deactive')); ?></span> </h2> <?php endif; ?> </td> <?php if($userBs->theme == 'home_eleven'): ?> <td> <?php if($category->is_featured == 1): ?> <h2 class="d-inline-block"><span class="badge badge-success"><?php echo e(__('Yes')); ?></span> </h2> <?php else: ?> <h2 class="d-inline-block"><span class="badge badge-danger"><?php echo e(__('No')); ?></span> </h2> <?php endif; ?> </td> <?php endif; ?> <td><?php echo e($category->serial_number); ?></td> <td> <a class="btn btn-secondary btn-sm mr-1 editbtn" href="#" data-toggle="modal" data-target="#editModal" data-id="<?php echo e($category->id); ?>" data-name="<?php echo e($category->name); ?>" data-image="<?php echo e(empty($category->image) ? asset('images/default.jpg') : asset(\App\Constants\Constant::WEBSITE_CAUSE_CATEGORY_IMAGE . '/' . $category->image)); ?> " data-icon="<?php echo e($category->icon); ?>" data-short_description="<?php echo e($category->short_description); ?>" data-status="<?php echo e($category->status); ?>" data-is_featured="<?php echo e($category->is_featured); ?>" data-serial_number="<?php echo e($category->serial_number); ?>"> <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.category.destroy')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="category_id" value="<?php echo e($category->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> <?php if(count($categories) > 0): ?> <div class="card-footer"> <div class="row"> <div class="d-inline-block mx-auto"> <?php echo e($categories->appends(['language' => request()->input('language')])->links()); ?> </div> </div> </div> <?php endif; ?> </div> </div> </div> <?php echo $__env->make('user.donation_management.categories.create', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('user.donation_management.categories.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> $('.icp-dd1').iconpicker(); $('.icp1').on('iconpickerSelected', function(event) { $("#inputIcon1").val($("#inicon").attr('class')); }); </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/categories/index.blade.php ENDPATH**/ ?>