{"id":1418,"date":"2022-04-20T12:08:21","date_gmt":"2022-04-20T10:08:21","guid":{"rendered":"https:\/\/la-revolution-therapie.universcghe.fr\/eveil-de-conscience\/?page_id=1418"},"modified":"2022-04-20T17:19:32","modified_gmt":"2022-04-20T15:19:32","slug":"vos-anges","status":"publish","type":"page","link":"https:\/\/la-revolution-therapie.universcghe.fr\/eveil-de-conscience\/vos-anges\/","title":{"rendered":"Vos anges"},"content":{"rendered":"<div style=\"font-size: 1.5em; text-align: center;\"><form name=\"contact-form2\" id=\"contact-form2\" action=\"\/eveil-de-conscience\/wp-json\/wp\/v2\/pages\/1418\" method=\"post\" enctype=\"multipart\/form-data\" onsubmit=\"return validate_contact_form2(this);\">\r\n\r\n<p style=\"margin-top: 0.5em;\"><label style=\"cursor: pointer;\"><strong style=\"color: #004080; margin-top: 0.5em;\">Votre jour de naissance :<\/strong><br \/>\r\n<input name=\"contact_form2_custom_field_birthday\" id=\"contact_form2_custom_field_birthday\" size=\"5\" style=\"font-size: 1.5em; margin-top: 0.5em; text-align: center;\" placeholder=\"JJ\/MM\" onblur=\"this.value = anges_format_day(this.value);\" onkeyup=\"anges_birthday_onkeyup();\" type=\"text\" \/><br \/><span style=\"color: #808080;\"><em>Exemple : 25\/12<\/em><\/span><br \/>\r\n<span id=\"contact_form2_custom_field_birthday_error\" style=\"display: none; color: #c00000;\" class=\"error\"><\/span><\/label><\/p>\r\n\r\n<div id=\"anges-last-fields\" style=\"display: none;\">\r\n<p style=\"margin-top: 0.5em;\"><label style=\"cursor: pointer;\"><strong style=\"color: #004080; margin-top: 0.5em;\">Votre heure de naissance (seulement si vous la connaissez) :<\/strong><br \/>\r\n<input name=\"contact_form2_custom_field_birthtime\" id=\"contact_form2_custom_field_birthtime\" size=\"5\" style=\"font-size: 1.5em; margin-top: 0.5em; text-align: center;\" placeholder=\"HH:MM\" onblur=\"this.value = anges_format_time(this.value);\" onkeyup=\"anges_birthtime_onkeyup();\" type=\"text\" \/><br \/><span style=\"color: #008000;\"><em>C'est la derni\u00e8re information de ce formulaire. Avec juste votre jour de naissance, vous pourrez d\u00e9couvrir 2 de vos anges.<\/em> \ud83d\ude42 <\/span><br \/>\r\n<span id=\"contact_form2_custom_field_birthtime_error\" style=\"display: none; color: #c00000;\" class=\"error\"><\/span><\/label><\/p>\r\n<\/div>\r\n\r\n<div style=\"margin: 1em 0;\"><input name=\"contact_form2_submit\" id=\"contact_form2_submit\" class=\"kleor\" style=\"background-color: #ffcc00; border: none; border-radius: 1.25em; box-shadow: none; color: #ffffff; cursor: pointer; font-size: 1.25em; font-weight: bold; height: 2.5em; line-height: 2.5; margin: 0; opacity: 1; padding: 0 1em;\" onmouseover=\"this.style.backgroundColor = '#00a000';\" onmouseout=\"this.style.backgroundColor = '#ffcc00';\" formnovalidate=\"formnovalidate\" value=\"Cliquez ici pour d\u00e9couvrir vos 3 anges\" type=\"submit\" \/><\/div>\r\n<script>\r\ndocument.getElementById('contact_form2_custom_field_birthday').setAttribute('data-value', '');\r\nfunction anges_format_day(string) {\r\nstring = string.replace(\/[\u00e0]\/g, '0');\r\nstring = string.replace(\/[&]\/g, '1');\r\nstring = string.replace(\/[\u00e9]\/g, '2');\r\nstring = string.replace(\/[\"]\/g, '3');\r\nstring = string.replace(\/[']\/g, '4');\r\nstring = string.replace(\/[(]\/g, '5');\r\nstring = string.replace(\/[-]\/g, '6');\r\nstring = string.replace(\/[\u00e8]\/g, '7');\r\nstring = string.replace(\/[_]\/g, '8');\r\nstring = string.replace(\/[\u00e7]\/g, '9');\r\nstring = string.replace(\/[:]\/g, '\/');\r\nstring = string.replace(\/[^0-9\/]\/g, '');\r\nif (string.length == 2) { string += '\/'; }\r\nwhile (string.indexOf('\/\/') >= 0) { string = string.replace('\/\/', '\/'); }\r\nstring = string.substring(0, 5);\r\nif (string.substring(1, 2) == '\/') { string = '0'+string; }\r\nfor (i = 2; i <= 9; i++) { string = string.replace('\/'+i, '\/0'+i); }\r\nreturn string; }\r\ndocument.getElementById('contact_form2_custom_field_birthtime').setAttribute('data-value', '');\r\nfunction anges_format_time(string) {\r\nstring = string.replace(\/[\u00e0]\/g, '0');\r\nstring = string.replace(\/[&]\/g, '1');\r\nstring = string.replace(\/[\u00e9]\/g, '2');\r\nstring = string.replace(\/[\"]\/g, '3');\r\nstring = string.replace(\/[']\/g, '4');\r\nstring = string.replace(\/[(]\/g, '5');\r\nstring = string.replace(\/[-]\/g, '6');\r\nstring = string.replace(\/[\u00e8]\/g, '7');\r\nstring = string.replace(\/[_]\/g, '8');\r\nstring = string.replace(\/[\u00e7]\/g, '9');\r\nstring = string.replace(\/[\/]\/g, ':');\r\nstring = string.replace(\/[^0-9:]\/g, '');\r\nif (string.length == 2) { string += ':'; }\r\nwhile (string.indexOf('::') >= 0) { string = string.replace('::', ':'); }\r\nstring = string.substring(0, 5);\r\nif (string.substring(1, 2) == ':') { string = '0'+string; }\r\nfor (i = 6; i <= 9; i++) { string = string.replace(':'+i, ':0'+i); }\r\nreturn string; }\r\nfunction anges_birthday_onkeyup() {\r\nvar element = document.getElementById('contact_form2_custom_field_birthday');\r\nif (element.value.length > element.getAttribute('data-value').length) { element.value = anges_format_day(element.value); }\r\nelement.setAttribute('data-value', element.value);\r\nif (element.value.length == 5) { document.getElementById('anges-last-fields').style.display = 'block'; setTimeout(function() {document.getElementById('contact_form2_custom_field_birthtime').focus();}, 100); } }\r\nfunction anges_birthtime_onkeyup() {\r\nvar element = document.getElementById('contact_form2_custom_field_birthtime');\r\nif (element.value.length > element.getAttribute('data-value').length) { element.value = anges_format_time(element.value); } element.setAttribute('data-value', element.value); }\r\n<\/script><div style=\"display: none;\"><input type=\"hidden\" name=\"referring_url\" value=\"\" \/><input type=\"hidden\" name=\"contact_form2_submit\" value=\"yes\" \/><\/div><\/form><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-template-blank.php","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-1418","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/la-revolution-therapie.universcghe.fr\/eveil-de-conscience\/wp-json\/wp\/v2\/pages\/1418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/la-revolution-therapie.universcghe.fr\/eveil-de-conscience\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/la-revolution-therapie.universcghe.fr\/eveil-de-conscience\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/la-revolution-therapie.universcghe.fr\/eveil-de-conscience\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/la-revolution-therapie.universcghe.fr\/eveil-de-conscience\/wp-json\/wp\/v2\/comments?post=1418"}],"version-history":[{"count":0,"href":"https:\/\/la-revolution-therapie.universcghe.fr\/eveil-de-conscience\/wp-json\/wp\/v2\/pages\/1418\/revisions"}],"wp:attachment":[{"href":"https:\/\/la-revolution-therapie.universcghe.fr\/eveil-de-conscience\/wp-json\/wp\/v2\/media?parent=1418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}