{"id":10,"date":"2013-04-08T18:46:29","date_gmt":"2013-04-08T18:46:29","guid":{"rendered":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/?page_id=10"},"modified":"2014-08-04T18:04:20","modified_gmt":"2014-08-04T17:04:20","slug":"newsletter","status":"publish","type":"page","link":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/newsletter\/","title":{"rendered":"NEWSLETTER"},"content":{"rendered":"<p>Consigue patrones Gratis , descuentos y sorteos ! <!-- Begin MailChimp Signup Form --><\/p>\n<link href=\"\/\/cdn-images.mailchimp.com\/embedcode\/classic-081711.css\" rel=\"stylesheet\" type=\"text\/css\" \/>\n<style type=\"text\/css\"><!--\n\t#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }\n\/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.\nWe recommend moving this block and the preceding CSS link to the HEAD of your HTML file. *\/\n--><\/style>\n<div id=\"mc_embed_signup\">\n<form class=\"validate\" id=\"mc-embedded-subscribe-form\" action=\"http:\/\/dicopebisuteria.us5.list-manage2.com\/subscribe\/post?u=14dd2a1ea8e538296877cff2e&amp;id=33e8002fcc\" method=\"post\" name=\"mc-embedded-subscribe-form\" novalidate=\"\" target=\"_blank\">\n<h2>Subscribe to our mailing list<\/h2>\n<div class=\"indicates-required\"><span class=\"asterisk\">*<\/span> indicates required<\/div>\n<div class=\"mc-field-group\"><label for=\"mce-EMAIL\">Email <span class=\"asterisk\">*<\/span><br \/>\n<\/label><br \/>\n<input class=\"required email\" id=\"mce-EMAIL\" type=\"email\" name=\"EMAIL\" value=\"\" \/><\/div>\n<div class=\"mc-field-group\"><label for=\"mce-FNAME\">First Name <span class=\"asterisk\">*<\/span><br \/>\n<\/label><br \/>\n<input class=\"required\" id=\"mce-FNAME\" type=\"text\" name=\"FNAME\" value=\"\" \/><\/div>\n<div class=\"mc-field-group input-group\"><strong>Espa\u00f1ol <\/strong><\/p>\n<ul>\n<li><input id=\"mce-group[10673]-10673-0\" type=\"checkbox\" name=\"group[10673][1]\" value=\"1\" \/><label for=\"mce-group[10673]-10673-0\">Language<\/label><\/li>\n<\/ul>\n<\/div>\n<div class=\"mc-field-group input-group\"><strong>English <\/strong><\/p>\n<ul>\n<li><input id=\"mce-group[10677]-10677-0\" type=\"checkbox\" name=\"group[10677][2]\" value=\"2\" \/><label for=\"mce-group[10677]-10677-0\">Language<\/label><\/li>\n<\/ul>\n<\/div>\n<div class=\"clear\" id=\"mce-responses\"><\/div>\n<p><!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--><\/p>\n<div style=\"position: absolute; left: -5000px;\"><input tabindex=\"-1\" type=\"text\" name=\"b_14dd2a1ea8e538296877cff2e_33e8002fcc\" value=\"\" \/><\/div>\n<div class=\"clear\"><input class=\"button\" id=\"mc-embedded-subscribe\" type=\"submit\" name=\"subscribe\" value=\"Subscribe\" \/><\/div>\n<\/form>\n<\/div>\n<p><script type=\"text\/javascript\">\/\/ <![CDATA[\nvar fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';\ntry {\n    var jqueryLoaded=jQuery;\n    jqueryLoaded=true;\n} catch(err) {\n    var jqueryLoaded=false;\n}\nvar head= document.getElementsByTagName('head')[0];\nif (!jqueryLoaded) {\n    var script = document.createElement('script');\n    script.type = 'text\/javascript';\n    script.src = '\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.4.4\/jquery.min.js';\n    head.appendChild(script);\n    if (script.readyState &#038;&#038; script.onload!==null){\n        script.onreadystatechange= function () {\n              if (this.readyState == 'complete') mce_preload_check();\n        }    \n    }\n}<\/p>\n\n\n\n\n<p>var err_style = '';\ntry{\n    err_style = mc_custom_error_style;\n} catch(e){\n    err_style = '#mc_embed_signup input.mce_inline_error{border-color:#6B0505;} #mc_embed_signup div.mce_inline_error{margin: 0 0 1em 0; padding: 5px 10px; background-color:#6B0505; font-weight: bold; z-index: 1; color:#fff;}';\n}\nvar head= document.getElementsByTagName('head')[0];\nvar style= document.createElement('style');\nstyle.type= 'text\/css';\nif (style.styleSheet) {\n  style.styleSheet.cssText = err_style;\n} else {\n  style.appendChild(document.createTextNode(err_style));\n}\nhead.appendChild(style);\nsetTimeout('mce_preload_check();', 250);<\/p>\n\n\n\n\n<p>var mce_preload_checks = 0;\nfunction mce_preload_check(){\n    if (mce_preload_checks>40) return;\n    mce_preload_checks++;\n    try {\n        var jqueryLoaded=jQuery;\n    } catch(err) {\n        setTimeout('mce_preload_check();', 250);\n        return;\n    }\n    var script = document.createElement('script');\n    script.type = 'text\/javascript';\n    script.src = 'http:\/\/downloads.mailchimp.com\/js\/jquery.form-n-validate.js';\n    head.appendChild(script);\n    try {\n        var validatorLoaded=jQuery(\"#fake-form\").validate({});\n    } catch(err) {\n        setTimeout('mce_preload_check();', 250);\n        return;\n    }\n    mce_init_form();\n}\nfunction mce_init_form(){\n    jQuery(document).ready( function($) {\n      var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){}  };\n      var mce_validator = $(\"#mc-embedded-subscribe-form\").validate(options);\n      $(\"#mc-embedded-subscribe-form\").unbind('submit');\/\/remove the validator so we can get into beforeSubmit on the ajaxform, which then calls the validator\n      options = { url: 'http:\/\/dicopebisuteria.us5.list-manage.com\/subscribe\/post-json?u=14dd2a1ea8e538296877cff2e&#038;id=33e8002fcc&#038;c=?', type: 'GET', dataType: 'json', contentType: \"application\/json; charset=utf-8\",\n                    beforeSubmit: function(){\n                        $('#mce_tmp_error_msg').remove();\n                        $('.datefield','#mc_embed_signup').each(\n                            function(){\n                                var txt = 'filled';\n                                var fields = new Array();\n                                var i = 0;\n                                $(':text', this).each(\n                                    function(){\n                                        fields[i] = this;\n                                        i++;\n                                    });\n                                $(':hidden', this).each(\n                                    function(){\n                                        var bday = false;\n                                        if (fields.length == 2){\n                                            bday = true;\n                                            fields[2] = {'value':1970};\/\/trick birthdays into having years\n                                        }\n                                    \tif ( fields[0].value=='MM' &#038;& fields[1].value=='DD' &#038;& (fields[2].value=='YYYY' || (bday &#038;& fields[2].value==1970) ) ){\n                                    \t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t    } else if ( fields[0].value=='' &#038;& fields[1].value=='' &#038;& (fields[2].value=='' || (bday &#038;& fields[2].value==1970) ) ){\n                                    \t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t    } else {\n\t\t\t\t\t\t\t\t\t        if (\/\\[day\\]\/.test(fields[0].name)){\n    \t                                        this.value = fields[1].value+'\/'+fields[0].value+'\/'+fields[2].value;\t\t\t\t\t\t\t\t\t        \n\t\t\t\t\t\t\t\t\t        } else {\n    \t                                        this.value = fields[0].value+'\/'+fields[1].value+'\/'+fields[2].value;\n\t                                        }\n\t                                    }\n                                    });\n                            });\n                        $('.phonefield-us','#mc_embed_signup').each(\n                            function(){\n                                var fields = new Array();\n                                var i = 0;\n                                $(':text', this).each(\n                                    function(){\n                                        fields[i] = this;\n                                        i++;\n                                    });\n                                $(':hidden', this).each(\n                                    function(){\n                                        if ( fields[0].value.length != 3 || fields[1].value.length!=3 || fields[2].value.length!=4 ){\n                                    \t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t    } else {\n\t\t\t\t\t\t\t\t\t        this.value = 'filled';\n\t                                    }\n                                    });\n                            });\n                        return mce_validator.form();\n                    }, \n                    success: mce_success_cb\n                };\n      $('#mc-embedded-subscribe-form').ajaxForm(options);<\/p>\n\n\n\n\n<p>    });\n}\nfunction mce_success_cb(resp){\n    $('#mce-success-response').hide();\n    $('#mce-error-response').hide();\n    if (resp.result==\"success\"){\n        $('#mce-'+resp.result+'-response').show();\n        $('#mce-'+resp.result+'-response').html(resp.msg);\n        $('#mc-embedded-subscribe-form').each(function(){\n            this.reset();\n    \t});\n    } else {\n        var index = -1;\n        var msg;\n        try {\n            var parts = resp.msg.split(' - ',2);\n            if (parts[1]==undefined){\n                msg = resp.msg;\n            } else {\n                i = parseInt(parts[0]);\n                if (i.toString() == parts[0]){\n                    index = parts[0];\n                    msg = parts[1];\n                } else {\n                    index = -1;\n                    msg = resp.msg;\n                }\n            }\n        } catch(e){\n            index = -1;\n            msg = resp.msg;\n        }\n        try{\n            if (index== -1){\n                $('#mce-'+resp.result+'-response').show();\n                $('#mce-'+resp.result+'-response').html(msg);            \n            } else {\n                err_id = 'mce_tmp_error_msg';\n                html = '<\/p>\n\n\n\n\n<div id=\"'+err_id+'\" style=\"'+err_style+'\"> '+msg+'<\/div>\n\n\n\n\n<p>';<\/p>\n\n\n\n\n<p>                var input_id = '#mc_embed_signup';\n                var f = $(input_id);\n                if (ftypes[index]=='address'){\n                    input_id = '#mce-'+fnames[index]+'-addr1';\n                    f = $(input_id).parent().parent().get(0);\n                } else if (ftypes[index]=='date'){\n                    input_id = '#mce-'+fnames[index]+'-month';\n                    f = $(input_id).parent().parent().get(0);\n                } else {\n                    input_id = '#mce-'+fnames[index];\n                    f = $().parent(input_id).get(0);\n                }\n                if (f){\n                    $(f).append(html);\n                    $(input_id).focus();\n                } else {\n                    $('#mce-'+resp.result+'-response').show();\n                    $('#mce-'+resp.result+'-response').html(msg);\n                }\n            }\n        } catch(e){\n            $('#mce-'+resp.result+'-response').show();\n            $('#mce-'+resp.result+'-response').html(msg);\n        }\n    }\n}\n\/\/ ]]><\/script><br \/>\n<!--End mc_embed_signup--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Consigue patrones Gratis , descuentos y sorteos ! Subscribe to our mailing list * indicates required Email * First Name * Espa\u00f1ol Language English Language<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-10","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/wp-json\/wp\/v2\/pages\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":7,"href":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/wp-json\/wp\/v2\/pages\/10\/revisions"}],"predecessor-version":[{"id":639,"href":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/wp-json\/wp\/v2\/pages\/10\/revisions\/639"}],"wp:attachment":[{"href":"http:\/\/dicopebisuteria.com\/adictosalosabalorios\/wp-json\/wp\/v2\/media?parent=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}