    
{"id":10785,"date":"2017-12-11T00:06:28","date_gmt":"2017-12-10T23:06:28","guid":{"rendered":"https:\/\/praha7.cz\/?page_id=10785"},"modified":"2023-03-20T14:03:34","modified_gmt":"2023-03-20T13:03:34","slug":"usneseni-archiv","status":"publish","type":"page","link":"https:\/\/www.praha7.cz\/usneseni-archiv\/","title":{"rendered":"Usnesen\u00ed rady a&nbsp;zastupitelstva (do roku 2022)"},"content":{"rendered":"\t<div class=\"container\">\n\t\t<div class=\"row\">\n\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col-xs-12\">\n\t\t\t\t\t<div class=\"col-xs-12 col-md-4\">\n\t\t\t\t\t\t<div class=\"rail-select\">\n\t\t\t\t\t\t\t<div class=\"select-side\">\n\t\t\t\t\t\t\t\t<i class=\"glyphicon glyphicon-chevron-down\"><\/i>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<select class=\"form-control\" id=\"councilResolutionSelect\">\n\t\t\t\t\t\t\t\t<option value=\"-1\">V\u0161e<\/option>\t\t\n\t\t\t\t\t\t\t\t<option value=\"1\">Usnesen\u00ed Zastupitelstva<\/option>\n\t\t\t\t\t\t\t\t<option value=\"2\">Usnesen\u00ed Rady<\/option>\n\t\t\t\t\t\t\t\t<option value=\"3\">Jedn\u00e1n\u00ed Zastupitelstva<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div class=\"col-xs-12 col-md-4\" id=\"sandbox-container\">\n\t\t\t\t\t\t<div class=\"input-group date\">\n\t\t\t\t\t\t\t<input type=\"text\" id=\"calendar\" class=\"form-control\" placeholder=\"V\u0161e do dne\u0161ka\"><span class=\"input-group-addon\"><i class=\"glyphicon glyphicon-chevron-down\"><\/i><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div class=\"col-xs-12 col-md-4\" id=\"search-container\">\n\t\t\t\t\t\t<div class=\"input-group date\">\n\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"search-input\" placeholder=\"Hledat \u010d\u00edslo usnesen\u00ed nebo text\"><span id=\"search-button\" class=\"input-group-addon\"><i id=\"search-icon\" class=\"glyphicon glyphicon-search\"><\/i><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\n\t\t\t<div class=\"tabs-switcher container-fluid\">\n\t\t\t\t<img id=\"councilResolutionLoaderGif\" src=\"https:\/\/www.praha7.cz\/wp-content\/plugins\/inqool-css-js\/img\/loader.gif\" style=\"position: absolute; bottom: 0; left: calc(50% - 56px); z-index: 2; display: none;\">\n\t\t\t\t<br>\t\t\t\t\n\t\t\t\t<div class=\"tab-content clearfix\">\n\t\t\t\t\t<div class=\"tab-pane tab-pane-sec active\" id=\"council-resolutions\">\n\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\t\t\t\t\n\t\t\t\t<div class=\"text-center col-xs-12\">\n\t\t\t\t\t<button type=\"button\" id=\"cr-show-more\" class=\"btn btn-show-more\">Na\u010d\u00edst dal\u0161\u00ed usnesen\u00ed<\/button>\n\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\n\t<script>\n\t\tvar pg = 1;\n\t\t\tvar limit = 30;\n\n\t\tjQuery(document).ready(function(){\n\n\t\t\trefresh();\n\n\t\t\tjQuery(\"#sandbox-container .input-group.date\").datepicker({\n\t\t\t\tformat: 'd. m. yyyy',\n\t\t\t\tlanguage: \"cs\",\n\t\t\t\tclearBtn: true\n\t\t\t}).on('clearDate', function(e) {\n\t\t\t\trefresh();\n\t\t\t});\n\n\t\t\tjQuery(\"#councilResolutionSelect\").change(function(){\n\t\t\t\trefresh();\n\t\t\t});\n\n\t\t\tjQuery(\"#calendar\").change(function(){\n            \trefresh();\n\t\t\t});\n\n\t\t\tjQuery('#search-input').keyup(function(){\n\t\t\t\t\n\t\t\t\tdelay(function(){\n      \t\t\t\trefresh();\n    \t\t\t}, 700 );\n\n\t\t\t\tif(jQuery('#search-input').val().length > 0){\n\t\t\t\t\tjQuery('#search-icon').removeClass('glyphicon-search');\n\t\t\t\t\tjQuery('#search-icon').addClass('glyphicon-remove');\n\t\t\t\t} else {\n\t\t\t\t\tjQuery('#search-icon').removeClass('glyphicon-remove');\n\t\t\t\t\tjQuery('#search-icon').addClass('glyphicon-search');\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tjQuery('#search-button').click(function(){\n\t\t\t\tjQuery('#search-input').val('');\n\t\t\t\tjQuery('#search-icon').removeClass('glyphicon-remove');\n\t\t\t\tjQuery('#search-icon').addClass('glyphicon-search');\n\t\t\t\trefresh();\n\t\t\t});\n\n\t\t\tjQuery(document).on(\"click\", \"#cr-show-more\", function(){\n\t\t\t\tgetNext();\n\t\t\t});\n\n\t\t});\n\n\t\tvar delay = (function(){\n\t\t\tvar timer = 0;\n\t\t\treturn function(callback, ms){\n\t\t\t\tclearTimeout (timer);\n\t\t\t\ttimer = setTimeout(callback, ms);\n\t\t\t};\n\t\t})();\n\n\n\t\tfunction refresh(){\n\t\t\tpg = 1;\n\n\t\t\tjQuery(\"#councilResolutionLoaderGif\").show();\n\n\t\t\tvar typeId = jQuery(\"#councilResolutionSelect\").val();\n\n\t\t\tvar textToFind = null;\n\t\t\tif(jQuery(\"#search-input\").val() != ''){\n\t\t\t\ttextToFind = jQuery(\"#search-input\").val();\n\t\t\t}\n\n\t\t\tajaxRequest = $.ajax({\n\t\t\t\turl: \"https:\/\/www.praha7.cz\/wp-content\/script\/ajax\/get-council-resolutions.php\",\n\t\t\t\ttype: \"post\",\n\t\t\t\tdata: {\n\t\t\t\t\t'typeId': typeId,\n\t\t\t\t\t'textToFind': textToFind,\n\t\t\t\t\t'date': getFilteredDate(),\n\t\t\t\t\t'limit': limit\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tajaxRequest.done(function (response){\n\t\t\t\tjQuery('#council-resolutions').html('');\n\t\t\t\tvar councilResolutionData = response;\n\t\t\t\t\t\n\t\t\t\tif(typeId == -1){\n\t\t\t\t\trenderAllData(councilResolutionData);\n\t\t\t\t} else if(typeId == 1){\n\t\t\t\t\trenderRegularResolutions(councilResolutionData);\n\t\t\t\t} else if(typeId == 2) {\n\t\t\t\t\trenderMainResolutions(councilResolutionData);\n\t\t\t\t} else {\n\t\t\t\t\trenderMeetings(councilResolutionData);\n\t\t\t\t}\n\n\t\t\t\tjQuery(\"#councilResolutionLoaderGif\").hide();\n\t\t\t});\n\n\t\t\tajaxRequest.fail(function (){\n\t\t\t\tconsole.log(error);\n\t\t\t});\n\t\t}\n\n\t\tfunction getNext(){\n\n\t\t\tjQuery(\"#councilResolutionLoaderGif\").show();\n\n\t\t\tvar typeId = jQuery(\"#councilResolutionSelect\").val();\n\n\t\t\tvar textToFind = null;\n\t\t\tif(jQuery(\"#search-input\").val() != ''){\n\t\t\t\ttextToFind = jQuery(\"#search-input\").val();\n\t\t\t}\n\n\t\t\tajaxRequest = $.ajax({\n\t\t\t\turl: \"https:\/\/www.praha7.cz\/wp-content\/script\/ajax\/get-council-resolutions.php\",\n\t\t\t\ttype: \"post\",\n\t\t\t\tdata: {\n\t\t\t\t\t'typeId': typeId,\n\t\t\t\t\t'textToFind': textToFind,\n\t\t\t\t\t'date': getFilteredDate(),\n\t\t\t\t\t'limit': limit,\n\t\t\t\t\t'page': pg++\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tajaxRequest.done(function (response){\n\t\t\t\tvar councilResolutionData = response;\n\t\t\t\t\t\n\t\t\t\tif(typeId == -1){\n\t\t\t\t\trenderAllData(councilResolutionData);\n\t\t\t\t} else if(typeId == 1){\n\t\t\t\t\trenderRegularResolutions(councilResolutionData);\n\t\t\t\t} else if(typeId == 2) {\n\t\t\t\t\trenderMainResolutions(councilResolutionData);\n\t\t\t\t} else {\n\t\t\t\t\trenderMeetings(councilResolutionData);\n\t\t\t\t}\n\n\t\t\t\tjQuery(\"#councilResolutionLoaderGif\").hide();\n\t\t\t});\n\n\t\t\tajaxRequest.fail(function (){\n\t\t\t\tconsole.log(error);\n\t\t\t});\n\t\t}\n\n\t\tfunction renderMeetings(councilResolutionData){\n\t\t\tjQuery.each(councilResolutionData, function(index, item) {\n\t\t\t\tvar temp_date = item.start.split(' ');\n\t\t\t\tvar item_date = new Date(temp_date[0] + 'T' + temp_date[1]);\n\t\t\t\t\n\t\t\t\tvar html = '';\n\t\t\t\thtml += '<div class=\"tab-content-item tab-content-item-sec\">';\n\t\t\t\thtml += '\t<div class=\"row\">';\n\t\t\t\thtml += '\t\t<div class=\"col-xs-2 resolution-number-wrap\">';\n\t\t\t\thtml += '\t\t\t<p class=\"resolution-number\">' + item.number + '<\/p>';\n\t\t\t\thtml += '\t\t\t<p class=\"inline-item-data\">';\n\t\t\t\thtml += \t\t\t\titem_date.getDate() + '. ' + (item_date.getMonth()+1) + '. ' + item_date.getFullYear();\t\t\t\t\n\t\t\t\thtml += '\t\t\t<\/p>';\n\t\t\t\thtml += '\t\t<\/div>';\n\t\t\t\thtml += '\t\t<div class=\"col-xs-10\">';\n\t\t\t\thtml += '\t\t\t<a href=\"usneseni\/?id=' + item.id + '&type=meet' + '\" class=\"resolution-title\">' + item.name + '<\/a>';\n\t\t\t\thtml += '\t\t<\/div>';\n\t\t\t\thtml += '\t<\/div>';\n\t\t\t\thtml += '<\/div>';\n\t\t\t\t\n\t\t\t\tjQuery('#council-resolutions').append(html);\n\t\t\t});\n\t\t}\n\n\t\tfunction renderMainResolutions(councilResolutionData){\n\t\t\tjQuery.each(councilResolutionData, function(index, item) {\n\t\t\t\tvar temp_date = item.created.split(' ');\n\t\t\t\tvar item_date = new Date(temp_date[0] + 'T' + temp_date[1]);\n\t\t\t\t\n\t\t\t\tvar html = '';\n\t\t\t\thtml += '<div class=\"tab-content-item tab-content-item-sec\">';\n\t\t\t\thtml += '\t<div class=\"row\">';\n\t\t\t\thtml += '\t\t<div class=\"col-xs-2 resolution-number-wrap\">';\n\t\t\t\thtml += '\t\t\t<p class=\"resolution-number\">' + item.number + '<\/p>';\n\t\t\t\thtml += '\t\t\t<p class=\"inline-item-data\">';\n\t\t\t\thtml += \t\t\t\titem_date.getDate() + '. ' + (item_date.getMonth()+1) + '. ' + item_date.getFullYear();\t\t\t\t\n\t\t\t\thtml += '\t\t\t<\/p>';\n\t\t\t\thtml += '\t\t<\/div>';\n\t\t\t\thtml += '\t\t<div class=\"col-xs-10\">';\n\t\t\t\thtml += '\t\t\t<a href=\"usneseni\/?id=' + item.id + '&type=mainRes' + '\" class=\"resolution-title\">' + item.topic_name + '<\/a>';\n\t\t\t\thtml += '\t\t<\/div>';\n\t\t\t\thtml += '\t<\/div>';\n\t\t\t\thtml += '<\/div>';\n\n\t\t\t\tjQuery('#council-resolutions').append(html);\n\t\t\t});\n\t\t}\n\n\t\tfunction renderRegularResolutions(councilResolutionData){\n\t\t\tjQuery.each(councilResolutionData, function(index, item) {\n\t\t\t\tvar temp_date = item.created.split(' ');\n\t\t\t\tvar item_date = new Date(temp_date[0] + 'T' + temp_date[1]);\n\t\t\t\t\n\t\t\t\tvar html = '';\n\t\t\t\thtml += '<div class=\"tab-content-item tab-content-item-sec\">';\n\t\t\t\thtml += '\t<div class=\"row\">';\n\t\t\t\thtml += '\t\t<div class=\"col-xs-2 resolution-number-wrap\">';\n\t\t\t\thtml += '\t\t\t<p class=\"resolution-number\">' + item.number + '<\/p>';\n\t\t\t\thtml += '\t\t\t<p class=\"inline-item-data\">';\n\t\t\t\thtml += \t\t\t\titem_date.getDate() + '. ' + (item_date.getMonth()+1) + '. ' + item_date.getFullYear();\t\t\t\t\n\t\t\t\thtml += '\t\t\t<\/p>';\n\t\t\t\thtml += '\t\t<\/div>';\n\t\t\t\thtml += '\t\t<div class=\"col-xs-10\">';\n\t\t\t\thtml += '\t\t\t<a href=\"usneseni\/?id=' + item.id + '&type=regularRes' + '\" class=\"resolution-title\">' + item.topic_name + '<\/a>';\n\t\t\t\thtml += '\t\t<\/div>';\n\t\t\t\thtml += '\t<\/div>';\n\t\t\t\thtml += '<\/div>';\n\n\t\t\t\tjQuery('#council-resolutions').append(html);\n\t\t\t});\n\t\t}\n\n\t\tfunction renderAllData(councilResolutionData){\n\t\t\tjQuery.each(councilResolutionData, function(index, item) {\n\t\t\t\tvar temp_date = item.date.split(' ');\n\t\t\t\tvar item_date = new Date(temp_date[0] + 'T' + temp_date[1]);\n\t\t\t\t\n\t\t\t\tvar html = '';\n\t\t\t\thtml += '<div class=\"tab-content-item tab-content-item-sec\">';\n\t\t\t\thtml += '\t<div class=\"row\">';\n\t\t\t\thtml += '\t\t<div class=\"col-xs-2 resolution-number-wrap\">';\n\t\t\t\thtml += '\t\t\t<p class=\"resolution-number\">' + item.number + '<\/p>';\n\t\t\t\thtml += '\t\t\t<p class=\"inline-item-data\">';\n\t\t\t\thtml += \t\t\t\titem_date.getDate() + '. ' + (item_date.getMonth()+1) + '. ' + item_date.getFullYear();\t\t\t\t\n\t\t\t\thtml += '\t\t\t<\/p>';\n\t\t\t\thtml += '\t\t<\/div>';\n\t\t\t\thtml += '\t\t<div class=\"col-xs-10\">';\n\t\t\t\thtml += '\t\t\t<a href=\"usneseni\/?id=' + item.item.id + '&type=' + item.type + '\" class=\"resolution-title\">' + item.name + '<\/a>';\n\t\t\t\thtml += '\t\t<\/div>';\n\t\t\t\thtml += '\t<\/div>';\n\t\t\t\thtml += '<\/div>';\n\n\t\t\t\tjQuery('#council-resolutions').append(html);\n\t\t\t});\n\t\t}\n\n\t\tfunction getFilteredDate(){\n\t\t\tvar filterDate = jQuery('#calendar').val();\n\t\t\tdate = null;\n\t\t\tif(filterDate == \"\"){\n\t\t\t\tvar today = new Date();\n\t\t\t\tdate = today.getFullYear() + '-' + (today.getMonth()+1) + '-' + today.getDate();\n\t\t\t}else{\n\t\t\t\tsplitDate = filterDate.split('.');\n\t\t\t\tdate = splitDate[2].trim() + '-' + splitDate[1].trim() + '-' + splitDate[0].trim();\n\t\t\t}\n\n\t\t\treturn date;\n\t\t}\n\t<\/script>\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":16,"comment_status":"closed","ping_status":"closed","template":"needToArangeTemplate.php","meta":[],"_links":{"self":[{"href":"https:\/\/www.praha7.cz\/api\/wp\/v2\/pages\/10785"}],"collection":[{"href":"https:\/\/www.praha7.cz\/api\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.praha7.cz\/api\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.praha7.cz\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.praha7.cz\/api\/wp\/v2\/comments?post=10785"}],"version-history":[{"count":3,"href":"https:\/\/www.praha7.cz\/api\/wp\/v2\/pages\/10785\/revisions"}],"predecessor-version":[{"id":65237,"href":"https:\/\/www.praha7.cz\/api\/wp\/v2\/pages\/10785\/revisions\/65237"}],"wp:attachment":[{"href":"https:\/\/www.praha7.cz\/api\/wp\/v2\/media?parent=10785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}