OXIESEC PANEL
- Current Dir:
/
/
home
/
u432548786
/
domains
/
it-tas.com
/
public_html
/
includes
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/13/2025 03:36:42 PM
rwxr-xr-x
📄
best-product.php
13.53 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
brands.php
726 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
css.php
1.63 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
db_config.php
215 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
delete_cart.php
298 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
feature-product.php
2.03 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
footer.php
4.6 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
header.php
17.88 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
js.php
1.23 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
orderwhatsapp.php
448 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
slider.php
483 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
Editing: feature-product.php
Close
<?php $sql_cats="select * from category"; $result_cats = mysqli_query($conn, $sql_cats); while($res_cats= mysqli_fetch_array($result_cats)) { $cat=$res_cats['cat_name']; $alcategory = strtolower(str_replace(" ", "-", $cat)); $ssid=$res_cats["id"]; $sql_cs=mysqli_query($conn,"select sub_category.* from sub_category where sub_category.category_id='$ssid'"); //$res_scss= mysqli_fetch_array($sql_cs); if(mysqli_num_rows($sql_cs) > 0) { ?> <section class="section-padding ffproduct"> <div class="container"> <div class="row section-header"> <div class="col-md-12 col-12 text-center"><h5 class="heading-design-h5">Top Categories<span class="badge badge-info"></span> </h5></div> </div> <div class="owl-carousel-featured" style="border-right:0px;"> <?php $ssid=$res_cats["id"]; $sql_scatss="select sub_category.* from sub_category where sub_category.category_id='$ssid'"; $result_scatss = mysqli_query($conn, $sql_scatss); while($res_scatss= mysqli_fetch_array($result_scatss)){ //$cat_name=$res_cat['cat_name']; //$category = strtolower(str_replace(" ", "-", $cat_name)); $scat_name=$res_scatss['sub_category_name']; $sub_category = strtolower(str_replace(" ", "-", $scat_name)); ?> <div class="item"> <div class="product-image"> <form action="https://www.it-tas.com/<?php echo "$alcategory/$sub_category/$sub_category.php"; ?>" method="POST"> <input name="id" type="hidden" value="<?php echo $res_scatss['id']; ?>"> <button type="submit" class="dsbtnbox" style="cursor: grab;"> <img class="img-fluid" src="https://www.it-tas.com/admin/product/subcat/<?php echo $res_scatss['sub_categoryimg']; ?>" style="height:200px;" alt="<?php echo $res_scatss['sub_category_name']; ?>"> <h6><?php echo $res_scatss['sub_category_name']; ?></h6> </button> </form> </div> </div><?php } ?> </div> </div> </section> <?php } } ?>