<?php $index_test = db_query("select * from tbl_testimonial where test_status='Active' order by test_order_by ");
if(mysqli_num_rows($index_test)>0){?>
<section class="testimonial-section">
<div class="bg-image" style="background-image: url('assets/images/background/1.jpg')"></div>
<div class="anim-icons">
<span class="icon icon-wide-map"></span>
</div>
<div class="auto-container">
<div class="sec-title text-center light">
<span class="sub-title">Clients feedbacks</span>
<h2>What They’re Talking About.</h2>
</div>
<div class="carousel-outer">
<div class="testimonial-carousel owl-carousel owl-theme">
<!-- Testimonial Block -->
<?php while($row=mysqli_fetch_array($index_test)){?>
<div class="testimonial-block">
<div class="inner-box">
<div class="image-box">
<figure class="image"><img src="test_images/<?=$row['test_image_name']?>" alt="<?=$compDATA['admin_company_name']?>" title="<?=$compDATA['admin_company_name']?>"></figure>
<span class="icon icon-quote"></span>
</div>
<div class="content-box">
<div class="text"><?=$row['test_description']?></div>
<div class="info-box">
 <h5 class="name"><?=$row['test_given_by']?></h5>
 <span class="designation"><?=$row['test_comp_name']?></span>
</div>
<div class="rating"><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i></div>
</div>
</div>
</div>
<?php }?>

</div>
</div>
</div>
</section>
<?php }?>