<?php 
include_once("include/main.inc.php");
$testi = mysqli_query($dbconn, "select * from safe_business_tbl");
?>
<section class="testimonials_four">
    <div class="container">
        <div class="row align-items-stretch">
            <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-12 col-xs-12 wow fadeIn" data-wow-delay="100ms">

                <div class="clients-img">
                    <img src="<?= site_url;?>/uploaded-files/testimonials/testimonial.png" alt="client" title="client" width="470" height="470">
                </div>
            </div>
            <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-12 col-12">
                <div class="title_style2 wow fadeInDown" data-wow-delay="0.2s">
                    <span>Our Testimonials</span>
                    <h4 class="titleTestimonials">What Our Clients Say</h4>
                </div>

                <div id="testimonials" class="web-pulse-testimonials owl-carousel wow fadeInUp" data-wow-delay="0.4s">
                     <?php while ($testi_res = mysqli_fetch_array($testi)) { ?>                    
                    <div class="testimonial-body">
                        <div class="testimonial-content">
                            <div class="testimonial-icon"></div>
                          <p><?php echo html_entity_decode($testi_res['description']); ?></p>
                            <div class="testimonial-thumb">
                                <div class="thumb-img"><img src="<?=site_url;?>/uploaded-files/testimonials/<?= $testi_res['image']; ?>" alt="<?php echo $testi_res['title']; ?>" title="<?php echo $testi_res['title']; ?>" width="50" height="50"></div>
                                <div class="thumb-body">
                                    <div class="clientName"><?php echo $testi_res['title']; ?></div>
                                </div>
                            </div>
                        </div>
                    </div>
                   <?php } ?>
                        </div>
                    </div>
                </div>
            </div>
</section>