{"id":759,"date":"2024-07-11T11:53:54","date_gmt":"2024-07-11T11:53:54","guid":{"rendered":"https:\/\/ourdigitalvillage.erasmus.site\/?page_id=759"},"modified":"2024-09-11T10:10:12","modified_gmt":"2024-09-11T08:10:12","slug":"oid","status":"publish","type":"page","link":"https:\/\/ourdigitalvillage.erasmus.site\/el\/oid\/","title":{"rendered":"Online info-desk"},"content":{"rendered":"    <div id=\"clf-form-container\" class=\"container\">\n        <h1 style=\"text-align: center; margin-top: 30px;\">Online \u039a\u03ad\u03bd\u03c4\u03c1\u03bf \u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03b9\u03ce\u03bd \u03ba\u03b1\u03b9 \u03c5\u03c0\u03bf\u03c3\u03c4\u03ae\u03c1\u03b9\u03be\u03b7\u03c2<\/h1>\n        <h4 style=\"text-align: center;\" >\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03bf\u03cd\u03bc\u03b5 \u03c3\u03c5\u03bc\u03c0\u03bb\u03b7\u03c1\u03ce\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b5\u03bd \u03bb\u03cc\u03b3\u03c9 \u03c6\u03cc\u03c1\u03bc\u03b1 \u03b1\u03bd \u03b1\u03bd\u03c4\u03b9\u03bc\u03b5\u03c4\u03c9\u03c0\u03af\u03c3\u03b1\u03c4\u03b5 \u03c0\u03c1\u03bf\u03b2\u03bb\u03ae\u03bc\u03b1\u03c4\u03b1 \u03ae \u03b1\u03bd\u03b7\u03c3\u03c5\u03c7\u03af\u03b5\u03c2 \u03c3\u03c7\u03b5\u03c4\u03b9\u03ba\u03ac \u03bc\u03b5 \u03c4\u03b7\u03bd \u03c4\u03b5\u03c7\u03bd\u03bf\u03bb\u03bf\u03b3\u03af\u03b1.<\/h4>\n        <form id=\"clf-form\" method=\"post\" class=\"my-4 p-4 bg-light\">\n            <h2 class=\"text-lg font-bold mb-4\">\u03a0\u03a1\u039f\u03a3\u03a9\u03a0\u0399\u039a\u0391 \u03a3\u03a4\u039f\u0399\u03a7\u0395\u0399\u0391<\/h2>\n            <div class=\"mb-3\">\n                <label for=\"name\" class=\"form-label\">\u038c\u03bd\u03bf\u03bc\u03b1<\/label>\n                <input type=\"text\" name=\"name\" id=\"name\" required class=\"form-control\">\n            <\/div>\n            <div class=\"mb-3\">\n                <label for=\"email\" class=\"form-label\">\u0395\u03c0\u03af\u03b8\u03b5\u03c4\u03bf<\/label>\n                <input type=\"email\" name=\"email\" id=\"email\" required class=\"form-control\">\n            <\/div>\n            <div class=\"mb-3\">\n                <label for=\"country\" class=\"form-label\">\u03a7\u03ce\u03c1\u03b1<\/label>\n                <select name=\"country\" id=\"country\" required class=\"form-control\">\n                    <option value=\"\">\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03b7 \u03c7\u03ce\u03c1\u03b1 \u03c3\u03b1\u03c2<\/option>\n                    <option value=\"Italy\">\u0399\u03c4\u03b1\u03bb\u03af\u03b1<\/option>\n                    <option value=\"Austria\">\u0391\u03c5\u03c3\u03c4\u03c1\u03af\u03b1<\/option>\n                    <option value=\"Greece\">\u0395\u03bb\u03bb\u03ac\u03b4\u03b1<\/option>\n                    <option value=\"Poland\">\u03a0\u03bf\u03bb\u03c9\u03bd\u03af\u03b1<\/option>\n                    <option value=\"Cyprus\">\u039a\u03cd\u03c0\u03c1\u03bf\u03c2<\/option>\n                    <option value=\"Romania\">\u03a1\u03bf\u03c5\u03bc\u03b1\u03bd\u03af\u03b1<\/option>\n                    <option value=\"Portugal\">\u03a0\u03bf\u03c1\u03c4\u03bf\u03b3\u03b1\u03bb\u03af\u03b1<\/option>\n                    <option value=\"Belgium\">\u0392\u03ad\u03bb\u03b3\u03b9\u03bf<\/option>\n                    <option value=\"Other\">\u0386\u03bb\u03bb\u03b1<\/option>\n                    <!-- Dodaj inne kraje zgodnie z potrzebami -->\n                <\/select>\n            <\/div>\n            <div class=\"mb-3\">\n                <label for=\"member\" class=\"form-label\">\u0395\u03af\u03c3\u03c4\u03b5 \u03bc\u03ad\u03bb\u03bf\u03c2 \u03c4\u03b7\u03c2 \u03ba\u03bf\u03b9\u03bd\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u03c4\u03bf\u03c5 \u03ad\u03c1\u03b3\u03bf\u03c5 Our Digital Village;<\/label>\n                <select name=\"member\" id=\"member\" required class=\"form-control\">\n                    <option value=\"\">\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5<\/option>\n                    <option value=\"yes\">\u039d\u03b1\u03b9<\/option>\n                    <option value=\"no\">\u038c\u03c7\u03b9<\/option>\n                <\/select>\n            <\/div>\n            <div class=\"mb-3\">\n                <label for=\"community\" class=\"form-label\">\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03b7\u03bd \u03ba\u03bf\u03b9\u03bd\u03cc\u03c4\u03b7\u03c4\u03ac \u03c3\u03b1\u03c2<\/label>\n                <select name=\"community\" id=\"community\" class=\"form-control\">\n                    <!-- dodawane dynamicznie przez JavaScript -->\n                <\/select>\n            <\/div>\n            <h2 class=\"text-lg font-bold mb-4\">\u03a6\u038e\u03a3\u0397 \u03a4\u039f\u03a5 \u03a0\u03a1\u039f\u0392\u039b\u0389\u039c\u0391\u03a4\u039f\u03a3 \u0389 \u03a4\u0397\u03a3 \u0391\u039d\u0397\u03a3\u03a5\u03a7\u038a\u0391\u03a3<\/h2>\n            <div class=\"mb-3\">\n                <label for=\"problem_detail\" class=\"form-label\">\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03ac\u03c8\u03c4\u03b5 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03b5\u03c1\u03ce\u03c2 \u03c4\u03bf \u03c0\u03c1\u03cc\u03b2\u03bb\u03b7\u03bc\u03b1 \u03ae \u03c4\u03b7\u03bd \u03b1\u03bd\u03b7\u03c3\u03c5\u03c7\u03af\u03b1:<\/label>\n                <textarea name=\"problem_detail\" id=\"problem_detail\" required class=\"form-control\"><\/textarea>\n            <\/div>\n            <h2 class=\"text-lg font-bold mb-4\">\u03a0\u03a1\u038c\u03a3\u0398\u0395\u03a4\u0391 \u03a3\u03a7\u038c\u039b\u0399\u0391<\/h2>\n            <div class=\"mb-3\">\n                <label for=\"additional_support\" class=\"form-label\">\u03a0\u03bf\u03b9\u03b1 \u03c0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c4\u03b7 \u03c5\u03c0\u03bf\u03c3\u03c4\u03ae\u03c1\u03b9\u03be\u03b7 \u03b8\u03b1 \u03c3\u03b1\u03c2 \u03b2\u03bf\u03b7\u03b8\u03bf\u03cd\u03c3\u03b5; (\u03c0\u03c1\u03bf\u03b1\u03b9\u03c1\u03b5\u03c4\u03b9\u03ba\u03ac)<\/label>\n                <textarea name=\"additional_support\" id=\"additional_support\" class=\"form-control\"><\/textarea>\n            <\/div>\n            <div class=\"mb-3\">\n                <label for=\"additional_comments\" class=\"form-label\">\u0395\u03ac\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03c3\u03c5\u03bc\u03bc\u03b5\u03c4\u03ac\u03c3\u03c7\u03b5\u03b9 \u03c3\u03c4\u03b1 \u03bc\u03b1\u03b8\u03ae\u03bc\u03b1\u03c4\u03b1 \u03a4\u03a0\u0395 \u03bc\u03b1\u03c2, \u03ad\u03c7\u03b5\u03c4\u03b5 \u03c0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c4\u03b1 \u03c3\u03c7\u03cc\u03bb\u03b9\u03b1 \u03ae \u03c0\u03c1\u03bf\u03c4\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03bc\u03b1\u03c2 \u03b2\u03bf\u03b7\u03b8\u03ae\u03c3\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03b1 \u03b2\u03b5\u03bb\u03c4\u03b9\u03ce\u03c3\u03bf\u03c5\u03bc\u03b5;<\/label>\n                <textarea name=\"additional_comments\" id=\"additional_comments\" required class=\"form-control\"><\/textarea>\n            <\/div>\n            <div class=\"mb-3\">\n    <label class=\"form-label\">Please rate the form:<\/label>\n    <div class=\"form-check\">\n        <input class=\"form-check-input\" type=\"radio\" name=\"rating\" id=\"rating1\" value=\"1\" required>\n        <label class=\"form-check-label\" for=\"rating1\">1<\/label>\n    <\/div>\n    <div class=\"form-check\">\n        <input class=\"form-check-input\" type=\"radio\" name=\"rating\" id=\"rating2\" value=\"2\">\n        <label class=\"form-check-label\" for=\"rating2\">2<\/label>\n    <\/div>\n    <div class=\"form-check\">\n        <input class=\"form-check-input\" type=\"radio\" name=\"rating\" id=\"rating3\" value=\"3\">\n        <label class=\"form-check-label\" for=\"rating3\">3<\/label>\n    <\/div>\n    <div class=\"form-check\">\n        <input class=\"form-check-input\" type=\"radio\" name=\"rating\" id=\"rating4\" value=\"4\">\n        <label class=\"form-check-label\" for=\"rating4\">4<\/label>\n    <\/div>\n    <div class=\"form-check\">\n        <input class=\"form-check-input\" type=\"radio\" name=\"rating\" id=\"rating5\" value=\"5\">\n        <label class=\"form-check-label\" for=\"rating5\">5<\/label>\n    <\/div>\n<\/div>\n            <div class=\"mb-3\">\n                <label class=\"form-check-label\" for=\"privacy_policy\">\n                    <input class=\"form-check-input\" type=\"checkbox\" name=\"privacy_policy\" id=\"privacy_policy\" required>\n                    \u0391\u03c0\u03bf\u03b4\u03ad\u03c7\u03bf\u03bc\u03b1\u03b9 \u03c4\u03b7\u03bd                    <a href=\"https:\/\/ourdigitalvillage.erasmus.site\/privacy-policy\/\" target=\"_blank\">\u03a0\u03bf\u03bb\u03b9\u03c4\u03b9\u03ba\u03ae \u0391\u03c0\u03bf\u03c1\u03c1\u03ae\u03c4\u03bf\u03c5<\/a>\n                <\/label>\n            <\/div>\n            <div>\n                <input type=\"submit\" name=\"submit_form\" value=\"\u03a3\u03c4\u03b5\u03af\u03bb\u03c4\u03b5 \u03c4\u03bf \u03bc\u03ae\u03bd\u03c5\u03bc\u03ac \u03c3\u03b1\u03c2\" class=\"btn btn-primary\">\n            <\/div>\n        <\/form>\n        <div id=\"clf-form-message\" class=\"mt-4\"><\/div>\n    <\/div>\n\n    <!-- Modal Bootstrap -->\n    <div class=\"modal fade\" id=\"clfFormModal\" tabindex=\"-1\" aria-labelledby=\"clfFormModalLabel\" aria-hidden=\"true\">\n        <div class=\"modal-dialog\">\n            <div class=\"modal-content\">\n                <div class=\"modal-header\">\n                    <h5 class=\"modal-title\" id=\"clfFormModalLabel\">\u03a3\u03b1\u03c2 \u03b5\u03c5\u03c7\u03b1\u03c1\u03b9\u03c3\u03c4\u03bf\u03cd\u03bc\u03b5!<\/h5>\n                    <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"><\/button>\n                <\/div>\n                <div class=\"modal-body\">\n                    \u03a3\u03b1\u03c2 \u03b5\u03c5\u03c7\u03b1\u03c1\u03b9\u03c3\u03c4\u03bf\u03cd\u03bc\u03b5 \u03b3\u03b9\u03b1 \u03c4\u03b1 \u03c3\u03c7\u03cc\u03bb\u03b9\u03ac \u03c3\u03b1\u03c2. \u0388\u03bd\u03b1 \u03bc\u03ad\u03bb\u03bf\u03c2 \u03c4\u03b7\u03c2 \u03bf\u03bc\u03ac\u03b4\u03b1\u03c2 \u03bc\u03b1\u03c2 \u03b8\u03b1 \u03b5\u03be\u03b5\u03c4\u03ac\u03c3\u03b5\u03b9 \u03c4\u03b9\u03c2 \u03b5\u03c1\u03c9\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 \u03c3\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b8\u03b1 \u03c3\u03b1\u03c2 \u03b1\u03c0\u03b1\u03bd\u03c4\u03ae\u03c3\u03b5\u03b9 \u03b1\u03bc\u03ad\u03c3\u03c9\u03c2. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03bf\u03cd\u03bc\u03b5 \u03bd\u03b1 \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b1\u03c0\u03ac\u03bd\u03c4\u03b7\u03c3\u03b7 \u03bc\u03b1\u03c2 \u03c3\u03c4\u03bf email \u03c3\u03b1\u03c2.                <\/div>\n                <div class=\"modal-footer\">\n                    <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">\u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf<\/button>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <script type=\"text\/javascript\">\n    jQuery(document).ready(function($) {\n        var globalCommunities = [\n            'Municipality of Salemi and Gibellina',\n            'Municipality of Dionysos',\n            '1st General Lyceum of Glyka Nera',\n            '1st General Lyceum of Markopoulo',\n            'Senior High School of Kapandriti',\n            '8th High School of Acharnon',\n            '2nd Gymnasium in Malounta Grammar school',\n            'RARR',\n            'Zesp\u00f3\u0142 szk\u00f3\u0142 im. ks. dra Jana Zwierza w Ropczycach',\n            'Secondary School \"Dimitrie P\u0103curariu\" \u0218cheia',\n            'Commune Stulpicani',\n            'Secondary School Berchisesti',\n            'Oltea Doamna',\n            'Technological High School Dolhasca',\n            'Secondary School Gemenea',\n            'Manteigas Digital (Municipality, School Cluster, VET school, association AFACIDASE, Geopark)',\n        ];\n\n        function updateCommunitySelect() {\n            var $communitySelect = $('#community');\n            var isMember = $('#member').val() === 'yes';\n\n            $communitySelect.empty();\n\n            if (isMember) {\n                \/\/ Pokazujemy wszystkie wsp\u00f3lnoty\n                $.each(globalCommunities, function(index, community) {\n                    $communitySelect.append($('<option>', {\n                        value: community,\n                        text: community\n                    }));\n                });\n                $communitySelect.prop('disabled', false);\n            } else {\n                \/\/ Wy\u0142\u0105czamy list\u0119 i pokazujemy opcj\u0119 'not applicable'\n                $communitySelect.prop('disabled', true).append($('<option>', {\n                    value: 'not applicable',\n                    text: '\u0394\u03b5\u03bd \u03b9\u03c3\u03c7\u03cd\u03b5\u03b9'\n                }));\n            }\n        }\n\n        $('#member').on('change', function() {\n            updateCommunitySelect();\n        });\n\n        $('#clf-form').on('submit', function(e) {\n            e.preventDefault();\n\n            if (!$('#privacy_policy').prop('checked')) {\n                $('#clf-form-message').html('<p class=\"text-danger\">\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03bf\u03cd\u03bc\u03b5 \u03b1\u03c0\u03bf\u03b4\u03b5\u03c7\u03c4\u03b5\u03af\u03c4\u03b5 \u03c4\u03b7\u03bd \u03a0\u03bf\u03bb\u03b9\u03c4\u03b9\u03ba\u03ae \u0391\u03c0\u03bf\u03c1\u03c1\u03ae\u03c4\u03bf\u03c5.<\/p>');\n                return;\n            }\n\n            var formData = $(this).serialize();\n            \n            $.ajax({\n                type: 'POST',\n                url: 'https:\/\/ourdigitalvillage.erasmus.site\/wp-admin\/admin-ajax.php',\n                data: formData + '&action=clf_handle_form_submission',\n                success: function(response) {\n                    $('#clf-form-message').html(response);\n                    $('#clf-form')[0].reset();\n                },\n                error: function(xhr, status, error) {\n                    console.error(xhr.responseText);\n                    $('#clf-form-message').html('<p class=\"text-danger\">\u03a0\u03c1\u03bf\u03ad\u03ba\u03c5\u03c8\u03b5 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03ba\u03b1\u03c4\u03ac \u03c4\u03b7\u03bd \u03c5\u03c0\u03bf\u03b2\u03bf\u03bb\u03ae \u03c4\u03b7\u03c2 \u03c6\u03cc\u03c1\u03bc\u03b1\u03c2.<\/p>');\n                }\n            });\n        });\n\n        \/\/ Inicjalna aktualizacja stanu wsp\u00f3lnot\n        updateCommunitySelect();\n    });\n<\/script>\n\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"off","neve_meta_content_width":100,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"on","footnotes":""},"class_list":["post-759","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ourdigitalvillage.erasmus.site\/el\/wp-json\/wp\/v2\/pages\/759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ourdigitalvillage.erasmus.site\/el\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ourdigitalvillage.erasmus.site\/el\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ourdigitalvillage.erasmus.site\/el\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ourdigitalvillage.erasmus.site\/el\/wp-json\/wp\/v2\/comments?post=759"}],"version-history":[{"count":4,"href":"https:\/\/ourdigitalvillage.erasmus.site\/el\/wp-json\/wp\/v2\/pages\/759\/revisions"}],"predecessor-version":[{"id":782,"href":"https:\/\/ourdigitalvillage.erasmus.site\/el\/wp-json\/wp\/v2\/pages\/759\/revisions\/782"}],"wp:attachment":[{"href":"https:\/\/ourdigitalvillage.erasmus.site\/el\/wp-json\/wp\/v2\/media?parent=759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}