 <?php $sqlTestimonial = mysqli_query($dbconn,"Select * from safe_business_tbl where status='Y'");
$count_r = mysqli_num_rows($sqlTestimonial);
if($count_r>0) { ?>
<section class="home_testimonials_webpulse">
        <svg class="path_type_2 home-left" width="21%" height="170" viewBox="0 0 100 102" preserveAspectRatio="none">
            <path d="M0 100 L100 100 L0 10 Z"></path>
        </svg>
        <svg class="path_type_2 home-right" width="80%" height="170" viewBox="0 0 100 102" preserveAspectRatio="none">
            <path d="M0 100 L100 100 L100 50 Z"></path>
        </svg>
        <div class="container">
            <div class="row">
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-3 col-12 wow fadeInLeft" data-wow-delay=".1s">
                    <div class="client-words">
                        <h4 class="md-header title">check what’s our client say about us</h4>

                    </div>
                </div>
                <div class="col-xxl-9 col-xl-9 col-lg-9 col-md-9 col-sm-9 col-12">
                    <div id="testimonials" class="owl-carousel web-pulse-testimonials">
                             <?php
                            while($result = mysqli_fetch_array($sqlTestimonial)) { ?>
                        <div class="testimonial-item wow fadeInRight" data-wow-delay=".2s">
                            <div class="ti-text">
                                <span class="ti-badge fa fa-quote-left"></span>
                                <p class="ti-words c-7"><?php echo html_entity_decode($result['description']);?></p>

                                <ul class="five-start c-1 list-inline">
                                    <li class="fa fa-star"></li>
                                    <li class="fa fa-star"></li>
                                    <li class="fa fa-star"></li>
                                    <li class="fa fa-star"></li>
                                    <li class="fa fa-star"></li>
                                </ul>
                            </div>
                            <div class="ti-info spt-xs">
                                <ul class="list-inline">
<!--
                                    <li>
                                        <img src="<?=theme_url?>images/user.jpg" alt="<?php echo $result['title'];?>" title="<?php echo $result['title'];?>">
                                    </li>
-->
                                    <li>
                                        <strong class="ti-name fw-5 text-capitalize"><?php echo $result['title'];?></strong>
                                        <p class="ti-pos fw-3"><?php echo $result['person_city'];?></p>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <?php  } ?>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php  } ?>
      <?php $sql_client = mysqli_query($dbconn, "select * from client_tbl limit 9"); 
    if(mysqli_num_rows($sql_client)>0) {
                  ?> 
    <!-- Home Clients -->
    <section class="webpulse_home_clients">
        <div class="container">
            <div class="products_heading wow fadeInDown" data-wow-delay=".1s">
                <h4 class="title">Our Clients</h4>
            </div>
            <div class="clearfix"></div>
            <div id="clients" class="owl-carousel trade_partner">
         <?php $i=1;
    while ($resClient = mysqli_fetch_array($sql_client)) {
                  ?> 
                <div class="item wow fadeInDown" data-wow-delay=".2s">
                    <div class="clients">
                        <div class="image">
                           <img src="<?=site_url();?>/uploaded-files/client-image/<?=$resClient['logo_image']?>" alt="<?=$resClient[name]?>" title="<?=$resClient[name]?>">
                        </div>
                    </div>
                </div>
<?php $i++; } ?>
           
            </div>
        </div>
    </section>
<?php  } ?>