in

ethiopia president – Kerosi Blog


ethiopia president – Kerosi Blog

Post navigation

Post navigation

0) { var yourname = $n.trim($n(“#yourname”).val()); if (yourname != “” && yourname != null && yourname.toLowerCase() != ‘Name’.toLowerCase()) { var element = $n(“#yourname”).next().next(); isvalidName = true; $n(element).html(”); } else { var element = $n(“#yourname”).next().next(); $n(element).html(‘This field is required.’); // emailAdd=false; } } else { isvalidName = true; } if (emailAdd != “”) { var element = $n(“#youremail”).next().next(); if (emailAdd.toLowerCase() == ‘Email’.toLowerCase()) { $n(element).html(‘This field is required.’); isvalidEmail = false; } else { var JsRegExPatern = /^w+([-+.’]w+)*@w+([-.]w+)*.w+([-.]w+)*$/ if (JsRegExPatern.test(emailAdd)) { isvalidEmail = true; $n(element).html(”); } else { var element = $n(“#youremail”).next().next(); $n(element).html(‘Please enter valid email address.’); isvalidEmail = false; } } } else { var element = $n(“#yourname”).next().next(); $n(element).html(‘This field is required.’); isvalidEmail = false; } if ($n(‘#chkagreeornot’).length > 0) { if ($n(“#chkagreeornot”).is(‘:checked’)) { var element = $n(“#chkagreeornot”).next().next(); $n(element).html(”); is_agreed = true; } else { var element = $n(“#chkagreeornot”).next().next(); $n(element).html(”); is_agreed = false; } } else { is_agreed = true; } if (isvalidName == true && isvalidEmail == true && is_agreed == true) { $n(“.AjaxLoader”).show(); $n(‘#mysuccess_msg’).html(”); $n(‘#mysuccess_msg’).hide(); $n(‘#myerror_msg’).html(”); $n(‘#myerror_msg’).hide(); var name = “”; if ($n(‘#yourname’).length > 0) { name = $n(“#yourname”).val(); } var nonce = ‘c08151e0f5’; var url = ‘https://www.kerosi.com/wp-content/plugins/email-subscribe/’; var email = $n(“#youremail”).val(); var str = “action=store_email&email=” + email + ‘&name=’ + name + ‘&is_agreed=’ + is_agreed + ‘&sec_string=’ + nonce; $n.ajax({ type: “POST”, url: ‘https://www.kerosi.com/wp-admin/admin-ajax.php’, data: str, async: true, success: function (msg) { if (msg != ”) { var result = msg.split(“|”); if (result[0] == ‘success’) { $n(“.AjaxLoader”).hide(); $n(‘#mysuccess_msg’).html(result[1]); $n(‘#mysuccess_msg’).show(); setTimeout(function () { $n.fancybox_ns.close(); }, 2000); } else { $n(“.AjaxLoader”).hide(); $n(‘#myerror_msg’).html(result[1]); $n(‘#myerror_msg’).show(); } } } }); } } var interval_62c98b8c7b620 = setInterval(function() { if(document.readyState === ‘complete’) { clearInterval(interval_62c98b8c7b620); var $n = jQuery.noConflict(); /* if ( $n.browser.msie && $n.browser.version >= 9 ) { $n.support.noCloneEvent = true }*/ var htmlpopup = $n(“#formFormEmail”).html(); $n(“#formFormEmail”).remove(); $n(‘body’).on(‘click’, ‘.shownewsletterbox’, function () { $n.fancybox_ns({ ‘overlayColor’: ‘#000000’, ‘hideOnOverlayClick’: false, ‘padding’: 10, ‘autoScale’: true, ‘showCloseButton’: true, ‘content’: htmlpopup, ‘transitionIn’: ‘fade’, ‘transitionOut’: ‘elastic’, ‘width’: 560, ‘height’: 360 }); }); $n(document).ready(function () { if (readCookie(‘newsLatterPopup’) == null) { setTimeout(function(){ $n.fancybox_ns({ ‘overlayColor’: ‘#000000’, ‘hideOnOverlayClick’: false, ‘padding’: 10, ‘autoScale’: true, ‘showCloseButton’: true, ‘content’: htmlpopup, ‘transitionIn’: ‘fade’, ‘transitionOut’: ‘elastic’, ‘width’: 560, ‘height’: 360 }); createCookie(‘newsLatterPopup’, ‘donotshow’, 1); },1500); } }); } }, 100); ]]> error

Enjoy this blog? Please spread the word 🙂


Source

What do you think?

Written by Ethiotime1

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Winners drawn for Orbis Raffle 2022

Instagram