KUJUNTI.ID MINISH3LL
Path : /var/www/html/master288-bk2/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/master288-bk2/storage/framework/views/2b9472f8dc6b6657a20d6f6a50359e49237958ec.php


<?php $__env->startSection('content'); ?>
<div class="row">
  <div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
    <h1 class="promotion-title txt-color-blueDark">
      <i class="fa fa-table fa-fw "></i> 
        Table 
      <span>
        Promotion
      </span>
    </h1>
  </div>
  <div class="col-xs-12 col-sm-5 col-md-5 col-lg-8">
      <a class="btn btn-primary pull-right" href="/admin/promotions/create">
        <i class="fa fa-plus"></i> 
        Add New
      </a>
  </div>
</div>

<!-- widget grid -->
<section id="widget-grid" class="">

  <!-- row -->
  <div class="row">

    <!-- NEW WIDGET START -->
    <article class="col-xs-12 col-sm-12 col-md-12 col-lg-12">

      <!-- Widget ID (each widget will need unique ID)-->
      <div class="jarviswidget jarviswidget-color-blueDark" id="wid-id-0" data-widget-editbutton="false">
        <header>
          <span class="widget-icon"> <i class="fa fa-table"></i> </span>
          <h2>Promotion</h2>

        </header>

        <!-- widget div-->
        <div>
          <!-- end widget edit box -->

          <!-- widget content -->
          <div class="widget-body">
            <div class="table-responsive">
            
              <table class="table table-bordered">
                <thead>
                  <tr>
                    <th>Description</th>
                    <th>order</th>
                   <!--  <th>Start Date</th> -->
                    <th>Embed URl</th>
                    <th>Status</th>
                    <th>Created At</th>                    
                    <th>Action</th>
                  </tr>
                </thead>
                <tbody>
                  <?php $__currentLoopData = $promotions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $promotion): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>        
                    <tr>
                      <td><?php echo Str::limit($promotion->description, $limit = 150, $end = '...'); ?></td>
              <!--         <td><?php echo e($promotion->start_date); ?></td>
                      <td><?php echo e($promotion->end_date); ?></td> -->
                      <td><?php echo e($promotion->order); ?></td>
                      <td><?php echo e(Str::limit($promotion->embed_url, 50, '...') ?: 'Null'); ?></td>
                      <td><?php echo e($promotion->enabled?"Enabled":"Disabled"); ?></td>
                      <td title="<?php echo e($promotion->created_at); ?>"><?php echo e($promotion->created_at->format('d/m/Y')); ?></td>                     
                      <td class="action">
                        <a href="/admin/promotions/<?php echo e($promotion->id); ?>/edit" class="btn btn-primary"><i class="fa fa-eye"></i></a>
                        <form method="POST" action="<?php echo e(route('admin.promotions.destroy', $promotion)); ?>" style="display:inline" >
                        <input name="_method" type="hidden" value="DELETE">
                         <?php echo e(csrf_field()); ?>

                          <button type="submit" class="btn btn-danger" onclick="return confirm('Do you want to delete?')">
                           <i class="fa fa-trash-o" style="color: #FFF;"></i>
                          </button>
                        </form>
                      </td>
                    </tr>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>      
                </tbody>

              </table>
              
            </div>
            <div style="text-align: center">
              <?php echo e($promotions->links()); ?>

            </div>
          </div>
          <!-- end widget content -->

        </div>
        <!-- end widget div -->

      </div>
      <!-- end widget -->

      <!-- Widget ID (each widget will need unique ID)-->
      

    </article>
    <!-- WIDGET END -->       

  </div>

  <!-- end row -->

  

  <!-- end row -->

</section>
<!-- end widget grid -->

<?php $__env->stopSection(); ?>

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

© KUJUNTI.ID