Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/oldsite/storage/framework/views/f1e1ef816c8e96cd0828720e2eb72fe0.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e(__('admin.Property Review')); ?></title> <?php $__env->stopSection(); ?> <?php $__env->startSection('admin-content'); ?> <!-- Main Content --> <div class="main-content"> <section class="section"> <div class="section-header"> <h1><?php echo e(__('admin.Property Review')); ?></h1> </div> <div class="section-body"> <div class="row mt-4"> <div class="col"> <div class="card"> <div class="card-body"> <div class="table-responsive table-invoice"> <table class="table table-striped" id="dataTable"> <thead> <tr> <th width="5%"><?php echo e(__('admin.SN')); ?></th> <th width="15%"><?php echo e(__('admin.Name')); ?></th> <th width="25%"><?php echo e(__('admin.Comment')); ?></th> <th width="20%"><?php echo e(__('admin.Rating')); ?></th> <th width="20%"><?php echo e(__('admin.Property')); ?></th> <th width="15%"><?php echo e(__('admin.Status')); ?></th> <th width="5%"><?php echo e(__('admin.Action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $reviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e(++$index); ?></td> <td><a href="<?php echo e(route('admin.regular-user-show', $item->user_id)); ?>"><?php echo e($item->user ? $item->user->name : ''); ?></a></td> <td><?php echo e($item->comment); ?></td> <td> <?php echo e(__('admin.Service')); ?>= <?php echo e($item->service_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> <br> <?php echo e(__('admin.Location')); ?>= <?php echo e($item->location_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> <br> <?php echo e(__('admin.Value')); ?>= <?php echo e($item->money_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> <br> <?php echo e(__('admin.Cleanliness')); ?>= <?php echo e($item->clean_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> <br> <?php echo e(__('admin.Avarage')); ?>= <?php echo e($item->avarage_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> </td> <td><a target="_blank" href="<?php echo e(route('property.details',$item->property->slug)); ?>"><?php echo e($item->property->title); ?></a></td> <td> <?php if($item->status == 1): ?> <a href="javascript:;" onclick="changeBlogCategoryStatus(<?php echo e($item->id); ?>)"> <input id="status_toggle" type="checkbox" checked data-toggle="toggle" data-on="<?php echo e(__('admin.Active')); ?>" data-off="<?php echo e(__('admin.Inactive')); ?>" data-onstyle="success" data-offstyle="danger"> </a> <?php else: ?> <a href="javascript:;" onclick="changeBlogCategoryStatus(<?php echo e($item->id); ?>)"> <input id="status_toggle" type="checkbox" data-toggle="toggle" data-on="<?php echo e(__('admin.Active')); ?>" data-off="<?php echo e(__('admin.Inactive')); ?>" data-onstyle="success" data-offstyle="danger"> </a> <?php endif; ?> </td> <td> <a href="javascript:;" data-toggle="modal" data-target="#deleteModal" class="btn btn-danger btn-sm" onclick="deleteData(<?php echo e($item->id); ?>)"><i class="fa fa-trash" aria-hidden="true"></i></a> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> </div> </section> </div> <script> function deleteData(id){ $("#deleteForm").attr("action",'<?php echo e(url("admin/property-review-delete/")); ?>'+"/"+id) } function changeBlogCategoryStatus(id){ var isDemo = "<?php echo e(env('PROJECT_MODE')); ?>" if(isDemo == 0){ toastr.error('This Is Demo Version. You Can Not Change Anything'); return; } $.ajax({ type:"put", data: { _token : '<?php echo e(csrf_token()); ?>' }, url:"<?php echo e(url('/admin/property-review-status/')); ?>"+"/"+id, success:function(response){ toastr.success(response) }, error:function(err){ console.log(err); } }) } </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lekhnath/silverray.com.au/resources/views/admin/property_review.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка