{"id":504,"date":"2015-07-13T09:56:24","date_gmt":"2015-07-13T09:56:24","guid":{"rendered":"https:\/\/dev1.cief.org\/?page_id=504"},"modified":"2015-07-13T11:50:14","modified_gmt":"2015-07-13T11:50:14","slug":"annonces-diverses","status":"publish","type":"page","link":"https:\/\/dev1.cief.org\/?page_id=504","title":{"rendered":"Annonces diverses"},"content":{"rendered":"<p><strong>Annonce envoy\u00e9e par :<\/strong><\/p>\n<div id='formContainer1034483084' class='sfForm rednaoFormContainer SfFormElementContainer bootstrap-wrapper'><\/div><script>\n            var ajaxurl = 'https:\/\/dev1.cief.org\/wp-admin\/admin-ajax.php';\n            var smartFormsCurrentTime=new Date('Sun May 03 2026 09:34:05 +0000');\n            \tvar smartFormsUserName=\"\";\n            \tvar smartFormsFirstName=\"\";\n            \tvar smartFormsLastName=\"\";\n            \tvar smartFormsEmail=\"\";\n                var smartFormsPath=\"https:\/\/dev1.cief.org\/wp-content\/plugins\/smart-forms\/\";\n                var smartDonationsRootPath=\"\";\n                var smartDonationsSandbox=\"\";\n                var smartFormsAdditionalFields4=[];\n                var smartFormsDesignMode=false;\n                if(!window.smartFormsItemsToLoad)\n                    window.smartFormsItemsToLoad=new Array();                                                   \n        window.smartFormsItemsToLoad.push({ 'form_id':4,  'elements':[{\"ClassName\":\"rednaotextinput\",\"IsRequired\":\"y\",\"Formulas\":{},\"Styles\":{},\"Id\":\"rnField1\",\"Spacing\":\"col-sm-12\",\"Label\":\"Nom :\",\"Placeholder\":\"\",\"Value\":\"\",\"ReadOnly\":\"n\",\"Width\":\"\",\"Icon\":{\"ClassName\":\"\"},\"CustomCSS\":\"\",\"Placeholder_Icon\":{\"ClassName\":\"\",\"Orientation\":\"\"},\"ContainerOptions\":{\"Id\":\"1\",\"Type\":\"single\",\"Width\":-1},\"_id\":1},{\"ClassName\":\"rednaotextinput\",\"IsRequired\":\"y\",\"Formulas\":{},\"Styles\":{},\"Id\":\"rnField3\",\"Spacing\":\"col-sm-12\",\"Label\":\"Pr\u00e9nom:\",\"Placeholder\":\"\",\"Value\":\"\",\"ReadOnly\":\"n\",\"Width\":\"\",\"Icon\":{\"ClassName\":\"\"},\"CustomCSS\":\"\",\"Placeholder_Icon\":{\"ClassName\":\"\",\"Orientation\":\"\"},\"ContainerOptions\":{\"Id\":\"2\",\"Type\":\"single\",\"Width\":-1},\"_id\":2},{\"ClassName\":\"rednaoemail\",\"IsRequired\":\"y\",\"Formulas\":{},\"Styles\":{},\"Id\":\"rnField17\",\"Spacing\":\"col-sm-12\",\"Label\":\"Email :\",\"Placeholder\":\"\",\"Icon\":{\"ClassName\":\"\"},\"CustomCSS\":\"\",\"Placeholder_Icon\":{\"ClassName\":\"\",\"Orientation\":\"\"},\"ContainerOptions\":{\"Id\":\"3\",\"Type\":\"single\",\"Width\":-1},\"_id\":3,\"ReadOnly\":\"n\",\"Value\":\"\"},{\"ClassName\":\"rednaotextinput\",\"IsRequired\":\"n\",\"Formulas\":{},\"Styles\":{},\"Id\":\"rnField4\",\"Spacing\":\"col-sm-12\",\"Label\":\"Titre de l'annonce :\",\"Placeholder\":\"\",\"Value\":\"\",\"ReadOnly\":\"n\",\"Width\":\"\",\"Icon\":{\"ClassName\":\"\"},\"CustomCSS\":\"\",\"Placeholder_Icon\":{\"ClassName\":\"\",\"Orientation\":\"\"},\"ContainerOptions\":{\"Id\":\"4\",\"Type\":\"single\",\"Width\":-1},\"_id\":4},{\"ClassName\":\"rednaotextarea\",\"IsRequired\":\"n\",\"Formulas\":{},\"Styles\":{},\"Id\":\"rnField24\",\"Spacing\":\"col-sm-12\",\"Label\":\"Descriptif : (Maximum 500 mots)\",\"DefaultText\":\"\",\"Value\":\"\",\"Width\":\"\",\"Height\":\"\",\"Placeholder\":\"\",\"Disabled\":\"n\",\"MaxLength\":\"\",\"CustomCSS\":\"\",\"Placeholder_Icon\":{\"ClassName\":\"\",\"Orientation\":\"\"},\"ContainerOptions\":{\"Id\":\"5\",\"Type\":\"single\",\"Width\":-1},\"_id\":5},{\"ClassName\":\"rednaosubmissionbutton\",\"IsRequired\":\"n\",\"Formulas\":{},\"Styles\":{},\"Id\":\"rnField25\",\"Spacing\":\"col-sm-12\",\"ButtonText\":\"Envoyer\",\"CustomCSS\":\"\",\"Icon\":{\"ClassName\":\"\"},\"Animated\":\"y\",\"ContainerOptions\":{\"Id\":\"6\",\"Type\":\"single\",\"Width\":-1},\"_id\":6}],'client_form_options':{\"JavascriptCode\":[{\"Name\":\"load\",\"Id\":1,\"JavascriptCode\":\"\\n  \/\/AUTO GENERATED CODE, DO NOT DELETE\\n(function(){var javaObject={\\n\\n\/\/YOU CAN PUT YOUR CODE BELLOW\\n\\n\/\/jQueryFormReference:A jquery reference of the loaded form\\nAfterFormLoaded:function(jQueryFormReference){\\n\\njQuery( document ).ready(function() {\\nsetTimeout(function(){  \\n\/\/$(\\\".redNaoSubmitButton\\\").after('<div class=\\\"message\\\" ><\/div>');\\njQuery('textarea').each(function(index, value) {\\n\/\/TEST\\n \\n    tinyMCE.init({\\n        mode : \\\"none\\\",\\n        statusbar: false, \\n        menubar: false,\\n        selector: 'textarea',  \/\/ change this value according to your HTML\\n        plugins: 'link',\\n        toolbar: 'styleselect | bold italic | alignleft aligncenter alignright alignjustify | link | unlink',\\n             setup : function(ed) {\\n              ed.onKeyUp.add(function(ed, e) { \\n              var maxwords = 500;\\n              var strip = (tinyMCE.activeEditor.getContent()).replace(\/(<([^>]+)>)\/ig,\\\"\\\");\\n              var words = strip.split(' ').length;\\n                if (words < maxwords) {\\n                    var text = \\\"Vous utilisez \\\" + words + \\\" mots, \\\" +  (maxwords - words) + \\\" restants\\\"\\n\\t\\t\\t\\t\\t\\n                }else if (words == maxwords){\\n                    var text = \\\"<span style='color:red'>Vous avez atteint le maximum de mots autoris\u00e9s<\/span>\\\"\\n                }else if (words > maxwords){\\n                    var text = \\\"<span style='color:red;font-weight:bold'>Vous avez d\u00e9pass\u00e9 le maximum de mots autoris\u00e9s.<\/span>\\\"\\n                }\\n\\nif (words >= maxwords && e.which != 8 && e.which != 46 && e.keycode != 8 && e.keycode != 46) {\\n  e.preventDefault();\\n$(\\\".message\\\").empty();\\n$('#' + this.id).after('<div class=\\\"message\\\">'+ text +'<\/div>');\\n\\n\/\/alert(\\\"too much\\\");\\n$(\\\".redNaoSubmitButton\\\").attr(\\\"disabled\\\", true);\\ne.stopPropagation();\\nreturn false;\\n}else {\\n$(\\\".redNaoSubmitButton\\\").attr(\\\"disabled\\\", false);\\n$(\\\".message\\\").empty();\\n$('#' + this.id).after('<div  class=\\\"message\\\">'+ text +'<\/div>');\\n}\\n    });\\n  }\\n    })\\n\\n\/\/EOF test\\n tinymce.execCommand( 'mceAddEditor', true, this.id );\\n tinymce.get(this.id).on('change',function(){\\nvar editor = tinymce.get(this.id).getContent({ format: \\\"html\\\" });\\n jQuery(\\\"#\\\"+this.id).val(editor);\\n});\\n\\n});\\n},1000);\\n});\\n     \/\/Here you can put code that you want to be executed after the form is loaded\\nvar count = 0;\\njQuery('textarea').each(function(eq, el) {\\n    var ids = [\\\"txtarea_12\\\", \\\"txtarea_13\\\"];\\n    el = $(el);\\n    if(typeof(el.attr('id')) === \\\"undefined\\\") {\\n        el.attr('id', ids[count]);\\n        count++;\\n    }\\n});\\n\/\/jQuery('textarea').wp_editor();\\n\/\/jQuery('#txtarea_13').wp_editor();\\n\\n\\n},\\n\\n\\n\/\/jQueryFormReference:A jquery reference of the loaded form\\n\/\/formData:An object with the information that is going to be submitted\\nBeforeFormSubmit:function(formData,jQueryFormReference){\\n \\njQuery('textarea').each(function(index, value) {\\nvar editor = tinymce.get(this.id).getContent({ format: \\\"text\\\" });\\n jQuery(\\\"#\\\"+this.id).val(editor);\\n\\n});\\n\\n    \/\/Here you can put code that you want to be executed before the form is submitted\\n}\\n\\n\\n\\n\/\/MORE AUTO GENERATED CODE, DO NOT DELETE\\n}; return javaObject;})    \",\"ActionType\":\"customjs\"}],\"CSS\":\"\",\"Conditions\":[],\"UsesCaptcha\":\"n\",\"CaptchaVersion\":\"\",\"alert_message\":\"\",\"alert_message_cb\":\"n\",\"DontClearForm\":\"n\",\"redirect_to\":[{\"URL\":\"https:\/\/dev1.cief.org\/?page_id=496\",\"RCSettings\":{\"Redirect\":\"always\",\"ConditionSettings\":[]}}],\"redirect_to_cb\":\"y\",\"Campaign\":\"\",\"PayPalEmail\":\"\",\"PayPalCondition\":{},\"PayPalType\":\"donation\",\"PayPalDescription\":\"\",\"PayPalCurrency\":\"USD\",\"Formulas\":{},\"InvalidInputMessage\":\"*Merci de remplir les champs obligatoires\",\"FormType\":\"nor\",\"SplitSteps\":{},\"ToolTipPosition\":\"left\",\"Theme\":\"basic\",\"LabelLayout\":\"top\",\"Extensions\":{}},'container':'formContainer1034483084'});<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Annonce envoy\u00e9e par :<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":130,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"page-full.php","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/dev1.cief.org\/index.php?rest_route=\/wp\/v2\/pages\/504"}],"collection":[{"href":"https:\/\/dev1.cief.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev1.cief.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev1.cief.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev1.cief.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=504"}],"version-history":[{"count":2,"href":"https:\/\/dev1.cief.org\/index.php?rest_route=\/wp\/v2\/pages\/504\/revisions"}],"predecessor-version":[{"id":514,"href":"https:\/\/dev1.cief.org\/index.php?rest_route=\/wp\/v2\/pages\/504\/revisions\/514"}],"up":[{"embeddable":true,"href":"https:\/\/dev1.cief.org\/index.php?rest_route=\/wp\/v2\/pages\/130"}],"wp:attachment":[{"href":"https:\/\/dev1.cief.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev1.cief.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev1.cief.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}