<?php $__currentLoopData = $comments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="items_rate">
                                            <div class="img">
                                                <img src="<?php echo e(asset($row->user->photo)); ?>" alt="">
                                            </div>
                                            <div class="info">
                                                <h6><?php echo e($row->user->name); ?>

                                                    <span class="star_rate">
                                                        <?php for($i=0;$i< rating($row->user_id,$user);$i++): ?>
                                                            <i class="fas fa-star main_color"></i>
                                                            <?php endfor; ?>
                                                            <?php for($i=0;$i< (5-rating($row->user_id,$user));$i++): ?>
                                                            <i class="fas fa-star"></i>
                                                            <?php endfor; ?>
                                                           
                                                        </span>
                                                </h6>
                                                <p><?php echo e($row->comment); ?></p>
                                                
                                            </div>
                                            <div class="time">
                                                <span><?php echo e(date('g:i a',strtotime($row->created_at))); ?></span>
                                            </div>
                                        </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php /**PATH /home/omaralyomhost/public_html/hanqr/resources/views/web/pages/ajax/comments.blade.php ENDPATH**/ ?>