 <div class="sidebar-widget wow fadeInUp outer-top-vs "> <h3 class="section-title"><?php echo app('translator')->getFromJson('Testimonials'); ?></h3> <div id="advertisement" class="advertisement"> <?php $__currentLoopData = $testimonials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$testimonial): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="item"> <div class="avatar"> <?php if($testimonial->photo): ?> <?php
                            $image_url = \App\Helpers\Helper::check_image_avatar($testimonial->photo->name, 150, $default_photo);
                        ?> <img class="img-responsive" src="<?php echo e($image_url); ?>" alt="<?php echo e($testimonial->author); ?>"/> <?php else: ?> <img src="https://via.placeholder.com/150x150?text=No+Image" alt="<?php echo e($testimonial->author); ?>" /> <?php endif; ?> </div> <div class="testimonials"><em>"</em> <?php echo e($testimonial->review); ?><em>"</em></div> <div class="clients_author"><?php echo e($testimonial->author); ?> <span><?php echo e($testimonial->designation ? ', ' .$testimonial->designation : ''); ?></span> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div>