{"id":48032,"date":"2022-11-08T12:42:00","date_gmt":"2022-11-08T11:42:00","guid":{"rendered":"http:\/\/740jw955i52c.brive.org\/?page_id=48032"},"modified":"2022-12-05T14:28:08","modified_gmt":"2022-12-05T13:28:08","slug":"decisions","status":"publish","type":"page","link":"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/","title":{"rendered":"D\u00e9cisions"},"content":{"rendered":"<p>[vc_row][vc_column][vc_column_text][vc_tta_tour][vc_tta_section title=\"ANN&Eacute;E 2024\" tab_id=\"annee2024\"][vc_column_text]<div class=\"wpb_wrapper\" id=\"divannee2024\"><\/div>[\/vc_column_text][\/vc_tta_section][vc_tta_section title=\"ANN&Eacute;E 2023\" tab_id=\"annee2023\"][vc_column_text]<div class=\"wpb_wrapper\" id=\"divannee2023\"><\/div>[\/vc_column_text][\/vc_tta_section][vc_tta_section title=\"ANN&Eacute;E 2022\" tab_id=\"annee2022\"][vc_column_text]<div class=\"wpb_wrapper\" id=\"divannee2022\"><\/div>[\/vc_column_text][\/vc_tta_section][\/vc_tta_tour]<script>\n  jQuery(function() {\n    function chargeSeance() {\n      jQuery.ajax({\n        url: 'http:\/\/scripting.brive.fr\/brive\/decisions\/ajax.php?ANN=' + selected + '&rnd=1777796851',\n        context: document.body\n      }).done(function(data) {\n        jQuery('#div' + selected).html(data);\n        console.log(data);\n        \/\/applySearch();\n      });\n    }\n    \n    function setWaitPos() {\n      \/\/var o = jQuery('#searchDelib').position();\n      \/\/jQuery('#wait').css({'left':o.left + jQuery('#searchDelib').width() - 14,'top':o.top});\n      \/\/jQuery('#reset').css({'left':o.left + jQuery('#searchDelib').width() - 14,'top':o.top});\n    }\n    \n    function searchStart() {\n      if (jQuery('#searchDelib').val() == '') {\n        jQuery('a[href^=\"#annee\"]').css({'display':'inline-block'});\n        jQuery('#reset').css({'display':'none'});\n        jQuery('.seance').css({'display':'block'});\n        jQuery('.decisions').css({'display':'block'});\n        searchResults = null;\n        jQuery('#resultNb').html('');\n        jQuery('.resNumber').remove();\n        jQuery('#resultsList').hide().html('');\n        jQuery('#ignoreSp').hide().html('');\n      } else {\n        jQuery('#reset').css({'display':'block'});\n        jQuery('#wait').fadeIn(150);\n        jQuery.ajax({\n          url: 'http:\/\/scripting.brive.fr\/brive\/decisions\/search.php?S=' + jQuery('#searchDelib').val() + '&rnd=1777796851',\n          context: document.body\n        }).done(function(data) {\n          data = jQuery.parseJSON(data)\n          if (typeof data['results'] !== \"undefined\") {\n            searchResults = data['results'];\n            \n            var nb = searchResults.length;\n            \n            var mess = '';\n            if (nb == 0) {\n              mess = 'Aucun r&eacute;sultat';\n            } else {\n              if (nb == 1) {\n                jQuery('#resultNb').html('1 r&eacute;sultat | <a href=\"#\" id=\"showList\">Afficher la liste<\/a>');\n              } else {\n                jQuery('#resultNb').html(searchResults.length + ' r&eacute;sultats | <a href=\"#\" id=\"showList\">Affichage en liste<\/a>');\n              }\n            }\n            \n            jQuery('#showList').click(function() {\n              if (jQuery('#resultsList').is(':hidden')) {\n                jQuery('#showList').html('Masquer la liste');\n              } else {\n                jQuery('#showList').html('Affichage en liste');\n              }\n              jQuery('#resultsList').slideToggle(500);\n              return false;\n            });\n            jQuery('#resultsList').hide().html(data['html']);\n            applySearch();\n            jQuery('a[href^=\"#annee' + searchResults[0].ann + '\"]').click();\n            jQuery('#seance' + searchResults[0].sea + ' a:first-of-type').click();\n            displayIgnoredTerms(data['ignore']);\n          } else {\n            searchResults = '';\n            jQuery('#resultNb').html('Aucun r&eacute;sultat');\n            jQuery('#resultsList').hide().html('');\n            displayIgnoredTerms(data['ignore']);\n            applySearch();\n          }\n          jQuery('#wait').fadeOut(150);\n        });\n      }\n    }\n    function displayIgnoredTerms(str) {\n      if (str.length) {\n        jQuery('#ignoreSp').html(str).show();\n      } else {\n        jQuery('#ignoreSp').hide();\n      }\n    }\n    function applySearch() {\n      if (searchResults != null) {\n        jQuery('a[href^=\"#annee\"]').css({'display':'none'});\n        jQuery('.seance').css({'display':'none'});\n        jQuery('.decisions').css({'display':'none'});\n        jQuery('.resNumber').remove();\n        var prevYear = -1;\n        var yearNb = 0;\n        var prevSea = -1;\n        var seaNb = 0;\n        \n        for (i = 0;elem = searchResults[i];i++) {\n          jQuery('a[href^=\"#annee' + elem.ann + '\"]').css({'display':'inline-block'});\n          \n          jQuery('#seance' + elem.sea).css({'display':'block'});\n          jQuery('#decisions' + elem.id).css({'display':'block'});\n          yearNb++;\n          seaNb++;\n          \n          if (prevSea != elem.sea) {\n            if (prevSea != -1) {\n              jQuery('#seance' + prevSea + ' a').append('<span class=\"resNumber\"> (' + seaNb + ')<\/span>');\n            }\n            prevSea = elem.sea;\n            seaNb = 0;\n          }\n          \n          if (prevYear != elem.ann) {\n            if (prevYear != -1) {\n              jQuery('a[href^=\"#annee' + prevYear + '\"] span').append('<span class=\"resNumber\"> (' + yearNb + ')<\/span>');\n            }\n            prevYear = elem.ann;\n            yearNb = 0;\n            prevSea = elem.sea;\n            seaNb = 0;\n          }\n        }\n        jQuery('a[href^=\"#annee' + prevYear + '\"] span').append('<span class=\"resNumber\"> (' + (yearNb + 1) + ')<\/span>');\n        jQuery('#seance' + prevSea + ' a').append('<span class=\"resNumber\"> (' + (seaNb + 1) + ')<\/span>');\n      }\n    }\n    \n    var selected = \"annee2024\";\n    jQuery( '.vc_tta-panel-title a' ).click(function() {\n      selected = jQuery(this).attr('href').substring(1);\n      chargeSeance();\n    });\n    chargeSeance();\n    jQuery( window ).resize(function() {\n      setWaitPos();\n    });\n    setWaitPos();\n    \n    jQuery('#reset').click(function() {\n      jQuery('#searchDelib').val('');\n      searchStart();\n    });\n    \n    var searchResults = null;\n    var sTimer = null;\n    jQuery('#searchDelib').keyup( function() {\n      clearTimeout(sTimer);\n      sTimer = setTimeout(function() { \n        searchStart();\n      }, 1000);\n    });\n  });\n  <\/script>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text][\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>D\u00e9cisions - Ville de Brive<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"D\u00e9cisions - Ville de Brive\" \/>\n<meta property=\"og:description\" content=\"[vc_row][vc_column][vc_column_text][\/vc_column_text][\/vc_column][\/vc_row]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/\" \/>\n<meta property=\"og:site_name\" content=\"Ville de Brive\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-05T13:28:08+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/740jw955i52c.brive.org\/#website\",\"url\":\"http:\/\/740jw955i52c.brive.org\/\",\"name\":\"Ville de Brive\",\"description\":\"Bienvenue sur le site de la ville de Brive-la-Gaillarde. Vous y trouverez l&#039;actualit\\u00e9 de la commune, des informations pratiques et vos d\\u00e9marches administratives.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/740jw955i52c.brive.org\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/#webpage\",\"url\":\"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/\",\"name\":\"D\\u00e9cisions - Ville de Brive\",\"isPartOf\":{\"@id\":\"http:\/\/740jw955i52c.brive.org\/#website\"},\"datePublished\":\"2022-11-08T11:42:00+00:00\",\"dateModified\":\"2022-12-05T13:28:08+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"http:\/\/740jw955i52c.brive.org\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"D\\u00e9cisions\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"D\u00e9cisions - Ville de Brive","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/","og_locale":"fr_FR","og_type":"article","og_title":"D\u00e9cisions - Ville de Brive","og_description":"[vc_row][vc_column][vc_column_text][\/vc_column_text][\/vc_column][\/vc_row]","og_url":"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/","og_site_name":"Ville de Brive","article_modified_time":"2022-12-05T13:28:08+00:00","twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"http:\/\/740jw955i52c.brive.org\/#website","url":"http:\/\/740jw955i52c.brive.org\/","name":"Ville de Brive","description":"Bienvenue sur le site de la ville de Brive-la-Gaillarde. Vous y trouverez l&#039;actualit\u00e9 de la commune, des informations pratiques et vos d\u00e9marches administratives.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/740jw955i52c.brive.org\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fr-FR"},{"@type":"WebPage","@id":"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/#webpage","url":"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/","name":"D\u00e9cisions - Ville de Brive","isPartOf":{"@id":"http:\/\/740jw955i52c.brive.org\/#website"},"datePublished":"2022-11-08T11:42:00+00:00","dateModified":"2022-12-05T13:28:08+00:00","breadcrumb":{"@id":"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/740jw955i52c.brive.org\/index.php\/decisions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"http:\/\/740jw955i52c.brive.org\/"},{"@type":"ListItem","position":2,"name":"D\u00e9cisions"}]}]}},"_links":{"self":[{"href":"http:\/\/740jw955i52c.brive.org\/index.php\/wp-json\/wp\/v2\/pages\/48032"}],"collection":[{"href":"http:\/\/740jw955i52c.brive.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/740jw955i52c.brive.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/740jw955i52c.brive.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/740jw955i52c.brive.org\/index.php\/wp-json\/wp\/v2\/comments?post=48032"}],"version-history":[{"count":1,"href":"http:\/\/740jw955i52c.brive.org\/index.php\/wp-json\/wp\/v2\/pages\/48032\/revisions"}],"predecessor-version":[{"id":48033,"href":"http:\/\/740jw955i52c.brive.org\/index.php\/wp-json\/wp\/v2\/pages\/48032\/revisions\/48033"}],"wp:attachment":[{"href":"http:\/\/740jw955i52c.brive.org\/index.php\/wp-json\/wp\/v2\/media?parent=48032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}