JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "2c325dbc2d858d39d6ccecefde4d36c6.php"

Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/storage/framework/views/2c325dbc2d858d39d6ccecefde4d36c6.php
File size: 5.45 KB
MIME-type: text/html
Charset: utf-8

<style>
    .min-w-150px {
        width: 150px;
    }
</style>

<!-- Mani section header and breadcrumb -->
<div class="ol-card radius-8px">
    <div class="ol-card-body my-3 py-12px px-20px">
        <div class="d-flex align-items-center justify-content-between gap-3 flex-wrap flex-md-nowrap">
            <h4 class="title fs-16px">
                <i class="fi-rr-settings-sliders me-2"></i>
                <?php echo e(get_phrase('Review')); ?>

            </h4>

            <a href="<?php echo e(route('admin.review.create')); ?>" class="btn ol-btn-outline-secondary d-flex align-items-center cg-10px">
                <span class="fi-rr-plus"></span>
                <span><?php echo e(get_phrase('Add new Review')); ?></span>
            </a>
        </div>
    </div>
</div>
<?php
    $user_reviews = DB::table('user_reviews')->get();
?>
<!-- Start Admin area -->
<div class="row">
    <div class="col-12">
        <div class="ol-card">
            <div class="ol-card-body p-3">
                <!-- Table -->
                <?php if(count($user_reviews) > 0): ?>
                    <div class="table-responsive course_list" id="course_list">
                        <table class="table eTable eTable-2 print-table">
                            <thead>
                                <tr>
                                    <th scope="col">#</th>
                                    <th scope="col"><?php echo e(get_phrase('Name')); ?></th>
                                    <th scope="col"><?php echo e(get_phrase('Rating')); ?></th>
                                    <th scope="col"><?php echo e(get_phrase('Review')); ?></th>
                                    <th class="print-d-none" scope="col"><?php echo e(get_phrase('Options')); ?></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__currentLoopData = $user_reviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $review): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php
                                        $userInfo = App\Models\User::where('id', $review->user_id)->first();
                                        if (!$userInfo) {
                                            continue;
                                        }
                                    ?>
                                    <tr>
                                        <th scope="row">
                                            <p class="row-number"><?php echo e($key + 1); ?></p>
                                        </th>

                                        <td>
                                            <div class="dAdmin_info_name min-w-150px">
                                                <p><?php echo e($userInfo->name); ?></p>
                                            </div>
                                        </td>

                                        <td>
                                            <div class="dAdmin_info_name">
                                                <p><?php echo e($review->rating); ?></p>
                                            </div>
                                        </td>

                                        <td>

                                            <div class="dAdmin_info_name">
                                                <p><?php echo e($review->review); ?></p>
                                            </div>
                                        </td>

                                        <td class="print-d-none">
                                            <div class="dropdown ol-icon-dropdown ol-icon-dropdown-transparent">
                                                <button class="btn ol-btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
                                                    <span class="fi-rr-menu-dots-vertical"></span>
                                                </button>
                                                <ul class="dropdown-menu">
                                                    <li><a class="dropdown-item" href="<?php echo e(route('admin.review.edit', $review->id)); ?>"><?php echo e(get_phrase('Edit')); ?></a></li>

                                                    <li><a class="dropdown-item" href="#" onclick="confirmModal('<?php echo e(route('admin.review.delete', $review->id)); ?>')"><?php echo e(get_phrase('Delete')); ?></a></li>


                                                </ul>
                                            </div>
                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                <?php else: ?>
                    <?php echo $__env->make('admin.no_data', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
                <!-- Data info and Pagination -->
            </div>
        </div>
    </div>
</div>
<!-- End Admin area -->
<?php /**PATH /home2/yvrgircc/public_html/ariseskilltech.com/resources/views/admin/setting/user_review_list.blade.php ENDPATH**/ ?>