{"id":6782,"date":"2022-03-07T18:45:22","date_gmt":"2022-03-07T18:45:22","guid":{"rendered":"https:\/\/website.hampstead.penega.dev\/?page_id=6782"},"modified":"2023-02-20T13:48:30","modified_gmt":"2023-02-20T17:48:30","slug":"public-notices","status":"publish","type":"page","link":"https:\/\/www.hampstead.qc.ca\/en\/town\/public-notices\/","title":{"rendered":"Public notices"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"6782\" class=\"elementor elementor-6782 elementor-6775\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f1575f5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f1575f5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-3a4135a\" data-id=\"3a4135a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0fa5718 elementor-widget elementor-widget-Listing Avis\" data-id=\"0fa5718\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"Listing Avis.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t        <div class=\"container\">\n            <div class=\"row\">\n                <div class=\"col-12 col-lg-8\">\n                    <input class=\"mt-1\" id=\"table-search\" type=\"search\" placeholder=\"Search one of the words\">\n                    <div class=\"btn btn-secondary btn-search ml-2 mt-1\">Search<\/div>\n                <\/div>\n\n                            <\/div>\n\n            <div class=\"filter-year\"><\/div>\n\n            <div class=\"row\">\n                <div class=\"col\">\n                    <div class=\"table-container\">\n                        <table>\n                            <thead>\n                            <tr>\n                                <th>Title<\/th>\n                                <th>Date<\/th>\n                                <th><\/th>\n                                <!--                                    <th>--><!--<\/th>-->\n                            <\/tr>\n                            <\/thead>\n                            <tbody class=\"items-container\"><\/tbody>\n                        <\/table>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n        <script type=\"text\/javascript\">\n            $(document).ready(function () {\n                var current, maxpages;\n\n                function ajaxCall(taxonomy = {}, currentpage = 1, numberpost = -1) {\n                    if (currentpage === 1) {\n                        jQuery('.items-container').html('');\n                    }\n\n                    jQuery('.items-container').append('<tr><td colspan=\"5\"><div class=\"loading\"><\/div><\/td><\/tr>');\n\n                    var args = {\n                        type: 'legal_notices',\n                        lang: 'en',\n                        currentpage: currentpage,\n                        numberpost: numberpost,\n                        search: jQuery('#table-search').val(),\n                    };\n\n                    if(jQuery('#filter-subject').val()){\n                        args.taxonomy = {\n                            subjects: [jQuery('#filter-subject').val()]\n                        };\n                    }\n\n                    avisApi(args, function (data) {\n                        if (data) {\n                            maxpages = data.maxpages;\n                            current = data.currentpage + 1;\n                            jQuery('.items-container .loading').parents('tr').remove();\n\n                            var $items = $(data.html);\n                            jQuery('.items-container').append($items);\n                        }\n                    });\n                }\n\n                ajaxCall();\n\n                jQuery('.btn-search').on('click', function (e) {\n                    ajaxCall();\n                });\n\n                \/\/ hit enter to launch ajaxCall searchwp\n                $(document).on('keypress',function(e) {\n                    if(e.which == 13 && $('#table-search').is(':focus')) {\n                        ajaxCall();\n                    }\n                });\n\n                jQuery('#filter-subject').on('change', function (e) {\n                    ajaxCall();\n                });\n            });\n        <\/script>\n        \t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-24acc7f\" data-id=\"24acc7f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bbc244f elementor-widget elementor-widget-heading\" data-id=\"bbc244f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Does this page meet your needs?<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-221fc57 elementor-button-align-start elementor-widget elementor-widget-form\" data-id=\"221fc57\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;step_next_label&quot;:&quot;Next&quot;,&quot;step_previous_label&quot;:&quot;Previous&quot;,&quot;button_width&quot;:&quot;100&quot;,&quot;step_type&quot;:&quot;number_text&quot;,&quot;step_icon_shape&quot;:&quot;circle&quot;}\" data-widget_type=\"form.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<form class=\"elementor-form\" method=\"post\" name=\"New Form\" aria-label=\"New Form\">\n\t\t\t<input type=\"hidden\" name=\"post_id\" value=\"6782\"\/>\n\t\t\t<input type=\"hidden\" name=\"form_id\" value=\"221fc57\"\/>\n\t\t\t<input type=\"hidden\" name=\"referer_title\" value=\"Public notices  - Hampstead\" \/>\n\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"queried_id\" value=\"6782\"\/>\n\t\t\t\n\t\t\t<div class=\"elementor-form-fields-wrapper elementor-labels-above\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-radio elementor-field-group elementor-column elementor-field-group-satisfaction_radio elementor-col-100\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-satisfaction_radio\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\t<div style=\"color:#888\">Help us to optimize our site.<\/div>\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<div class=\"elementor-field-subgroup  \"><span class=\"elementor-field-option\"><input type=\"radio\" value=\"oui\" id=\"form-field-satisfaction_radio-0\" name=\"form_fields[satisfaction_radio]\"> <label for=\"form-field-satisfaction_radio-0\">Yes<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"non\" id=\"form-field-satisfaction_radio-1\" name=\"form_fields[satisfaction_radio]\"> <label for=\"form-field-satisfaction_radio-1\">No<\/label><\/span><\/div>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-textarea elementor-field-group elementor-column elementor-field-group-message elementor-col-100\">\n\t\t\t\t\t<textarea class=\"elementor-field-textual elementor-field  elementor-size-sm\" name=\"form_fields[message]\" id=\"form-field-message\" rows=\"4\" placeholder=\"Please explain\"><\/textarea>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-group elementor-column elementor-field-type-submit elementor-col-100 e-form__buttons\">\n\t\t\t\t\t<button class=\"elementor-button elementor-size-sm\" type=\"submit\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Send<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/form>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Rechercher &nbsp; Titre Sujet Does this page meet your needs?<\/p>\n","protected":false},"author":1,"featured_media":5099,"parent":2057,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-6782","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hampstead.qc.ca\/en\/wp-json\/wp\/v2\/pages\/6782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hampstead.qc.ca\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hampstead.qc.ca\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hampstead.qc.ca\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hampstead.qc.ca\/en\/wp-json\/wp\/v2\/comments?post=6782"}],"version-history":[{"count":0,"href":"https:\/\/www.hampstead.qc.ca\/en\/wp-json\/wp\/v2\/pages\/6782\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.hampstead.qc.ca\/en\/wp-json\/wp\/v2\/pages\/2057"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hampstead.qc.ca\/en\/wp-json\/wp\/v2\/media\/5099"}],"wp:attachment":[{"href":"https:\/\/www.hampstead.qc.ca\/en\/wp-json\/wp\/v2\/media?parent=6782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}