<?php if(Auth::user()): ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
        <div class="easier-mode">
            <div class="easier-section-area">
                <?php endif; ?>
                <?php endif; ?>

                <section class="testimonial-carousel-wrapper section-padding fix">
                    <div class="container">
                        <?php if(Auth::user()): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                <!-- hover effect for mobile devices  -->
                                <div class="click-icon d-md-none text-center">
                                    <button class="custom-btn text-white">
                                        <i class="fa fa-mobile-alt text-white"></i> <?php echo e(__('content.touch')); ?>

                                    </button>
                                </div>
                            <?php endif; ?>
                        <?php endif; ?>
                        <div class="row fix align-items-center">
                            <div class="col-lg-8">
                                <?php if(isset($testimonial_section_style2)): ?>
                                    <div class="block-contents text-center text-lg-start">
                                        <div class="section-title">
                                            <h2 class="wow fadeInLeft" data-wow-duration="1.1s"><?php echo html_entity_decode($testimonial_section_style2->title); ?></h2>
                                        </div>
                                    </div>
                                <?php else: ?>
                                    <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                    <div class="col-lg-8">
                                        <div class="block-contents text-center text-lg-start">
                                            <div class="section-title">
                                                <h2 class="wow fadeInLeft" data-wow-duration="1.1s">We have powerful user experience</h2>
                                            </div>
                                        </div>
                                    </div>
                                    <?php endif; ?>
                                <?php endif; ?>
                            </div>
                                <div class="col-lg-4 d-none d-lg-block text-center text-lg-end">
                                    <div class="testimoinial-nav red-color">
                                        <div class="testimonial-nav-prev">
                                            <i class="icon-arrow-left"></i>
                                        </div>
                                        <div class="testimonial-nav-next">
                                            <i class="icon-arrow-right"></i>
                                        </div>
                                    </div>
                                </div>
                        </div>

                        <?php if(is_countable($testimonials_style2) && count($testimonials_style2) > 0): ?>
                            <div class="testimonial-nav-carousel-active">
                                <?php $__currentLoopData = $testimonials_style2; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="single-testimoinal-item style-2">
                                        <?php if(Auth::user()): ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                                <?php
                                                    $url = request()->path();
                                                    $modified_url = str_replace('/', '-bracket-', $url);
                                                ?>
                                                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                                                    <?php echo csrf_field(); ?>
                                                    <input type="hidden" name="route" value="testimonial.edit">
                                                    <input type="hidden" name="single_id" value="<?php echo e($item->id); ?>">
                                                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                                    <button type="submit" class="me-2 custom-pure-button">
                                                        <i class="fa fa-edit text-info easier-custom-font-size-24"></i>
                                                    </button>
                                                </form>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                        <div class="rating">
                                            <?php for($t = 0; $t < $item->star; $t++): ?>
                                                <i class="icon-star"></i>
                                            <?php endfor; ?>
                                            <?php for($t = 0; $t < 5-$item->star; $t++): ?>
                                                <i class="icon-star text-muted"></i>
                                            <?php endfor; ?>
                                        </div>
                                        <div class="feedback">
                                            <?php echo e($item->description); ?>

                                        </div>
                                        <div class="client-info">
                                            <div class="client-img bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/testimonial/'.$item->section_image)); ?>');"></div>
                                            <div class="client-name">
                                                <h6><?php echo e($item->name); ?></h6>
                                                <span><?php echo e($item->job); ?></span>
                                            </div>
                                        </div>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php unset($item); ?>
                            </div>

                            <div class="col-lg-4 d-block mt-5 mr-lg-0 d-lg-none text-center">
                                <div class="testimoinial-nav red-color">
                                    <div class="testimonial-nav-prev">
                                        <i class="icon-arrow-left"></i>
                                    </div>
                                    <div class="testimonial-nav-next">
                                        <i class="icon-arrow-right"></i>
                                    </div>
                                </div>
                            </div>
                        <?php else: ?>
                            <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                            <div class="testimonial-nav-carousel-active">
                                <div class="single-testimoinal-item style-2">
                                    <div class="rating">
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                    </div>
                                    <div class="feedback">
                                        “Greatest appreciation to you and your team for the outstanding job you did for us. The website is just what we wanted, and we were thrilled with the speed your team exercises.”
                                    </div>
                                    <div class="client-info">
                                        <div class="client-img bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/70x70.webp')); ?>');"></div>
                                        <div class="client-name">
                                            <h6>Scott Swanson</h6>
                                            <span>Account executive</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="single-testimoinal-item style-2">
                                    <div class="rating">
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                    </div>
                                    <div class="feedback">
                                        “I love Xmoze , they're the best. When I started my business, I didn't know how where to start with my online branding. I contacted xmoze and hired them to develop my online business."
                                    </div>
                                    <div class="client-info">
                                        <div class="client-img bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/70x70.webp')); ?>');"></div>
                                        <div class="client-name">
                                            <h6>Karen Lynn</h6>
                                            <span>Software engineer</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="single-testimoinal-item style-2">
                                    <div class="rating">
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                    </div>
                                    <div class="feedback">
                                        “Great results. Enjoyable to work with, and most importantly, enabled us to have the presence on the website we needed to conduct business in today's digital market world."
                                    </div>
                                    <div class="client-info">
                                        <div class="client-img bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/70x70.webp')); ?>');"></div>
                                        <div class="client-name">
                                            <h6>Sean Jacobs</h6>
                                            <span>Financial analyst</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="single-testimoinal-item style-2">
                                    <div class="rating">
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                    </div>
                                    <div class="feedback">
                                        “Greatest appreciation to you and your team for the outstanding job you did for us. The website is just what we wanted, and we were thrilled with the speed your team exercises.”
                                    </div>
                                    <div class="client-info">
                                        <div class="client-img bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/70x70.webp')); ?>');"></div>
                                        <div class="client-name">
                                            <h6>Scott Swanson</h6>
                                            <span>Account executive</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="single-testimoinal-item style-2">
                                    <div class="rating">
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                    </div>
                                    <div class="feedback">
                                        “I love Xmoze , they're the best. When I started my business, I didn't know how where to start with my online branding. I contacted xmoze and hired them to develop my online business."
                                    </div>
                                    <div class="client-info">
                                        <div class="client-img bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/70x70.webp')); ?>');"></div>
                                        <div class="client-name">
                                            <h6>Karen Lynn</h6>
                                            <span>Software engineer</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="single-testimoinal-item style-2">
                                    <div class="rating">
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                        <i class="icon-star"></i>
                                    </div>
                                    <div class="feedback">
                                        “Great results. Enjoyable to work with, and most importantly, enabled us to have the presence on the website we needed to conduct business in today's digital market world."
                                    </div>
                                    <div class="client-info">
                                        <div class="client-img bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/70x70.webp')); ?>');"></div>
                                        <div class="client-name">
                                            <h6>Sean Jacobs</h6>
                                            <span>Financial analyst</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 d-block mt-5 mr-lg-0 d-lg-none text-center">
                                <div class="testimoinial-nav red-color">
                                    <div class="testimonial-nav-prev">
                                        <i class="icon-arrow-left"></i>
                                    </div>
                                    <div class="testimonial-nav-next">
                                        <i class="icon-arrow-right"></i>
                                    </div>
                                </div>
                            </div>
                            <?php endif; ?>
                        <?php endif; ?>
                    </div>
                </section>

                <?php if(Auth::user()): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
            </div>
            <div class="easier-middle">
                <?php
                    $url = request()->path();
                    $modified_url = str_replace('/', '-bracket-', $url);
                ?>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="testimonial.create">
                    <input type="hidden" name="style" value="style2">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white me-2">
                        <i class="fa fa-edit text-white"></i> <?php echo e(__('content.edit_section_title_description')); ?>

                    </button>
                </form>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="testimonial.create">
                    <input type="hidden" name="style" value="style2">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white">
                        <i class="fa fa-plus text-white"></i> <?php echo e(__('content.add_testimonial')); ?>

                    </button>
                </form>
            </div>
        </div>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH /home/lltrusti/casinonexus.online/ajay/resources/views/frontend/sections/testimonial/testimonial-style2.blade.php ENDPATH**/ ?>