{"id":427,"date":"2025-05-04T10:44:52","date_gmt":"2025-05-04T10:44:52","guid":{"rendered":"https:\/\/samorekand.com\/?page_id=427"},"modified":"2025-05-20T10:03:24","modified_gmt":"2025-05-20T10:03:24","slug":"contact-form-2","status":"publish","type":"page","link":"https:\/\/samorekand.com\/?page_id=427","title":{"rendered":""},"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();            {\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                                 .css({\n                                     margin: '10px 0',\n                                     padding: '10px 14px',\n                                     border: '1px solid #dc3232',\n                                     background: '#fef2f2',\n                                     color: '#991b1b',\n                                     borderRadius: '4px'\n                                 })\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 sent. Thank you!';\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:\/\/samorekand.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;\">Your message has been sent. Thank you!<\/div>\n        <form class=\"cpp_form no-prefetch\" name=\"cp_contactformtoemail_pform_1\" id=\"cp_contactformtoemail_pform_1\" action=\"\/?ahbnocache=830661\" 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;Email&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;Subject&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;name&quot;:&quot;fieldname1&quot;,&quot;index&quot;:3,&quot;shortlabel&quot;:&quot;&quot;,&quot;ftype&quot;:&quot;facceptance&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;title&quot;:&quot;Accept terms and conditions&quot;,&quot;value&quot;:&quot;I accept&quot;,&quot;required&quot;:true,&quot;url&quot;:&quot;&quot;,&quot;message&quot;:&quot;&quot;}],[{&quot;title&quot;:&quot;Contact Form&quot;,&quot;description&quot;:&quot;EMAIL 24\\\/7, Phone: T.B.C. With Verified Clients&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=\"9fbc5c3c5a\"\/><input name=\"cftehp\" id=\"cftehp_1\" type=\"hidden\" value=\"1\"\/>\r\n<div id=\"fbuilder\">    \r\n    <div id=\"fbuilder_1\">\r\n        <div id=\"formheader_1\"><\/div>\r\n        <div id=\"fieldlist_1\"><\/div>\r\n    <\/div>\r\n<\/div>    \r\n<div style=\"display:none\">\r\n<input name=\"cftecontrolmessage\" type=\"text\" value=\"\"\/> \r\n<div id=\"cpcaptchalayer_1\" class=\"cpcaptchalayer\">\r\n<\/div>\r\n<\/div>\r\n<div id=\"cp_subbtn_1\" class=\"cp_subbtn\">Submit<\/div>\r\n<\/form>\r\n<script>\r\ntry{document.getElementById(\"cftehp_1\").value=\"25\";}catch(e){}\r\n<\/script>\r\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n<div class=\"brz-root__container\"><\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"brizy-blank-template.php","meta":{"footnotes":""},"class_list":["post-427","page","type-page","status-publish","hentry"],"brizy_media":[],"_links":{"self":[{"href":"https:\/\/samorekand.com\/index.php?rest_route=\/wp\/v2\/pages\/427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samorekand.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/samorekand.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/samorekand.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samorekand.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=427"}],"version-history":[{"count":4,"href":"https:\/\/samorekand.com\/index.php?rest_route=\/wp\/v2\/pages\/427\/revisions"}],"predecessor-version":[{"id":447,"href":"https:\/\/samorekand.com\/index.php?rest_route=\/wp\/v2\/pages\/427\/revisions\/447"}],"wp:attachment":[{"href":"https:\/\/samorekand.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}