{"id":6379,"date":"2024-05-01T10:34:16","date_gmt":"2024-05-01T14:34:16","guid":{"rendered":"https:\/\/joinpasi.org\/?page_id=6379"},"modified":"2024-05-07T12:26:09","modified_gmt":"2024-05-07T16:26:09","slug":"inactive_page_senators_7","status":"publish","type":"page","link":"https:\/\/joinpasi.org\/index.php\/inactive_page_senators_7\/","title":{"rendered":"Inactive_Page_Senators_7"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"6379\" class=\"elementor elementor-6379\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ecfbbf1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ecfbbf1\" data-element_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-100 elementor-top-column elementor-element elementor-element-5634489\" data-id=\"5634489\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4166986 elementor-widget elementor-widget-html\" data-id=\"4166986\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"Remaining_Page\" style=\"display:none\">\n    <div id=\"HeaderMessage\">\n        <h1 class=\"english\" style=\"text-align: center; color: black\">\n            <b>\n                The page is inactive, click on the assigned action\n                for a specific day of the calendar. This link <span class=\"willbe\">will be<\/span><span class=\"was\" style=\"display:none\">was<\/span> active <br \/>on May <span class=\"sendday\">2<\/span>, 2024.\n                <span class=\"futurelink\" style=\"display:none\"><br \/>Next day for sending emails will be <br \/>on May <span class=\"activeday\">2<\/span>, 2024.<\/span>\n            <\/b>\n        <\/h1>\n        <h1 class=\"polish\" style=\"text-align: center; color: black; display: none\">\n            <b>\n                Strona jest nieaktywna, kliknij na akcj\u0119 przyporz\u0105dkowan\u0105\n                na konkretny dzie\u0144 kalendarza. Ten link <span class=\"willbe\">b\u0119dzie<\/span><span class=\"was\" style=\"display:none\">by\u0142<\/span> aktywny <br \/><span class=\"sendday\">2<\/span>-go maja 2024 roku.\n                <span class=\"futurelink\" style=\"display:none\"><br \/>Nast\u0119pnym dniem wysy\u0142ki emaili b\u0119dzie <br \/><span class=\"activeday\">2<\/span>-go maja 2024 roku.<\/span>\n            <\/b>\n        <\/h1>\n    <\/div>\n<\/div>\n<div id=\"Past_Action\" style=\"display:none\">\n    <div id=\"PastMessage\">\n        <h1 class=\"english\" style=\"text-align: center; color: black\">\n            <b>\n                The Action of Sending Emails to Senators has been finished.\n            <\/b>\n        <\/h1>\n        <h1 class=\"polish\" style=\"text-align: center; color: black; display: none\">\n            <b>\n                Akcja wysy\u0142ania emaili do Senator\u00f3w zosta\u0142a zako\u0144czona.\n            <\/b>\n        <\/h1>\n    <\/div>\n<\/div>\n<script>var offjoin;\n\n    function getParameterByName(name, url = window.location.href) {\n        name = name.replace(\/[\\[\\]]\/g, '\\\\$&');\n        var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),\n            results = regex.exec(url);\n        if (!results) return null;\n        if (!results[2]) return '';\n        return decodeURIComponent(results[2].replace(\/\\+\/g, ' '));\n    }\n\n    function joinoff() {\n        var navig = jQuery(\".menu-item-633\");\n\n        navig = navig.children().eq(0);\n\n        navig.removeClass(\"elementor-item-active\");\n\n        \/\/clearInterval(offjoin);\n    }\n\n    $(window).load(function () {\n\n        offjoin = setInterval(joinoff, 100);\n\n        const d = new Date();\n        let currentday = d.getDate();\n        let currentmonth = d.getMonth();\n\n        var day = getParameterByName('daynumber'); \/\/ \"daynumber\"\n\n        if (day == 2 || day == 9 || day == 16) {\n            if (currentday < day || (currentmonth == 3 && currentday > day)) {\n                $(\".willbe\").show();\n                $(\".was\").hide();\n            }\n            else {\n                $(\".was\").show();\n                $(\".willbe\").hide();\n                if (currentday < 9) {\n                    $(\".futurelink\").show();\n                    $(\".activeday\").html(9);\n                }\n                else if (currentday < 16) {\n                    $(\".futurelink\").show();\n                    $(\".activeday\").html(16);\n                }\n            }\n\n            $('.sendday').html(day);\n\n            $(\"#Remaining_Page\").show();\n        }\n        else if (day == \"\" || day == null) {\n            if (currentday == 2 || currentday == 9 || currentday == 16) {\n                var wrong_href = location.href;\n                var good_href = wrong_href.replace(\"Inactive_Page_Senators_7\", \"mark_up_senators_7\");\n                if (good_href.indexOf(\"daynumber=\") != -1) {\n                    good_href = good_href.replace(good_href.substr(good_href.indexOf(\"daynumber=\")), \"daynumber=\" + curentday);\n                }\n                else if (good_href.indexOf(\"language\") != -1) {\n                    good_href = good_href + \"&daynumber=\" + curentday;\n                }\n                else {\n                    good_href = good_href + \"?daynumber=\" + curentday;\n                }\n                location.href = good_href;\n            }\n            else {\n                next_page(currentday);\n            }\n        }\n        else {\n            next_page(day);\n        }\n    });\n\n    function next_page(currentday) {\n        if (currentday < 16) {\n            $(\".willbe\").show();\n            $(\".was\").hide();\n            if (currentday < 2) {\n                $('.sendday').html(2);\n            }\n            else if (currentday < 9) {\n                $('.sendday').html(9);\n            }\n            else {\n                $('.sendday').html(16);\n            }\n            $(\"#Remaining_Page\").show();\n        }\n        else if (currentmonth == 4) {\n            $(\"#Past_Action\").show();\n        }\n        else {\n            $(\".willbe\").show();\n            $(\".was\").hide();\n            $('.sendday').html(2);\n        }\n    }<\/script>\n\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\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The page is inactive, click on the assigned action for a specific day of the calendar. This link will bewas active on May 2, 2024. Next day for sending emails will be on May 2, 2024. Strona jest nieaktywna, kliknij na akcj\u0119 przyporz\u0105dkowan\u0105 na konkretny dzie\u0144 kalendarza. Ten link b\u0119dzieby\u0142 aktywny 2-go maja 2024 roku. &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/joinpasi.org\/index.php\/inactive_page_senators_7\/\"> <span class=\"screen-reader-text\">Inactive_Page_Senators_7<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":261,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"_links":{"self":[{"href":"https:\/\/joinpasi.org\/index.php\/wp-json\/wp\/v2\/pages\/6379"}],"collection":[{"href":"https:\/\/joinpasi.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/joinpasi.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/joinpasi.org\/index.php\/wp-json\/wp\/v2\/users\/261"}],"replies":[{"embeddable":true,"href":"https:\/\/joinpasi.org\/index.php\/wp-json\/wp\/v2\/comments?post=6379"}],"version-history":[{"count":5,"href":"https:\/\/joinpasi.org\/index.php\/wp-json\/wp\/v2\/pages\/6379\/revisions"}],"predecessor-version":[{"id":6434,"href":"https:\/\/joinpasi.org\/index.php\/wp-json\/wp\/v2\/pages\/6379\/revisions\/6434"}],"wp:attachment":[{"href":"https:\/\/joinpasi.org\/index.php\/wp-json\/wp\/v2\/media?parent=6379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}