Server IP : 103.53.40.154 / Your IP : 18.224.55.63 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/fastelevator.in/../exclusivefibro.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $sql_testimonial=db_query("select * from tbl_testimonial where 1 and test_status='Active' order by rand() limit 0,2"); if(mysqli_num_rows($sql_testimonial)>0){ ?> <div id="feedback" data-bg-path="img/background-images/feedback-bg.jpg"> <div class="feedback-wrapper"> <div class="container"> <div class="row"> <div class="col-md-12"> <section class="for-testimonial-home"> <h2 class="section-title"><span>CLIENTS</span>testimonials</h2> </section> </div> </div> <div class="feedback-items"> <div class="row"> <?php $i=1; while($TEST_DATA=mysqli_fetch_array($sql_testimonial)){ @extract($TEST_DATA); $i++; ?> <?php if($i==2){ ?> <div class="col-md-6 feedback-item content-right"> <div class="row"> <div class="col-md-3 col-sm-2 col-xs-3 feedback-img"> <img src="<?=$site_url?>/test_images/<?=$TEST_DATA['test_image_name']?>" alt="<?=$TEST_DATA['test_given_by']?>" title="<?=$TEST_DATA['test_given_by']?>" class="img-responsive img-circle"> </div> <div class="col-md-9 col-sm-10 col-xs-9 feedback-content"> <div class="mdl-card mdl-shadow--2dp"> <div class="mdl-card__supporting-text"> <p> <?=mb_substr($TEST_DATA['test_description'],0,300)?> <cite><?=$TEST_DATA['test_given_by']?>, <?=$TEST_DATA['test_comp_name']?></cite> </p> </div> </div> </div> </div> </div> <? }else{ ?> <div class="col-md-6 feedback-item content-left"> <div class="row"> <div class="col-md-9 col-sm-10 col-xs-9 feedback-content"> <div class="mdl-card mdl-shadow--2dp"> <div class="mdl-card__supporting-text"> <p> <?=mb_substr($TEST_DATA['test_description'],0,300)?> <cite><?=$TEST_DATA['test_given_by']?>, <?=$TEST_DATA['test_comp_name']?></cite> </p> </div> </div> </div> <div class="col-md-3 col-sm-2 col-xs-3 feedback-img"> <img src="<?=$site_url?>/test_images/<?=$TEST_DATA['test_image_name']?>" alt="<?=$TEST_DATA['test_given_by']?>" title="<?=$TEST_DATA['test_given_by']?>" class="img-responsive img-circle"> </div> </div> </div> <? }} ?> <a href="<?=$site_url?>/testimonial.html" style="text-decoration:underline;float:right">View All</a> </div> </div> </div> </div> </div> <? } ?>