<?php

$sel_cl_query = "Select * from client_tbl order by client_order asc";
$res_cl = $dbconn->query($sel_cl_query);
if($res_cl->num_rows > 0) {
$sno = 0;
?>
<div class="home_clients">
    <div class="container">
        <div class="sec-title with-text text-center">
            <div class="title">Our Prestigious Clients</div>
            <div class="border-box center bgblue"></div>
        </div>
        <div class="clearfix"></div>
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 wow fadeInLeft" data-wow-delay=".4s">
                <div class="clientSlider">
                    <div class="swiper-wrapper">
                        <?php
                        while($clients = $res_cl->fetch_assoc()){
                            $sno++;
                        ?>
                        <div class="swiper-slide wow fadeInDown" data-wow-delay=".<?= $sno; ?>s">
                            <div class="clients">
                                <div class="image">
                                    <img src="<?= site_url; ?>/uploaded-files/client-image/<?= $clients['logo_image']; ?>" loading="lazy"
                                       width="200" height="168" alt="<?= $clients['name']; ?>" title="<?= $clients['name']; ?>">
                                </div>
                            </div>
                        </div>
                        <?php } ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php } ?>