{"id":53,"date":"2015-02-08T22:55:27","date_gmt":"2015-02-08T22:55:27","guid":{"rendered":"http:\/\/www.okm.org.pl\/?page_id=53"},"modified":"2023-06-12T21:22:22","modified_gmt":"2023-06-12T20:22:22","slug":"kontakt-2","status":"publish","type":"page","link":"https:\/\/www.okm.org.pl\/?page_id=53","title":{"rendered":"Kontakt"},"content":{"rendered":"<h4><span style=\"font-size: 10pt;\"><strong>OLSZTY\u0143SKI KLUB MOTOROWY im. Mariana Bublewicza<br \/>\n<\/strong><\/span><\/h4>\n<p>Bema Square<br \/>\npl. Bema 2\/1<br \/>\n10-516 Olsztyn<br \/>\ntel kom.&nbsp;+48 501 177 440<\/p>\n<p>e-mail:<br \/>\n<a href=\"mailto:kontakt@okm.org.pl\">kontakt@okm.org.pl<\/a><\/p>\n<p><span style=\"font-size: 10pt;\"><strong>&nbsp;<\/strong><\/span><\/p>\n<p>KRS: &nbsp;0000206578&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;NIP: &nbsp;7391311698&nbsp;&nbsp;&nbsp;&nbsp; REGON:&nbsp;&nbsp; 510542410<\/p>\n<p>BNP Paribas Bank Polska SA<br \/>\nnr rachunku: 49 1750 0012 0000 0000 3992 3742<\/p>\n<p>&nbsp;<\/p>\n\n            <div id=\"mailerlite-form_1\" data-temp-id=\"69edef7549682\">\n                <div class=\"mailerlite-form\">\n                    <form action=\"\" method=\"post\" novalidate>\n                                                    <div class=\"mailerlite-form-title\"><h3>Lista mailingowa<\/h3><\/div>\n                                                <div class=\"mailerlite-form-description\"><p>Je\u015bli <span style=\"text-decoration: underline;\">nie<\/span> jeste\u015b cz\u0142onkiem klubu a chcesz dostawia\u0107 od nas powiadomienia o naszych imprezach, zapisz si\u0119 do naszej listy mailingowej, a nie przegapisz \u017cadnego wydarzenia. W ka\u017cdej chwili mo\u017cesz si\u0119 wypisa\u0107 wysy\u0142aj\u0105c pro\u015bb\u0119 na adres klubu: <a href=\"mailto:kontakt@okm.org.pl\">kontakt@okm.org.pl<\/a> lub klikaj\u0105c w link na dole ka\u017cdego otrzymanego od nas maila.<\/p>\n<\/div>\n                        <div class=\"mailerlite-form-inputs\">\n                                                                                            <div class=\"mailerlite-form-field\">\n                                    <label for=\"mailerlite-1-field-email\">Email<\/label>\n                                    <input id=\"mailerlite-1-field-email\"\n                                           type=\"email\" required=\"required\"                                            name=\"form_fields[email]\"\n                                           placeholder=\"Wpisz sw\u00f3j adres email\"\/>\n                                <\/div>\n                                                        <div class=\"mailerlite-form-loader\">Please wait...<\/div>\n                            <div class=\"mailerlite-subscribe-button-container\">\n                                <button class=\"mailerlite-subscribe-submit\" type=\"submit\">\n                                    Zapisz si\u0119                                <\/button>\n                            <\/div>\n                            <input type=\"hidden\" name=\"form_id\" value=\"1\"\/>\n                            <input type=\"hidden\" name=\"action\" value=\"mailerlite_subscribe_form\"\/>\n                            <input type=\"hidden\" name=\"ml_nonce\" value=\"963fb34c5c\"\/>\n                        <\/div>\n                        <div class=\"mailerlite-form-response\">\n                                                            <h4><p><span style=\"color: #339966;\">Dzi\u0119ki! Zosta\u0142e\u015b wpisany na list\u0119 mailingow\u0105.<\/span><\/p>\n<\/h4>\n                                                    <\/div>\n                    <\/form>\n                <\/div>\n            <\/div>\n        <script type=\"text\/javascript\" src='https:\/\/www.okm.org.pl\/wp-content\/plugins\/official-mailerlite-sign-up-forms\/assets\/js\/localization\/validation-messages.js'><\/script>\n         <script type=\"text\/javascript\"> var selectedLanguage = \"pl\"; var validationMessages = messages[\"en\"]; if(selectedLanguage) { validationMessages = messages[selectedLanguage]; } window.addEventListener(\"load\", function () { var form_container = document.querySelector(`#mailerlite-form_1[data-temp-id=\"69edef7549682\"] form`); let submitButton = form_container.querySelector('.mailerlite-subscribe-submit'); submitButton.disabled = true; fetch('https:\/\/www.okm.org.pl\/wp-admin\/admin-ajax.php', { method: 'POST', headers:{ 'Content-Type': 'application\/x-www-form-urlencoded', }, body: new URLSearchParams({ \"action\" : \"ml_create_nonce\", \"ml_nonce\" : form_container.querySelector(\"input[name='ml_nonce']\").value }) }) .then((response) => response.json()) .then((json) => { if(json.success) { form_container.querySelector(\"input[name='ml_nonce']\").value = json.data.ml_nonce; submitButton.disabled = false; } }) .catch((error) => { console.error('Error:', error); }); form_container.addEventListener('submit', (e) => { e.preventDefault(); let data = new URLSearchParams(new FormData(form_container)).toString(); let validationError = false; document.querySelectorAll('.mailerlite-form-error').forEach(el => el.remove()); Array.from(form_container.elements).forEach((input) => { if(input.type !== 'hidden') { if(input.required) { if(input.value == '') { validationError = true; let error = document.createElement(\"span\"); error.className = 'mailerlite-form-error'; error.textContent = validationMessages.required; input.after(error); return false; } } if((input.type == \"email\") && (!validateEmail(input.value))) { validationError = true; let error = document.createElement(\"span\"); error.className = 'mailerlite-form-error'; error.textContent = validationMessages.email; input.after(error); return false; } } }); if(validationError) { return false; } fade.out(form_container.querySelector('.mailerlite-subscribe-button-container'), () => { fade.in(form_container.querySelector('.mailerlite-form-loader')); }); fetch('https:\/\/www.okm.org.pl\/wp-admin\/admin-ajax.php', { method: 'POST', headers:{ 'Content-Type': 'application\/x-www-form-urlencoded', }, body: data }) .then((response) => { fade.out(form_container.querySelector('.mailerlite-form-inputs'), () => { fade.in(form_container.querySelector('.mailerlite-form-response')); }); }) .catch((error) => { console.error('Error:', error); }); }); }, false); var fade = { out: function(el, fn = false) { var fadeOutEffect = setInterval(function () { if (!el.style.opacity) { el.style.opacity = 1; } if (el.style.opacity > 0) { el.style.opacity -= 0.1; } else { el.style.display = 'none'; clearInterval(fadeOutEffect); } }, 50); if( typeof (fn) == 'function') { fn(); } }, in: function(el) { var fadeInEffect = setInterval(function () { if (!el.style.opacity) { el.style.opacity = 0; } if (el.style.opacity < 1) { el.style.opacity = Number(el.style.opacity) + 0.1; } else { el.style.display = 'block'; clearInterval(fadeInEffect); } }, 50); } }; function validateEmail(email){ if(email.match( \/^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$\/ )) { return true; } return false; } <\/script> \n","protected":false},"excerpt":{"rendered":"<p>OLSZTY\u0143SKI KLUB MOTOROWY im. Mariana Bublewicza Bema Square pl. Bema 2\/1 10-516 Olsztyn tel kom.&nbsp;+48 501 177 440 e-mail: kontakt@okm.org.pl &nbsp; KRS: &nbsp;0000206578&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;NIP: &nbsp;7391311698&nbsp;&nbsp;&nbsp;&nbsp; REGON:&nbsp;&nbsp; 510542410 BNP Paribas Bank Polska SA nr rachunku: 49 1750 0012 0000 0000 3992 3742 &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-53","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.okm.org.pl\/index.php?rest_route=\/wp\/v2\/pages\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.okm.org.pl\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.okm.org.pl\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.okm.org.pl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.okm.org.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":27,"href":"https:\/\/www.okm.org.pl\/index.php?rest_route=\/wp\/v2\/pages\/53\/revisions"}],"predecessor-version":[{"id":14950,"href":"https:\/\/www.okm.org.pl\/index.php?rest_route=\/wp\/v2\/pages\/53\/revisions\/14950"}],"wp:attachment":[{"href":"https:\/\/www.okm.org.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}