Déjà signataires !

Rejoignez-nous :

m6r-bouton-widget

 

Faire un don

m6r-bouton-widget

 

« Nous le Peuple », mode d'emploi

Pour voir cette vidéo en plus grand, cliquez ici. Besoin de plus d'informations ? Consultez notre mode d'emploi détaillé !

Signaler un bug

Vous constatez un bug sur notre site ? Signalez-le nous en utilisant la catégorie « Signaler un bug ». Nous essaierons de résoudre le problème aussi vite que possible !

 

Tweets de @M6Rep

 


"); tag.html(data).dialog({modal: true}).dialog('open'); } else { var anchor = $('#xvote-'+htmlid+' > .'+(value>0 ? 'btn-danger' : 'btn-success')); if (anchor.length) anchor.removeClass(value>0 ? 'btn-danger' : 'btn-success') .attr('href', anchor.attr('href').replace(/unvote/,'vote')) .removeAttr('disabled') .children('i').removeClass('fa-white'); var anchor = $('#xvote-'+htmlid+' > a:'+(value>0 ? 'first' : 'last')); anchor.addClass(value>0 ? 'btn-success' : 'btn-danger') .attr('href', anchor.attr('href').replace(/vote/,'unvote')) .removeAttr('disabled') .children('i').addClass('fa-white'); if(value==10){ like_dislike_text='You like'; notify_icon = 'fa fa-thumbs-up' } else if(value==-10){ like_dislike_text='You dislike'; notify_icon = 'fa fa-thumbs-down'; } $.pnotify({ pnotify_text: like_dislike_text+' "'+link_title+'"', pnotify_sticker: false, pnotify_history: false, pnotify_notice_icon: notify_icon }); if (Voting_Method == 2){ } else { //$('#xnews-'+htmlid+' .votenumber').html(data.split('~')[0]); // RG_2 ----------------------------------------------------- var result = data.split('~')[0]; result = result.split('|'); totalfor.html(result[1]); totalagainst.html(result[2]); $('#xnews-'+htmlid+' .votenumber').html(result[0]); // ----------------------------------------------------------- } } }, "text"); } } function unvote (user, id, htmlid, md5, value) { var anchor = $('#xvote-'+htmlid+' > a:'+(value>0 ? 'first' : 'last')); anchor.attr('disabled','disabled'); var url = my_pligg_base + "/"; var mycontent = "unvote=true&id=" + id + "&user=" + user + "&md5=" + md5 + "&value=" + value; var dynamic_class = ".linkVote_"+id; var link_title = $(dynamic_class).attr("title"); var totalfor = $('#totalfor-'+htmlid); // RG_2 var totalagainst = $('#totalagainst-'+htmlid); // RG_2 //user = 2; //alert("from unvote"+user); //alert(anonymous_vote); if (!anonymous_vote && user== "") { + my_pligg_base + "/"+location.href; } else { $.post(url, mycontent, function (data) { if (data.match (new RegExp ("^ERROR:"))) { alert(data.substring (6, data.length)); } else { var anchor = $('#xvote-'+htmlid+' > a:'+(value>0 ? 'first' : 'last')); anchor.removeClass(value>0 ? 'btn-success' : 'btn-danger') .attr('href', anchor.attr('href').replace(/unvote/,'vote')) .removeAttr('disabled') .children('i').removeClass('fa-white'); if(value==10) like_dislike_text='You removed like'; else if(value==-10) like_dislike_text='You removed dislike'; $.pnotify({ pnotify_text: like_dislike_text+' "'+link_title+'"', pnotify_sticker: false, pnotify_history: false, pnotify_notice_icon: 'fa fa-thumbs-down' }); if (Voting_Method == 2){ } else { //$('#xnews-'+htmlid+' .votenumber').html(data.split('~')[0]); // RG_2 ----------------------------------------------------- var result = data.split('~')[0]; result = result.split('|'); totalfor.html(result[1]); totalagainst.html(result[2]); $('#xnews-'+htmlid+' .votenumber').html(result[0]); // ----------------------------------------------------------- } } }, "text"); } }
"); $(document).on("click", ".contine_read_story", function(){ if(parseInt(total_row) > count){ last_msg_funtion(); }else{ $(this).hide(); $(".stories:last").after("
Aucun article supplémentaire n'a été trouvé
"); } }); } });