One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
Compro-ISP
/
storage
/
framework
/
views
/
Edit File:
a705c008489e7b4d5a5b8dffd0b8b9e6.php
<?php $__env->startSection('content'); ?> <div class="page-heading"> <div class="page-title"> <div class="row"> <div class="col-12 col-md-6 order-md-1 order-last"> <h3>Menu Packages</h3> </div> <div class="col-12 col-md-6 order-md-2 order-first"> <nav aria-label="breadcrumb" class="breadcrumb-header float-start float-lg-end"> <ol class="breadcrumb"> <li class="breadcrumb-item">Packages</li> <li class="breadcrumb-item active" aria-current="page">Packages</li> </ol> </nav> </div> </div> </div> <!-- Minimal jQuery Datatable start --> <section class="section"> <div class="card"> <div class="card-header"> <div class="button"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('packages_packages_create')): ?> <a href="<?php echo e(route('packages.packages.create')); ?>" class="btn btn-primary">Tambah Data</a> <?php endif; ?> </div> </div> <div class="card-body"> <div class="table-responsive"> <table class="table" id="table1" role="grid"> <thead> <tr> <th>Nama Paket</th> <th>Price</th> <th>Category</th> <th>Action</th> </tr> </thead> <tbody> <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($data->name); ?></td> <td><?php echo e($data->price); ?></td> <td><?php echo e($data->PackagesType_BelongsTo_Packages->category); ?></td> <td> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('packages_packages_edit')): ?> <a href="<?php echo e(route('packages.packages.edit', $data->id)); ?>" class="btn btn-success d-inline custom-margin"> Edit </a> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('packages_packages_delete')): ?> <form action="<?php echo e(route('packages.packages.destroy', $data->id)); ?>" method="POST" class="d-inline"> <?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?> <button class="btn btn-danger" onclick="return confirm('Are you sure you want to delete this?');"> Delete </button> </form> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </section> <!-- Basic Tables end --> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('style'); ?> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <style> /* Custom styles for text wrapping */ #table1 td { word-wrap: break-word; white-space: normal; max-width: 200px; } .custom-margin { margin-right: 10px; /* Menambahkan jarak di sebelah kanan tombol Edit */ } </style> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/Compro-ISP/resources/views/v/packages/packages/index.blade.php ENDPATH**/ ?>
Simpan