{"id":4437,"date":"2025-01-13T15:55:12","date_gmt":"2025-01-13T14:55:12","guid":{"rendered":"https:\/\/www.gamingchairs.eu\/events-list-style-with-search-box\/"},"modified":"2025-01-13T15:55:12","modified_gmt":"2025-01-13T14:55:12","slug":"events-list-style-with-search-box","status":"publish","type":"page","link":"https:\/\/www.gamingchairs.eu\/nl\/events-list-style-with-search-box\/","title":{"rendered":"Events \u2013 List Style with Search Box"},"content":{"rendered":"                <div class='mage list_with_filter_section mep_event_list' id='mage-container'>\n\t\t\t\t\t                <div class=\"mpwem_style\">\n                    <div class=\"search_sort_code_area\">\n                        <div class=\"search_sort_code\">\n                            <div class=\"sort_code_search_box defaultLayout_xs\">\n                                <div class=\"flexEqual filter_input_area\">\n\t\t\t\t\t\t\t\t\t                                            <label>\n                                                <input type=\"text\" name=\"filter_with_title\" class=\"formControl\" placeholder=\"Zoeken op titel\">\n                                            <\/label>\n\t\t\t\t\t\t\t\t\t\t                                            <label>\n                                                <select class=\"formControl\" name=\"filter_with_category\">\n                                                    <option selected value=\"\">Selecteer categorie<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Convention \/ Tradeshow\">Convention \/ Tradeshow<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Lan party\">Lan party<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Other Event\">Other Event<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                <\/select>\n                                            <\/label>\n\t\t\t\t\t\t\t\t\t\t                                            <label>\n                                                <select class=\"formControl\" name=\"filter_with_organizer\">\n                                                    <option selected value=\"\">Selecteer organisator<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"BK-LAN\">BK-LAN<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Brotherhood of lan\">Brotherhood of lan<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"CU-LAN\">CU-LAN<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Famlan\">Famlan<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Gamesession Hannover\">Gamesession Hannover<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"GCE\">GCE<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Leipziger Messe\">Leipziger Messe<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Pertinax Esports\">Pertinax Esports<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"SaarLAN\">SaarLAN<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Stichting The Basement LAN\">Stichting The Basement LAN<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                <\/select>\n                                            <\/label>\n\t\t\t\t\t\t\t\t\t\t                                                <label>\n                                                    <select class=\"formControl\" name=\"filter_with_city\">\n                                                        <option selected value=\"\">Selecteer stad<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t                                                            <option value=\"Kerkrade\">Kerkrade<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t                                                    <\/select>\n                                                <\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t                                            <label>\n                                                <input type=\"date\" name=\"filter_with_date\" class=\"formControl\">\n                                            <\/label>\n\t\t\t\t\t\t\t\t\t\t                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                    <p class=\"textGray _text_center search_sort_code_counts\">\n\t\t\t\t\t\tTonen                        <strong class=\"qty_count\">1<\/strong>\n\t\t\t\t\t\tvan                        <strong class=\"total_filter_qty\">1<\/strong>\n                    <\/p>\n                <\/div>\n\t\t\t\t                            <div class=\"all_filter_item mep_event_list_sec\" id='mep_event_list_abr69f95c8d3708b'\n                                 data-unq-id=\"abr69f95c8d3708b\"\n                                 data-style=\"grid\"\n                                 data-column=\"4\"\n                                 data-cat=\"0\"\n                                 data-org=\"0\"\n                                 data-tag=\"0\"\n                                 data-city=\"\"\n                                 data-country=\"\"\n                                 data-status=\"upcoming\"\n                                 data-year=\"\"\n                                 data-sort=\"ASC\"\n                                 data-show=\"-1\"\n                                 data-pagination=\"no\"\n                                 data-pagination-style=\"load_more\"\n                            >\n                                <div class=\"mage_grid_box \" id=\"\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t    <div class='filter_item mep-event-list-loop mix column_style event-availabe-seat  mep_event_grid_item  abr69f95c8d3708bmage-371 abr69f95c8d3708bmage-361 '\r\n         data-title=\"The Basement LAN 2026\"\r\n         data-city-name=\"Kerkrade\"\r\n         data-state=\"\"\r\n         data-date=\"2026-10-16\"\r\n         data-category=\"Lan party\"\r\n         data-organizer=\"Stichting The Basement LAN\"\r\n         style=\"width:calc(25% - 14px);\">\r\n\t\t\t\t                    <div class=\"mep-ev-start-date\">\n                        <div class=\"mep-month\">okt<\/div>\n\n                        <div class=\"mep-day\">16<\/div>\n                    <\/div>\n\t\t\t\t\t\t\r\n\t\t                <div class=\"mep_list_thumb mpwem_style\">\n                    <div data-href=\"https:\/\/www.gamingchairs.eu\/nl\/event\/the-basement-lan-2026\/\" data-bg-image=\"https:\/\/www.gamingchairs.eu\/wp-content\/uploads\/2025\/12\/ServerLogoGlow.png\"><\/div>\n\t\t\t\t\t                <div class=\"mepev-ribbons\">\n\t\t\t\t\t                <\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\r\n        <div class=\"mep_list_event_details\">\r\n            <a class=\"event_details_link\" href=\"https:\/\/www.gamingchairs.eu\/nl\/event\/the-basement-lan-2026\/\">\r\n\t\t\t\t<h2 class='mep_list_title' title=\"The Basement LAN 2026\">The Basement LAN 2026<\/h2>\r\n\t\t\t\t                    <div class=\"list_content upcomming_date_only_only\">\n                        <span class=\"mi mi-clock\"><\/span>16 oktober 2026  16:00                    <\/div>\n\t\t\t\t                    <div class=\"list_content upcomming_location\">\n                        <span class=\"mi mi-marker\"><\/span>t Westhoes                    <\/div>\n\t\t\t\t                    <div class=\"list_content upcomming_organizer\">\n                        <span class=\"mi mi-user\"><\/span>Organisator: Stichting The Basement LAN                    <\/div>\n\t\t\t            <\/a>\r\n\t\t\t<div class=\"mpwem-price-area\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"mpwem_status_area\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"mpwem_style list_calender\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"mpwem_get_status_calender mpwem_list_date_list\">\n\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"mpwem_get_date_list\" data-collapse-target=\"#mpwem_calender_area_5969\" data-open-text=\"Kalender verbergen\" data-close-text=\"Add To Calendar\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-calendar-plus\"><\/i>&nbsp;&nbsp;\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span data-text>Add To Calendar<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"calendar-list-area \" data-collapse=\"#mpwem_calender_area_5969\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"_mt_xs_fdColumn\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"list_calender\" href=\"https:\/\/calendar.google.com\/calendar\/r\/eventedit?text=http:\/\/The%20Basement%20LAN%202026&amp;dates=20260505T000000\/20261018T200000&amp;details=Ben je klaar voor een weekend vol spanning, competitie en gezelligheid? Sluit je aan bij The Basement LAN, waar gamers van alle niveaus samenkomen om te strijden op zowel consoles als pc\u2019s!&amp;location=t Westhoes  Anemonenstraat 16  Kerkrade  6466 SZ  Nederland&amp;sf=true\" rel=\"nofollow noopener\" target=\"_blank\"> <i class=\"fab fa-google\"><\/i> Google<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"list_calender\" href=\"https:\/\/calendar.yahoo.com\/?v=60&amp;view=d&amp;type=20&amp;title=http:\/\/The%20Basement%20LAN%202026&amp;st=20260505T000000&amp;et=20261018T200000&amp;desc=Ben je klaar voor een weekend vol spanning, competitie en gezelligheid? Sluit je aan bij The Basement LAN, waar gamers van alle niveaus samenkomen om te strijden op zowel consoles als pc\u2019s!&amp;in_loc=t Westhoes  Anemonenstraat 16  Kerkrade  6466 SZ  Nederland&amp;uid=\" rel=\"nofollow noopener\" target=\"_blank\"><i class=\"fab fa-yahoo\"><\/i> Yahoo<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"list_calender\" href=\"https:\/\/outlook.live.com\/owa\/?path=\/calendar\/action\/compose&amp;rru=addevent&amp;startdt=20260505T000000&amp;enddt=20261018T200000&amp;subject=The Basement LAN 2026&amp;body=http:\/\/The%20Basement%20LAN%202026\" rel=\"nofollow noopener\" target=\"_blank\"><i class=\"far fa-envelope\"><\/i> Outlook<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"list_calender\" href=\"https:\/\/webapps.genprod.com\/wa\/cal\/download-ics.php?date_end=20261018T200000&amp;date_start=20260505T000000&amp;summary=http:\/\/The%20Basement%20LAN%202026&amp;location=t Westhoes  Anemonenstraat 16  Kerkrade  6466 SZ  Nederland&amp;description=Ben je klaar voor een weekend vol spanning, competitie en gezelligheid? Sluit je aan bij The Basement LAN, waar gamers van alle niveaus samenkomen om te strijden op zowel consoles als pc\u2019s!\" rel=\"noopener noreferrer\" target=\"_blank\"><i class=\"fab fa-apple\"><\/i> Apple<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\r\n        <\/div>\r\n\t\t    <\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t                                <\/div>\n                            <\/div>\n\t\t\t\t\t\t\t                <input type=\"hidden\" name=\"pagination_per_page\" value=\"1\"\/>\n                <input type=\"hidden\" name=\"pagination_style\" value=\"load_more\"\/>\n\t\t\t\t                <\/div>\n                <script>\n                    jQuery(document).ready(function () {\n                        var containerEl = document.querySelector('#mep_event_list_abr69f95c8d3708b');\n                        var mixer = mixitup(containerEl, {\n                            selectors: {\n                                target: '.mep-event-list-loop',\n                                control: '[data-mixitup-control]'\n                            }\n                        });\n                        \/\/ Handle title filter input\n                        jQuery('input[name=\"filter_with_title\"]').on('keyup', function () {\n                            var searchText = jQuery(this).val().toLowerCase();\n                            var items = jQuery('.mep-event-list-loop');\n                            items.each(function () {\n                                var itemTitle = jQuery(this).data('title').toLowerCase();\n                                if (itemTitle.indexOf(searchText) > -1) {\n                                    jQuery(this).show();\n                                } else {\n                                    jQuery(this).hide();\n                                }\n                            });\n                        });\n                        \/\/ Handle date filter change\n                        jQuery('input[name=\"filter_with_date\"]').on('change', function () {\n                            var selectedDate = jQuery(this).val();\n                            var items = jQuery('.mep-event-list-loop');\n                            if (!selectedDate) {\n                                items.show();\n                            } else {\n                                var filterDate = new Date(selectedDate);\n                                filterDate.setHours(0, 0, 0, 0); \/\/ Reset time part for date comparison\n                                items.each(function () {\n                                    var itemDate = new Date(jQuery(this).data('date'));\n                                    itemDate.setHours(0, 0, 0, 0); \/\/ Reset time part for date comparison\n                                    if (itemDate.getTime() === filterDate.getTime()) {\n                                        jQuery(this).show();\n                                    } else {\n                                        jQuery(this).hide();\n                                    }\n                                });\n                            }\n                        });\n                        \/\/ Handle state filter change\n                        jQuery('select[name=\"filter_with_state\"]').on('change', function () {\n                            var state = jQuery(this).val();\n                            var items = jQuery('.mep-event-list-loop');\n                            if (state === '') {\n                                items.show();\n                            } else {\n                                items.each(function () {\n                                    var itemState = jQuery(this).data('state');\n                                    if (itemState === state) {\n                                        jQuery(this).show();\n                                    } else {\n                                        jQuery(this).hide();\n                                    }\n                                });\n                            }\n                        });\n                        \/\/ Handle city filter change\n                        jQuery('select[name=\"filter_with_city\"]').on('change', function () {\n                            applyAllFilters();\n                        });\n                        \/\/ Handle category filter change\n                        jQuery('select[name=\"filter_with_category\"]').on('change', function () {\n                            applyAllFilters();\n                        });\n                        \/\/ Handle organizer filter change\n                        jQuery('select[name=\"filter_with_organizer\"]').on('change', function () {\n                            applyAllFilters();\n                        });\n                        \/\/ Combined filter function that applies all filters\n                        function applyAllFilters() {\n                            var titleFilter = jQuery('input[name=\"filter_with_title\"]').val().toLowerCase();\n                            var dateFilter = jQuery('input[name=\"filter_with_date\"]').val();\n                            var startDateFilter = jQuery('input[name=\"filter_with_start_date\"]').val();\n                            var endDateFilter = jQuery('input[name=\"filter_with_end_date\"]').val();\n                            var stateFilter = jQuery('select[name=\"filter_with_state\"]').val();\n                            var cityFilter = jQuery('select[name=\"filter_with_city\"]').val();\n                            var categoryFilter = jQuery('select[name=\"filter_with_category\"]').val();\n                            var organizerFilter = jQuery('select[name=\"filter_with_organizer\"]').val();\n                            var visibleCount = 0;\n                            jQuery('.mep-event-list-loop').each(function () {\n                                var $item = jQuery(this);\n                                var show = true;\n                                \/\/ Title filter\n                                if (titleFilter) {\n                                    var itemTitle = ($item.data('title') || '').toLowerCase();\n                                    if (itemTitle.indexOf(titleFilter) === -1) {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ Single Date filter (legacy)\n                                if (show && dateFilter) {\n                                    var itemDate = $item.data('date');\n                                    if (itemDate) {\n                                        var filterDate = new Date(dateFilter);\n                                        filterDate.setHours(0, 0, 0, 0);\n                                        var itemDateObj = new Date(itemDate);\n                                        itemDateObj.setHours(0, 0, 0, 0);\n                                        if (itemDateObj.getTime() !== filterDate.getTime()) {\n                                            show = false;\n                                        }\n                                    } else {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ Date Range filter\n                                if (show && (startDateFilter || endDateFilter)) {\n                                    var itemDate = $item.data('date');\n                                    if (itemDate) {\n                                        var itemDateObj = new Date(itemDate);\n                                        itemDateObj.setHours(0, 0, 0, 0);\n                                        if (startDateFilter) {\n                                            var startDate = new Date(startDateFilter);\n                                            startDate.setHours(0, 0, 0, 0);\n                                            if (itemDateObj < startDate) {\n                                                show = false;\n                                            }\n                                        }\n                                        if (endDateFilter) {\n                                            var endDate = new Date(endDateFilter);\n                                            endDate.setHours(0, 0, 0, 0);\n                                            if (itemDateObj > endDate) {\n                                                show = false;\n                                            }\n                                        }\n                                    } else {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ State filter\n                                if (show && stateFilter) {\n                                    var itemState = $item.data('state') || '';\n                                    if (itemState !== stateFilter) {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ City filter\n                                if (show && cityFilter) {\n                                    var itemCity = $item.data('city-name') || '';\n                                    if (itemCity !== cityFilter) {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ Category filter\n                                if (show && categoryFilter) {\n                                    var itemCategory = $item.data('category') || '';\n                                    var itemCategories = itemCategory.split(',').map(function (c) {\n                                        return c.trim();\n                                    });\n                                    if (itemCategories.indexOf(categoryFilter) === -1) {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ Organizer filter\n                                if (show && organizerFilter) {\n                                    var itemOrganizer = $item.data('organizer') || '';\n                                    var itemOrganizers = itemOrganizer.split(',').map(function (o) {\n                                        return o.trim();\n                                    });\n                                    if (itemOrganizers.indexOf(organizerFilter) === -1) {\n                                        show = false;\n                                    }\n                                }\n                                if (show) {\n                                    $item.show();\n                                    visibleCount++;\n                                } else {\n                                    $item.hide();\n                                }\n                            });\n                            jQuery('.qty_count').text(visibleCount);\n                        }\n                        jQuery('input[name=\"filter_with_title\"]').off('keyup').on('keyup', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('input[name=\"filter_with_date\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('input[name=\"filter_with_start_date\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('input[name=\"filter_with_end_date\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('select[name=\"filter_with_state\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('select[name=\"filter_with_city\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('select[name=\"filter_with_category\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('select[name=\"filter_with_organizer\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n\t\t\t\t\t\t                    });\n                <\/script>\n                \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4437","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.gamingchairs.eu\/nl\/wp-json\/wp\/v2\/pages\/4437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gamingchairs.eu\/nl\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.gamingchairs.eu\/nl\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.gamingchairs.eu\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gamingchairs.eu\/nl\/wp-json\/wp\/v2\/comments?post=4437"}],"version-history":[{"count":0,"href":"https:\/\/www.gamingchairs.eu\/nl\/wp-json\/wp\/v2\/pages\/4437\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gamingchairs.eu\/nl\/wp-json\/wp\/v2\/media?parent=4437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}