{"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\/de\/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-Infostelle<\/h1>\n        <h4 style=\"text-align: center;\" >Bitte f\u00fcllen Sie dieses Formular aus, wenn Sie Probleme oder Anliegen im Zusammenhang mit der Technologie haben.<\/h4>\n        <form id=\"clf-form\" method=\"post\" class=\"my-4 p-4 bg-light\">\n            <h2 class=\"text-lg font-bold mb-4\">PERS\u00d6NLICHE INFORMATIONEN<\/h2>\n            <div class=\"mb-3\">\n                <label for=\"name\" class=\"form-label\">Name<\/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\">E-Mail<\/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\">Land<\/label>\n                <select name=\"country\" id=\"country\" required class=\"form-control\">\n                    <option value=\"\">W\u00e4hlen Sie Ihr Land<\/option>\n                    <option value=\"Italy\">Italien<\/option>\n                    <option value=\"Austria\">\u00d6sterreich<\/option>\n                    <option value=\"Greece\">Griechenland<\/option>\n                    <option value=\"Poland\">Polen<\/option>\n                    <option value=\"Cyprus\">Zypern<\/option>\n                    <option value=\"Romania\">Rum\u00e4nien<\/option>\n                    <option value=\"Portugal\">Portugal<\/option>\n                    <option value=\"Belgium\">Belgien<\/option>\n                    <option value=\"Other\">Andere<\/option>\n                    <!-- Dodaj inne kraje zgodnie z potrzebami -->\n                <\/select>\n            <\/div>\n            <div class=\"mb-3\">\n                <label for=\"member\" class=\"form-label\">Sind Sie Mitglied der Our-Digital-Village-Community?<\/label>\n                <select name=\"member\" id=\"member\" required class=\"form-control\">\n                    <option value=\"\">W\u00e4hlen Sie<\/option>\n                    <option value=\"yes\">Ja<\/option>\n                    <option value=\"no\">Nein<\/option>\n                <\/select>\n            <\/div>\n            <div class=\"mb-3\">\n                <label for=\"community\" class=\"form-label\">W\u00e4hlen Sie Ihre Gemeinde:<\/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\">BESCHREIBUNG DES PROBLEMS ODER ANLIEGENS<\/h2>\n            <div class=\"mb-3\">\n                <label for=\"problem_detail\" class=\"form-label\">Bitte beschreiben Sie das Problem oder Anliegen im Detail:<\/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\">ZUS\u00c4TZLICHES FEEDBACK<\/h2>\n            <div class=\"mb-3\">\n                <label for=\"additional_support\" class=\"form-label\">Was f\u00fcr zus\u00e4tzliche Unterst\u00fctzung w\u00e4re f\u00fcr Sie hilfreich? (optional)<\/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\">Wenn Sie an unseren IKT-Kursen teilgenommen haben, haben Sie zus\u00e4tzliche Kommentare oder Vorschl\u00e4ge, die uns bei deren Verbesserung helfen k\u00f6nnten?<\/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                    Ich akzeptiere die                    <a href=\"https:\/\/ourdigitalvillage.erasmus.site\/privacy-policy\/\" target=\"_blank\">Datenschutzrichtlinien<\/a>\n                <\/label>\n            <\/div>\n            <div>\n                <input type=\"submit\" name=\"submit_form\" value=\"Ihre Nachricht senden\" 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\">Vielen Dank!<\/h5>\n                    <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"><\/button>\n                <\/div>\n                <div class=\"modal-body\">\n                    Vielen Dank f\u00fcr Ihr Feedback. Ein Mitglied unseres Teams wird Ihr Anliegen pr\u00fcfen und Ihnen umgehend antworten. Bitte warten Sie auf unsere Antwort per E-Mail.                <\/div>\n                <div class=\"modal-footer\">\n                    <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">Schlie\u00dfen<\/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: 'nicht zutreffend'\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\">Bitte akzeptieren Sie die Datenschutzrichtlinien.<\/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\">Beim Absenden des Formulars ist ein Fehler aufgetreten.<\/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\/de\/wp-json\/wp\/v2\/pages\/759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ourdigitalvillage.erasmus.site\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ourdigitalvillage.erasmus.site\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ourdigitalvillage.erasmus.site\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ourdigitalvillage.erasmus.site\/de\/wp-json\/wp\/v2\/comments?post=759"}],"version-history":[{"count":4,"href":"https:\/\/ourdigitalvillage.erasmus.site\/de\/wp-json\/wp\/v2\/pages\/759\/revisions"}],"predecessor-version":[{"id":782,"href":"https:\/\/ourdigitalvillage.erasmus.site\/de\/wp-json\/wp\/v2\/pages\/759\/revisions\/782"}],"wp:attachment":[{"href":"https:\/\/ourdigitalvillage.erasmus.site\/de\/wp-json\/wp\/v2\/media?parent=759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}