<?php
include_once("include/main.inc.php");
$hover='testimonial';
$testimonial = mysqli_query($GLOBALS['dbconn'], "select * from safe_business_tbl");
$page_metatitle="Simplex Furniture - Testimonial";
$page_metakey="Simplex Furniture - Testimonial";
$page_metadesc="Simplex Furniture - Testimonial";
?>
<div class="home_testimonials_webpulse testimonial-area py-5">
    <div class="container">
        <div class="title_2 h2_title aboutTitle mt-0 d-flow-root wow fadeInDown animated animated">Our <span>Testimonials</span>
        </div>
        <p class="text-center position-relative d-flow-root text-light2 w-75 mx-auto mb-4">
        Customer Feedback: Hear from satisfied clients about their experiences with our products and services. Explore our testimonials to learn why customers trust and recommend Simplex Furniture.
        </p>
        <div class="clearfix"></div>

        <div id="testimonials" class="owl-carousel web-pulse-testimonials testimonials-carousel mb-3">

        <?php

$testimonial2= mysqli_query($GLOBALS['dbconn'],"select * from safe_business_tbl where status='Y'");
while($testimonial_res2=mysqli_fetch_assoc($testimonial2)){
?>                     


            <div class="item">
                <div class="single-slide-item">
                    <div class="img-box">
                        <img class="product-images" src="<?=site_url;?>/uploaded-files/testimonials/<?=$testimonial_res2['categoryimage'];?>" alt="<?=$testimonial_res2['product_name'];?>" title="<?=$testimonial_res2['product_name'];?>"  width="400" height="400">
                        <div class="client-photo">
                            <img src="<?=site_url;?>/uploaded-files/testimonials/<?=$testimonial_res2['image'];?>" class="rounded-circle" alt="<?=$testimonial_res2['title'];?>" title="<?=$testimonial_res2['title'];?>"  width="80" height="80">
                        </div>
                        <div class="review-box">
                            <span><?=$testimonial_res2['product_name'];?></span>

                        </div>
                    </div>
                    <div class="text-box">
                        <span class="flaticon-right">
                            <svg fill="#d5ac63" width="40px" height="40px" viewBox="0 0 20 20"
                                xmlns="http://www.w3.org/2000/svg">
                                <path
                                    d="M5.315 3.401c-1.61 0-2.916 1.343-2.916 3 0 1.656 1.306 3 2.916 3 2.915 0 .972 5.799-2.916 5.799v1.4c6.939.001 9.658-13.199 2.916-13.199zm8.4 0c-1.609 0-2.915 1.343-2.915 3 0 1.656 1.306 3 2.915 3 2.916 0 .973 5.799-2.915 5.799v1.4c6.938.001 9.657-13.199 2.915-13.199z" />
                            </svg>

                        </span>
                        <div class="text">
                            <p>
                            <?=$testimonial_res2['description'];?>
                            </p>
                            <div class="title3"><?=$testimonial_res2['title'];?></div>
                            <div class="title4"><?=$testimonial_res2['person_city'];?></div>
                        </div>
                    </div>
                </div>
            </div>

            <?php } ?>
           
        </div>

    </div>
</div>