{"id":1974,"date":"2011-10-19T16:30:22","date_gmt":"2011-10-19T15:30:22","guid":{"rendered":"http:\/\/www.lasalsavive.org\/portale\/?page_id=1974"},"modified":"2016-05-14T21:39:03","modified_gmt":"2016-05-14T20:39:03","slug":"newsletter","status":"publish","type":"page","link":"https:\/\/www.lasalsavive.org\/portale\/newsletter\/","title":{"rendered":"Newsletter"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-7518\" src=\"http:\/\/www.lasalsavive.org\/portale\/wp-content\/uploads\/2011\/10\/lasalsavive_newsletter.png\" alt=\"lasalsavive_newsletter\" width=\"528\" height=\"220\" srcset=\"https:\/\/www.lasalsavive.org\/portale\/wp-content\/uploads\/2011\/10\/lasalsavive_newsletter.png 600w, https:\/\/www.lasalsavive.org\/portale\/wp-content\/uploads\/2011\/10\/lasalsavive_newsletter-300x125.png 300w, https:\/\/www.lasalsavive.org\/portale\/wp-content\/uploads\/2011\/10\/lasalsavive_newsletter-400x167.png 400w\" sizes=\"auto, (max-width: 528px) 100vw, 528px\" \/><\/p>\n<p>Per ricevere la nostra newsletter (al massimo una al mese) lasciaci la tua email e sarai<br \/>\ninformato su tutti gli eventi organizzati o in collaborazione con LaSalsaVive.<\/p>\n<p>&nbsp;<\/p>\n<p><!-- Begin MailChimp Signup Form --><\/p>\n<div id=\"mc_embed_signup\">\n<form id=\"mc-embedded-subscribe-form\" class=\"validate\" action=\"http:\/\/lasalsavive.us2.list-manage.com\/subscribe\/post?u=dfaf8c2aa74bab5d7bdaa993d&amp;id=153563083f\" method=\"post\" name=\"mc-embedded-subscribe-form\" 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 Address <span class=\"asterisk\">*<\/span><br \/>\n<\/label><br \/>\n<input id=\"mce-EMAIL\" class=\"required email\" name=\"EMAIL\" type=\"email\" value=\"\" \/><\/div>\n<div class=\"mc-field-group\"><label for=\"mce-FNAME\">First Name &#8211; Nome <\/label><br \/>\n<input id=\"mce-FNAME\" class=\"\" name=\"FNAME\" type=\"text\" value=\"\" \/><\/div>\n<div class=\"mc-field-group\"><label for=\"mce-LNAME\">Last Name &#8211; Cognome <\/label><br \/>\n<input id=\"mce-LNAME\" class=\"\" name=\"LNAME\" type=\"text\" value=\"\" \/><\/div>\n<div class=\"mc-field-group\"><label for=\"mce-MMERGE3\">Nickname <\/label><br \/>\n<input id=\"mce-MMERGE3\" class=\"\" name=\"MMERGE3\" type=\"text\" value=\"\" \/><\/div>\n<div class=\"mc-field-group input-group\">\n<p><strong>Email Format <\/strong><\/p>\n<ul>\n<li><input id=\"mce-EMAILTYPE-0\" name=\"EMAILTYPE\" type=\"radio\" value=\"html\" \/><label for=\"mce-EMAILTYPE-0\">html<\/label><\/li>\n<li><input id=\"mce-EMAILTYPE-1\" name=\"EMAILTYPE\" type=\"radio\" value=\"text\" \/><label for=\"mce-EMAILTYPE-1\">text<\/label><\/li>\n<li><input id=\"mce-EMAILTYPE-2\" name=\"EMAILTYPE\" type=\"radio\" value=\"mobile\" \/><label for=\"mce-EMAILTYPE-2\">mobile<\/label><\/li>\n<\/ul>\n<\/div>\n<div id=\"mce-responses\" class=\"clear\"><\/div>\n<div class=\"clear\"><input id=\"mc-embedded-subscribe\" class=\"button\" name=\"subscribe\" type=\"submit\" value=\"Subscribe\" \/><\/div>\n<\/form>\n<\/div>\n<p><script type=\"text\/javascript\">\/\/ < ![CDATA[\n\/\/ < ![CDATA[ var fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='MMERGE3';ftypes[3]='text'; try { var jqueryLoaded=jQuery; jqueryLoaded=true; } catch(err) { var jqueryLoaded=false; } var head= document.getElementsByTagName('head')[0]; if (!jqueryLoaded) { var script = document.createElement('script'); script.type = 'text\/javascript'; script.src = 'http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.4.4\/jquery.min.js'; head.appendChild(script); if (script.readyState &#038;&#038; script.onload!==null){ script.onreadystatechange= function () { if (this.readyState == 'complete') mce_preload_check(); } } } var script = document.createElement('script'); script.type = 'text\/javascript'; script.src = 'http:\/\/downloads.mailchimp.com\/js\/jquery.form-n-validate.js'; head.appendChild(script); var err_style = ''; try{ err_style = mc_custom_error_style; } catch(e){ 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;}'; } var head= document.getElementsByTagName('head')[0]; var style= document.createElement('style'); style.type= 'text\/css'; if (style.styleSheet) { style.styleSheet.cssText = err_style; } else { style.appendChild(document.createTextNode(err_style)); } head.appendChild(style); setTimeout('mce_preload_check();', 250); var mce_preload_checks = 0; function mce_preload_check(){ 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    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:\/\/lasalsavive.us2.list-manage.com\/subscribe\/post-json?u=dfaf8c2aa74bab5d7bdaa993d&id=153563083f&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' && fields[1].value=='DD' && (fields[2].value=='YYYY' || (bday && fields[2].value==1970) ) ){\n                                    \t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t    } else if ( fields[0].value=='' && fields[1].value=='' && (fields[2].value=='' || (bday && fields[2].value==1970) ) ){\n                                    \t\tthis.value = '';\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                                    });\n                            });\n                        return mce_validator.form();\n                    }, \n                    success: mce_success_cb\n                };\n      $('#mc-embedded-subscribe-form').ajaxForm(options);\n      \/*\n * Translated default messages for the jQuery validation plugin.\n * Locale: IT\n *\/\njQuery.extend(jQuery.validator.messages, {\n       required: \"Campo obbligatorio.\",\n       remote: \"Controlla questo campo.\",\n       email: \"Inserisci un indirizzo email valido.\",\n       url: \"Inserisci un indirizzo web valido.\",\n       date: \"Inserisci una data valida.\",\n       dateISO: \"Inserisci una data valida (ISO).\",\n       number: \"Inserisci un numero valido.\",\n       digits: \"Inserisci solo numeri.\",\n       creditcard: \"Inserisci un numero di carta di credito valido.\",\n       equalTo: \"Il valore non corrisponde.\",\n       accept: \"Inserisci un valore con un&apos;estensione valida.\",\n       maxlength: jQuery.validator.format(\"Non inserire pi&ugrave; di {0} caratteri.\"),\n       minlength: jQuery.validator.format(\"Inserisci almeno {0} caratteri.\"),\n       rangelength: jQuery.validator.format(\"Inserisci un valore compreso tra {0} e {1} caratteri.\"),\n       range: jQuery.validator.format(\"Inserisci un valore compreso tra {0} e {1}.\"),\n       max: jQuery.validator.format(\"Inserisci un valore minore o uguale a {0}.\"),\n       min: jQuery.validator.format(\"Inserisci un valore maggiore o uguale a {0}.\")\n});<\/p>\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<div id=\"'+err_id+'\" style=\"'+err_style+'\"> '+msg+'<\/div>\n<p>';<\/p>\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>Per ricevere la nostra newsletter (al massimo una al mese) lasciaci la tua email e&#8230;<\/p>\n","protected":false},"author":1,"featured_media":7518,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-1974","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.lasalsavive.org\/portale\/wp-json\/wp\/v2\/pages\/1974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lasalsavive.org\/portale\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.lasalsavive.org\/portale\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.lasalsavive.org\/portale\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lasalsavive.org\/portale\/wp-json\/wp\/v2\/comments?post=1974"}],"version-history":[{"count":10,"href":"https:\/\/www.lasalsavive.org\/portale\/wp-json\/wp\/v2\/pages\/1974\/revisions"}],"predecessor-version":[{"id":7520,"href":"https:\/\/www.lasalsavive.org\/portale\/wp-json\/wp\/v2\/pages\/1974\/revisions\/7520"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lasalsavive.org\/portale\/wp-json\/wp\/v2\/media\/7518"}],"wp:attachment":[{"href":"https:\/\/www.lasalsavive.org\/portale\/wp-json\/wp\/v2\/media?parent=1974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}