{"id":184,"date":"2015-02-28T10:18:51","date_gmt":"2015-02-28T10:18:51","guid":{"rendered":"http:\/\/www.mariem-art.com\/?page_id=184"},"modified":"2015-02-28T10:23:36","modified_gmt":"2015-02-28T10:23:36","slug":"contact-2","status":"publish","type":"page","link":"https:\/\/www.mariem-art.com\/?page_id=184","title":{"rendered":"Contact"},"content":{"rendered":"        <script type=\"text\/javascript\">\n         function cp_contactformtoemail_pform_doValidate_1(form)\n         {\n            document.cp_contactformtoemail_pform_1.cp_ref_page.value = document.location;\n            $dexQuery = jQuery.noConflict();            if (document.cp_contactformtoemail_pform_1.hdcaptcha_cp_contactformtoemail_post.value == '') { setTimeout( \"cp_contactformtoemail_cerror_1()\", 100); return false; }\n            var result = $dexQuery.ajax({ type: \"GET\", url: \"\/?ps=_1&cp_contactformtoemail_pform_process=2&cp_contactformtoemail_id=1&inAdmin=1&ps=_1&hdcaptcha_cp_contactformtoemail_post=\"+document.cp_contactformtoemail_pform_1.hdcaptcha_cp_contactformtoemail_post.value, async: false }).responseText;\n            if (result.indexOf(\"captchafailed\") != -1) {\n                $dexQuery(\"#captchaimg_1\").attr('src', $dexQuery(\"#captchaimg_1\").attr('src')+'&'+Math.floor((Math.random() * 99999) + 1));\n                setTimeout( \"cp_contactformtoemail_cerror_1()\", 100);\n                return false;\n            } else             {\n                var cpefb_error = 0;\n                $dexQuery(\"#cp_contactformtoemail_pform_1\").find(\".cpefb_error\").each(function(index){\n                    if ($dexQuery(this).css(\"display\")!=\"none\")\n                        cpefb_error++;\n                    });\n                if (cpefb_error) return false;\n                if (document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value != '0')\n                           return false;\n                document.getElementById(\"refpage_1\").value = document.location;\n                cfte_blink(\".pbSubmit\");\n                document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value = '2';document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value = '1';\n                       (function cfteDoAjaxSubmit(retried) {\n                         var $form = $dexQuery(\"#cp_contactformtoemail_pform_1\");\n                         $form.find(\".cfte_submit_error\").remove();\n                         function resetSubmitUi() {\n                             document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value = '0';\n                             $form.find(\".pbSubmit\").stop(true, true).css('opacity', 1).show();\n                         }\n                         function showSubmitError(errText) {\n                             resetSubmitUi();\n                             var $err = $dexQuery(document.createElement('div'))\n                                 .addClass('cfte_submit_error')\n                                 .attr('role', 'alert')\n                                 .text(errText);\n                             $form.prepend($err);\n                         }\n                         $dexQuery.ajax({\n                           type: \"POST\",\n                           url: '',\n                           data: $form.serialize(),\n                           success: function(data)\n                           {\n                               var resp = (typeof data === 'string') ? $dexQuery.trim(data.replace(\/^\\uFEFF\/, '')) : '';\n                               var isOk = false;\n                               if (resp === 'OK')\n                               {\n                                   isOk = true;\n                               }\n                               else if (Math.floor(resp.length \/ 1500) === 0)\n                               {\n                                   if (!\/\\x3chtml|\\x3c!doctype\/i.test(resp))\n                                   {\n                                       if (\/(?:\\r?\\n|\\x3cbr\\s*\\\/?\\x3e|\\s)OK$\/.test(resp))\n                                       {\n                                           isOk = true;\n                                       }\n                                   }\n                               }\n                               if (isOk)\n                               {\n                                   resetSubmitUi();\n                                                                          document.getElementById('cp_contactformtoemail_pform_1').innerHTML ='<a id=\"cftejump\"><\/a>Your message has been successfully sent.';\n                                       var tag = $dexQuery(\"#cftejump\");\n                                       $dexQuery('html,body').animate({scrollTop: tag.offset().top-60},'fast');\n                                                                    }\n                               else if (resp === 'captchafailed')\n                               {\n                                   resetSubmitUi();\n                                   var $cimg = $dexQuery(\"#captchaimg_1\");\n                                   if ($cimg.length) {\n                                       $cimg.attr('src', $cimg.attr('src') + '\\x26' + Math.floor((Math.random() * 99999) + 1));\n                                   }\n                                   setTimeout(\"cp_contactformtoemail_cerror_1()\", 100);\n                               }\n                               else if (resp.indexOf('Nonce not detected') !== -1)\n                               {\n                                   if (!retried)\n                                   {\n                                       $dexQuery.ajax({\n                                           type: \"POST\",\n                                           url: 'https:\/\/www.mariem-art.com\/wp-admin\/admin-ajax.php',\n                                           data: { action: 'cfte_get_nonce' },\n                                           dataType: 'json',\n                                           success: function(nresp) {\n                                               var freshNonce = '';\n                                               if (nresp) {\n                                                   if (nresp.success) {\n                                                       if (nresp.data) {\n                                                           if (nresp.data.nonce) {\n                                                               freshNonce = nresp.data.nonce;\n                                                           }\n                                                       }\n                                                   }\n                                               }\n                                               if (freshNonce !== '') {\n                                                   var $nonceInput = $form.find('input[name=\"anonce\"]');\n                                                   if ($nonceInput.length) {\n                                                       $nonceInput.val(freshNonce);\n                                                       cfteDoAjaxSubmit(true);\n                                                       return;\n                                                   }\n                                               }\n                                               showSubmitError('Your session has expired. Please reload the page and try again.');\n                                           },\n                                           error: function() {\n                                               showSubmitError('Your session has expired. Please reload the page and try again.');\n                                           }\n                                       });\n                                   }\n                                   else\n                                   {\n                                       showSubmitError('Your session has expired. Please reload the page and try again.');\n                                   }\n                               }\n                               else\n                               {\n                                   var fallbackErr = 'There was an error sending your message. Please reload the page and try again.';\n                                   var isHtml = (resp === '' || Math.floor(resp.length \/ 401) !== 0 || \/\\x3c[a-z][\\s\\S]*\\x3e\/i.test(resp));\n                                   showSubmitError(isHtml ? fallbackErr : resp);\n                               }\n                           },\n                           error: function()\n                           {\n                               showSubmitError('Could not submit the form due to a server or network error. Please try again.');\n                           }\n                         });\n                       })(false);\n                       return false;\n                                }\n         }\n         function cfte_blink(selector){\n                 try {\n                     $dexQuery = jQuery.noConflict();\n                     $dexQuery(selector).fadeOut(700, function(){\n                         $dexQuery(this).fadeIn(700, function(){\n                             try {\n                                 if (document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value != '0')\n                                     cfte_blink(this);\n                             } catch (e) {}\n                         });\n                     });\n                 } catch (e) {}\n         }\n         function cp_contactformtoemail_cerror_1(){$dexQuery = jQuery.noConflict();$dexQuery(\"#hdcaptcha_error_1\").css('top',$dexQuery(\"#hdcaptcha_cp_contactformtoemail_post_1\").outerHeight());$dexQuery(\"#hdcaptcha_error_1\").css(\"display\",\"inline\");}\n        <\/script>\n        <div id=\"cftedialog\" style=\"display:none;\">Thank you.<\/div>\n        <form class=\"cpp_form no-prefetch\" name=\"cp_contactformtoemail_pform_1\" id=\"cp_contactformtoemail_pform_1\" action=\"\/?ahbnocache=226903\" method=\"post\" enctype=\"multipart\/form-data\" onsubmit=\"return cp_contactformtoemail_pform_doValidate_1(this);\"><input type=\"hidden\" name=\"cp_pform_psequence\" value=\"_1\" \/><input type=\"hidden\" name=\"cp_contactformtoemail_pform_process\" value=\"1\" \/><input type=\"hidden\" name=\"cp_contactformtoemail_id\" value=\"1\" \/><input type=\"hidden\" name=\"cp_ref_page\" value=\"\" \/><input type=\"hidden\" name=\"form_structure_1\" id=\"form_structure_1\" size=\"180\" value=\"[[{&quot;name&quot;:&quot;email&quot;,&quot;index&quot;:0,&quot;title&quot;:&quot;E-Mail&quot;,&quot;ftype&quot;:&quot;femail&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;required&quot;:true,&quot;predefined&quot;:&quot;&quot;,&quot;size&quot;:&quot;medium&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:&quot;&quot;,&quot;predefinedClick&quot;:false,&quot;equalTo&quot;:&quot;&quot;},{&quot;name&quot;:&quot;subject&quot;,&quot;index&quot;:1,&quot;title&quot;:&quot;Objet&quot;,&quot;required&quot;:true,&quot;ftype&quot;:&quot;ftext&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;size&quot;:&quot;medium&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:&quot;&quot;,&quot;predefinedClick&quot;:false,&quot;minlength&quot;:&quot;&quot;,&quot;maxlength&quot;:&quot;&quot;,&quot;equalTo&quot;:&quot;&quot;},{&quot;name&quot;:&quot;message&quot;,&quot;index&quot;:2,&quot;size&quot;:&quot;large&quot;,&quot;required&quot;:true,&quot;title&quot;:&quot;Message&quot;,&quot;ftype&quot;:&quot;ftextarea&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:&quot;&quot;,&quot;predefinedClick&quot;:false,&quot;minlength&quot;:&quot;&quot;,&quot;maxlength&quot;:&quot;&quot;}],[{&quot;title&quot;:&quot;Contact Form&quot;,&quot;description&quot;:&quot;&quot;,&quot;formlayout&quot;:&quot;top_aligned&quot;}]]\" \/><input type=\"hidden\" name=\"refpage_1\" id=\"refpage_1\" value=\"\"><input type=\"hidden\" name=\"cp_contactformtoemail_pform_status\" value=\"0\" \/><input name=\"anonce\" type=\"hidden\" value=\"1ebbe3c092\"\/><input name=\"cftehp\" id=\"cftehp_1\" type=\"hidden\" value=\"1\"\/>\n<div id=\"fbuilder\">    \n    <div id=\"fbuilder_1\">\n        <div id=\"formheader_1\"><\/div>\n        <div id=\"fieldlist_1\"><\/div>\n    <\/div>\n<\/div>    \n<div style=\"display:none\">\n<input name=\"cftecontrolmessage\" type=\"text\" value=\"\"\/> \n<div id=\"cpcaptchalayer_1\" class=\"cpcaptchalayer\">\n  <div class=\"cfte-captcha-box\">\n    <div class=\"cfte-captcha-title\">\n      <span class=\"cfte-captcha-icon\" aria-hidden=\"true\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z\"\/><\/svg><\/span>\n      Code de s\u00e9curit\u00e9<span class=\"r\">*<\/span>\n    <\/div>\n    <div class=\"cfte-captcha-body\">\n      <div class=\"cfte-captcha-media\">\n        <img decoding=\"async\" src=\"\/?cp_contactformtoemail_captcha=captcha&#038;ps=_1&#038;inAdmin=1&#038;width=180&#038;height=65&#038;letter_count=5&#038;min_size=25&#038;max_size=35&#038;noise=190&#038;noiselength=4&#038;bcolor=ffffff&#038;border=000000&#038;font=font-1.ttf\" id=\"captchaimg_1\" alt=\"Security code\" class=\"skip-lazy cfte-captcha-img\" \/>\n        <button type=\"button\" class=\"cfte-captcha-refresh\" title=\"Refresh security code\" aria-label=\"Refresh security code\" onclick=\"(function(imgId,inpId,errId){var img=document.getElementById(imgId);if(img){var s=img.src.replace(\/([&?])r=\\d+\/g,'').replace(\/&\\d+$\/,'');img.src=s+(s.indexOf('?')===-1?'?':'&')+'r='+Date.now();}var inp=document.getElementById(inpId);if(inp){inp.value='';inp.focus();}var err=document.getElementById(errId);if(err){err.style.display='none';}})('captchaimg_1','hdcaptcha_cp_contactformtoemail_post_1','hdcaptcha_error_1');\">\n          <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><polyline points=\"23 4 23 10 17 10\"\/><polyline points=\"1 20 1 14 7 14\"\/><path d=\"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15\"\/><\/svg>\n        <\/button>\n      <\/div>\n      <div class=\"cfte-captcha-field\">\n        <label class=\"cfte-captcha-prompt\" for=\"hdcaptcha_cp_contactformtoemail_post_1\">Merci d&#039;entrer le code de s\u00e9curit\u00e9:<\/label>\n        <div class=\"dfield cfte-captcha-input-wrap\">\n          <input type=\"text\" class=\"cfte-captcha-input\" size=\"20\" name=\"hdcaptcha_cp_contactformtoemail_post\" id=\"hdcaptcha_cp_contactformtoemail_post_1\" value=\"\" autocomplete=\"off\" oninput=\"var e=document.getElementById('hdcaptcha_error_1');if(e){e.style.display='none';}\" \/>\n          <div class=\"cpefb_error message cfte-captcha-error\" id=\"hdcaptcha_error_1\" generated=\"true\" style=\"display:none;\">Se il vous plait entrer un code captcha valide.<\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/div>\n<\/div>\n<div id=\"cp_subbtn_1\" class=\"cp_subbtn\">Submit<\/div>\n<\/form>\n<script>\ntry{document.getElementById(\"cftehp_1\").value=\"25\";}catch(e){}\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inspiro_hide_title":false,"inspiro_hide_featured_image":false,"footnotes":""},"class_list":["post-184","page","type-page","status-publish","hentry"],"featured_media_urls":[],"_links":{"self":[{"href":"https:\/\/www.mariem-art.com\/index.php?rest_route=\/wp\/v2\/pages\/184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mariem-art.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mariem-art.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mariem-art.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mariem-art.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=184"}],"version-history":[{"count":3,"href":"https:\/\/www.mariem-art.com\/index.php?rest_route=\/wp\/v2\/pages\/184\/revisions"}],"predecessor-version":[{"id":464,"href":"https:\/\/www.mariem-art.com\/index.php?rest_route=\/wp\/v2\/pages\/184\/revisions\/464"}],"wp:attachment":[{"href":"https:\/\/www.mariem-art.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}