/
home
/
u775757334
/
domains
/
civicwelllife.com
/
public_html
/
include
/
/home/u775757334/domains/civicwelllife.com/public_html/include
mkdir
upload
Name
Size
Mode
Actions
about1.php
1746
0644
edit
dl
rm
about2.php
3128
0644
edit
dl
rm
blog-section.php
8307
0644
edit
dl
rm
category-list.php
5334
0644
edit
dl
rm
category-wise-product.php
4868
0644
edit
dl
rm
category.php
2107
0644
edit
dl
rm
client-section.php
2156
0644
edit
dl
rm
cta-banner.php
405
0644
edit
dl
rm
cta-section-1.php
1180
0644
edit
dl
rm
cta-section.php
1165
0644
edit
dl
rm
customer-menu.php
382
0644
edit
dl
rm
day-offer.php
13055
0644
edit
dl
rm
doctor-menu.php
1478
0644
edit
dl
rm
footer-file.php
1779
0644
edit
dl
rm
footer-tab.php
1928
0644
edit
dl
rm
footer.php
11953
0644
edit
dl
rm
header-file.php
658
0644
edit
dl
rm
header-top.php
4157
0644
edit
dl
rm
header.php
19312
0644
edit
dl
rm
impact-section.php
2841
0644
edit
dl
rm
mobile-category.php
1292
0644
edit
dl
rm
mobile-menu.php
8536
0644
edit
dl
rm
model.php
49991
0644
edit
dl
rm
offer.php
2821
0644
edit
dl
rm
product-slide.php
7439
0644
edit
dl
rm
related-product.php
11034
0644
edit
dl
rm
shopping-cart.php
1938
0644
edit
dl
rm
slider.php
2252
0644
edit
dl
rm
testimonial.php
2023
0644
edit
dl
rm
trust-section.php
3902
0644
edit
dl
rm
video-section.php
4045
0644
edit
dl
rm
yt-section.php
4945
0644
edit
dl
rm
Edit:
/home/u775757334/domains/civicwelllife.com/public_html/include/category.php
(2107B)
<section class="ayur-category-section"> <div class="container"> <div class="section-heading text-center mb-2"> <h2 class="title">Shop By Categories</h2> </div> <div class="hover-sw-nav hover-sw-2"> <div dir="ltr" class="swiper tf-sw-collection" data-preview="5" data-tablet="3" data-mobile="2" data-space-lg="40" data-space-md="25" data-space="15" data-loop="true" data-auto-play="true"> <div class="swiper-wrapper"> <?php $sql = mysqli_query($conn, "select (select count(id) from tbl_product where category_id=p.id) as total, p.* from $tblCategory p where parent_id=0") or die(mysqli_error($conn)); while ($row = mysqli_fetch_assoc($sql)) { ?> <div class="swiper-slide"> <div class="ayur-category-card"> <a href="product-list.php?url=<?= $row['url'] ?>" class="category-image"> <?php if ($row['image1'] != '') { ?> <img src="media/image/<?= $row['image1'] ?>" alt="<?= $row['name'] ?>"> <?php } else { ?> <img src="images/collections/collection-circle-1.jpg" alt="category"> <?php } ?> </a> <div class="category-content"> <h5><?= $row['name'] ?></h5> <span><?= $row['total'] ?> Products</span> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </section>
Save
cmd:
run