/
var
/
www
/
html
/
cravings
/
storage
/
framework
/
views
/
Upload File
HOME
<?php $__env->startSection('extrastyle'); ?> <style> tr td img { width: 200px; height: 200px; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h4 class="card-title">Explore Pictures</h4> <form action="<?php echo e(route($link)); ?>"> <div class="input-group no-border"> <input type="text" name="search" class="form-control" value="<?php echo e($search); ?>" placeholder="Search..."> <div class="input-group-append"> <div class="input-group-text"> <button style="border: none; background: transparent; padding: 0; margin: 0; cursor: pointer;"><i class="nc-icon nc-zoom-split"></i></button> </div> </div> </div> </form> </div> <div class="card-body"> <div class="table-responsive"> <table class="table"> <thead class="text-primary"> <tr> <th>Food Name</th> <th>Place name</th> <th>Image</th> </tr> </thead> <tbody> <?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($item['food'] ?? ''); ?></td> <td><?php echo e($item['place_name']); ?></td> <td><img src="<?php echo e($item['image']); ?>" alt="<?php echo e($item['food'] ?? ''); ?> picture"></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> <div class="pagination" style="padding-left: 20px;"> <?php if($prev): ?> <a href="<?php echo e($prev); ?>" class="btn btn-primary btn-round">Previous</a> <?php endif; ?> <?php if($next): ?> <a href="<?php echo e($next); ?>" class="btn btn-primary btn-round">Next</a> <?php endif; ?> </div> </div> </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/cravings/resources/views/admin/explore_pictures.blade.php ENDPATH**/ ?>