Le Loup de Wall Street
Date de sortie : 17-12-2013
Le Loup de Wall Street affiche
The Wolf of Wall Street
0
Followers 57
Views
473,787
Le Loup de Wall Street
Date de sortie : 17-12-2013
Le Loup de Wall Street affiche
The Wolf of Wall Street
Synopsis : L’argent. Le pouvoir. Les femmes. La drogue. Les tentations étaient là, à portée de main, et les autorités n’avaient aucune prise. Aux yeux de Jordan et de sa meute, la modestie était devenue complètement inutile. Trop n’était jamais assez…
0
Followers 57
Views
473,787
Le Loup de Wall Street
Date de sortie : 17-12-2013
Le Loup de Wall Street affiche
The Wolf of Wall Street
0
Followers 57
Views
473,787
Le Loup de Wall Street
Date de sortie : 17-12-2013
Le Loup de Wall Street affiche
The Wolf of Wall Street
0
Followers 57
Views
473,787

Player Streaming

Langue

Qualité

 Spoiler ou être spoilé (e) n'est pas une fatalité. Merci d'utiliser les balises pour respecter les autres visiteurs du site. Merci.
carolineguay33 il y a 1 année

00011101011100111010

Spoiler
haydenkimy il y a 2 années

"tu monte boire une tasse de thé" MDR........à 2h51 du film on peut voir le vrai jordan belfort ......7/10

Spoiler
PJOACHIN il y a 3 années

en bonus, plastic Bertrand, la French touch.

Spoiler
EmmaRedVelvet il y a 3 années

Quelqu'un aurait un lien en VOSTFR ou VO ? Ça fait 3 jours que je cherche mais j'trouve rien.

Spoiler
KaterinaP il y a 3 années

Mon film préféré!!!!

Spoiler
Manaskiel il y a 3 années

Se film est un pur chef d'oeuvre! A regarder !

Spoiler
ffred78 il y a 3 années

http://www.teramixer.com/d9442bd5c65ef593

Spoiler
Msilex il y a 4 années

Bon film très long 3h

Spoiler
Luffy-Sensei il y a 4 années

la même chose que toi

Spoiler
Booldog il y a 4 années

Je n'ai réussi à lire aucun lien. Ils chargent mais ne se lancent pas !

Spoiler
"; var guest_normal_user = "1"; var serverurl = 'http://colombia-mmm.net/'; var user_id = 0; var movie_id = jQuery('#movie_id').val(); var user_age = jQuery('#user_age').val(); var movie_csa_type = jQuery('#movie_csa_type').val(); var movie_csa_age = jQuery('#movie_csa_age_value').val(); var movie_csa_cookie = jQuery('#movie_csa_cookie').val(); /* to show age confirmation popup*/ jQuery( document ).ready(function() { if(user_age > 0){ if((user_age < movie_csa_age) && (movie_csa_type != 1) && (movie_csa_type != 7) && (movie_csa_type!=6)){ jQuery.ajax({ type: "POST", url: serverurl+'movies/setMessage', dataType: "text", data:{user_age:user_age,movie_csa_age:movie_csa_age}, success: function (){ window.location.href = '/'; } }); }else if((user_age > movie_csa_age)){ } }else{ if((movie_csa_type > 1) && (movie_csa_cookie == '') && (movie_csa_type != 7) && (movie_csa_type!=6)){ jQuery(function () {jQuery('#csa').click();}); }else if(movie_csa_cookie < movie_csa_age && movie_csa_type!=7 && movie_csa_type!=6 && movie_csa_type!=1){ jQuery(function () {jQuery('#csa').click();}); } else if(movie_csa_type == 6 || movie_csa_type == 7){ } } onvideo(); //for ad }); function onvideo(){ if(guest_normal_user==true){ var e = document.createElement('script'); e.type = 'text/javascript'; e.src = serverurl+'js/custom/oav.js?t='+Math.random().toString(36).substr(2, 16); e.async = true; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(e); } } function accessDetailPage(){ var csa_type = jQuery("input[name=csa_type]:checked").val(); if(csa_type== 2){ jQuery(function () {jQuery('#close_csa').click();}); jQuery.ajax({ type: "POST", url: serverurl+'movies/setMessage', dataType: "text", data:{csa_type:csa_type,movie_csa_age:movie_csa_age}, success: function (data){ } }); }else{ jQuery.ajax({ type: "POST", url: serverurl+'movies/setMessage', dataType: "text", data:{csa_type:csa_type}, success: function (){ window.location.href = '/'; } }); } } /* end to show age confirmation popup*/ jQuery(document.body).on('click', 'button[id="continu-next-level"]', function (e) { e.preventDefault(); window.location.href = '/movies/add_movie'; return false; }); // show tchat and hide comments function showTchat() { jQuery('#btn_tchat_0').removeClass().addClass('btn btn-dp-fill-orange btn-no-corners'); jQuery('#btn_comment_0').removeClass().addClass('btn btn-dp-strok-orange btn-no-corners'); jQuery('#comment_section_0').hide(); jQuery('#tchat_section_0').show(); } // show comments and hide tchat function showComment() { jQuery('#btn_tchat_0').removeClass().addClass('btn btn-dp-strok-orange btn-no-corners'); jQuery('#btn_comment_0').removeClass().addClass('btn btn-dp-fill-orange btn-no-corners'); jQuery('#comment_section_0').show(); jQuery('#tchat_section_0').hide() } // show More comments and More tchat function showMoreComment(tchat) { //1=>tchat , 0 => comm var limit=jQuery('#comment_limit_'+tchat).val(); jQuery.ajax({ type: "POST", url: serverurl + "comments/ajax_show_comment", data: {item_id:movie_id,limit:limit,tchat:tchat,item_type:1}, success: function (data) { if(data){ if(tchat==1){ jQuery('#allCommentsSection_tchat_0').append(data); }else{ jQuery('#allCommentsSection_0').append(data); } }else{ jQuery('#showMoreErea_'+tchat).html(''); } }, error: function () { jQuery('#myModalError').modal('show'); } }); limit=parseInt(limit)+ parseInt(20); var data_end =jQuery('#comment_end_'+tchat).val(); if( (parseInt(data_end) > parseInt(limit))){ jQuery('#comment_limit_'+tchat).val(limit); }else{ jQuery('#showMoreErea_'+tchat).html(''); } } // Spoiler comment Start --> // function showSpoilerComment(SpoilerCommentId) { // jQuery('p#'+SpoilerCommentId).children('spoiler').toggle(); // } // Report Broken Link Section Start --> function ReportLink(movie_link_id) { jQuery('.message_success').empty(); jQuery('input[name=complain_type]:checked').removeAttr('checked'); jQuery("#report_link_comment").val(''); jQuery('#movie_link_id').val(movie_link_id); jQuery("#dead_link_radio").click(function () { jQuery("#report_link_comment").val('').hide(); jQuery('.message_success').empty(); }); jQuery("#other_link_radio").click(function () { jQuery("#report_link_comment").show(); jQuery('.message_success').empty(); }); } jQuery("#submit_broken_link").click(function (e) { jQuery('.message_success').empty(); e.preventDefault; var movie_link_id = jQuery('#movie_link_id').val(); jQuery('.message_success').empty(); var complain_type = jQuery("input[name=complain_type]:checked").val(); var description = checkScriptTag(jQuery("#report_link_comment").val()); if ((complain_type == 1) || ((complain_type == 2) && (description.length > 0))) { jQuery.ajax({ type: "POST", url: serverurl + "broken_links/ajax_add_movie", data: {movie_links_id: movie_link_id, complain_type: complain_type, description: description}, success: function (data) { //alert(data); if (data == 1) { //jQuery("#myModal").dialog('close'); // jQuery('.message_success').html('

'); jQuery('#ukflashmsg').html('

Succès!

Merci de votre signalement !

'); jQuery('#ukflashmsg').css('display','block'); } else if (data == 2) { //jQuery('.message_success').html('

'); jQuery('#ukflashmsg').html('

Pas de lien disponible!

Nous avons déjà reçu votre signalement, nous le vérifierons dès que possible. Merci !

'); jQuery('#ukflashmsg').css('display','block'); } else { //jQuery('.message_success').html('

.

'); jQuery('#ukflashmsg').html('

Pas de lien disponible!

merci de réessayer.

'); jQuery('#ukflashmsg').css('display','block'); } jQuery("#myModal").modal('hide'); jQuery('html, body').animate({scrollTop :jQuery('#main').offset().top},800);//scroll to top of flash message jQuery("#movie_broken_report_"+movie_link_id).html('
  • '); }, error: function () { jQuery("#myModal").modal('hide'); jQuery('#myModalError').modal('show'); } }); } else { jQuery('.message_success').html('

    Merci de remplir tous les champs pour valider votre signalement !

    '); } }); // Report Broken Link Section End . // function convertYouTube(id_class) { // // jQuery('#'+id_class).html(function(i, html) { // return html.replace(/(?:http:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?([a-zA-Z0-9]+)(?: )?(.*)?/, ' $2'); // }); // } function addComment() { var user_id = jQuery('#log_in_user_id').val(); var is_spoiler = (jQuery('#is_spoiler_0').is(":checked")) ? 1 : 0; var comment_value = jQuery('#inputComment_0').val(); var comment_value = checkScriptTag(comment_value); var removedSpoilerString = removeElements(comment_value, "spoiler"); if (user_id) { if (removedSpoilerString) { jQuery.ajax({ type: "POST", url: "/movies/ajax_add_comment", data: {user_id: user_id, link_id: 0, movie_id: movie_id, comment_value: comment_value, is_spoiler: is_spoiler}, dataType: "text", success: function (data) { jQuery('#allCommentsSection_0').prepend(data); jQuery('#inputComment_0').val(''); jQuery('#is_spoiler_0').attr('checked', false); // Unchecks it //convertYouTube('allCommentsSection_0'); } }); } else { showValidCommentDialogue(); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour poster un commentaire"); } } // add tchat comment function addTchatComment() { var user_id = jQuery('#log_in_user_id').val(); var is_spoiler = (jQuery('#is_spoiler_tchat_0').is(":checked")) ? 1 : 0; var movie_id = jQuery('#movie_id').val(); var comment_value = checkScriptTag(jQuery('#inputComment_tchat0').val()); var removedSpoilerString = removeElements(comment_value, "spoiler"); if (user_id) { if (removedSpoilerString) { jQuery.ajax({ type: "POST", url: "/movies/ajax_add_tchat_comment", data: {user_id: user_id, link_id: 0, movie_id: movie_id, comment_value: comment_value, is_spoiler: is_spoiler}, dataType: "text", success: function (data) { jQuery('#allCommentsSection_tchat_0').prepend(data); jQuery('#inputComment_tchat0').val(''); jQuery('#is_spoiler_tchat_0').attr('checked', false); // Unchecks it //convertYouTube('allCommentsSection_tchat_0'); } }); } else { showValidCommentDialogue(); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour pouvoir Tchatter"); } } // function convertYouTubeReply(id){ // jQuery('#childComments_'+ id).html(function(i, html) { // return html.replace(/(?:http:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?([a-zA-Z0-9]+)(?: )?(.*)?/, ' $2'); // }); // // } function addReplyComment(comment_id) { var comment_value = checkScriptTag(jQuery('#inputReplyComment_' + comment_id).val()); var user_id = jQuery('#log_in_user_id').val(); var is_spoiler = (jQuery('#is_spoiler_reply' + comment_id).is(":checked")) ? 1 : 0; var movie_id = jQuery('#movie_id').val(); var removedSpoilerString = removeElements(comment_value, "spoiler"); if (user_id) { if (removedSpoilerString) { jQuery.ajax({ type: "POST", url: "/movies/ajax_add_reply_comment", data: {user_id: user_id, movie_id: movie_id, comment_value: comment_value, parent_id: comment_id, is_spoiler: is_spoiler}, dataType: "text", success: function (data) { jQuery('#childComments_' + comment_id).append(data); jQuery('#inputReplyComment_' + comment_id).val(''); jQuery('#is_spoiler_reply' + comment_id).attr('checked', false); // Unchecks it //convertYouTube('childComments_' + comment_id); } }); } else { showValidCommentDialogue(); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour répondre à un commentaire"); } } function showMore() { var last_episode_id = jQuery("#last_episode_id").val(); var movie_id = jQuery('#movie_id').val(); //showLoader(); jQuery.ajax({ url: '/movies/show_more_movie_details', data: {movie_id: movie_id, episodeId: last_episode_id}, success: function (data) { //alert(data); if (data) { jQuery('#show_more_result').append(data); var inc = parseInt(last_episode_id) + parseInt(4); jQuery("#last_episode_id").val(inc); } else { alert('gh'); jQuery(".showMoreErea").html('') } }, complete: function (data) { // hideLoader(); } }); } /* filter the links by quality*/ function filterByQuality(quality_id) { // filter by player if player is active // if(checkListViewSelected()){ // return false; // } var player_id; jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { player_id = jQuery(this).attr('id'); return false } }); if (player_id === undefined) { player_id = ''; } // End filter by player if player is active /*to remove language filter*/ jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) /*end to remove language filter*/ var movie_id = jQuery('#movie_id').val(); showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'movies/filter_quality_data', data: {movie_id: movie_id, quality_id: quality_id, player_id: player_id}, success: function (data) { if (data) { jQuery('#episodeItemsContent').html(data); jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { jQuery(this).removeClass('active'); return false } }) jQuery('li.qualityOption_' + quality_id).addClass('active'); } }, complete: function (data) { hideLoader(); onvideo(); //for ad } }); } function filterByQualityMore(quality_id) { // filter by player if player is active if(user_id){ var limit = jQuery('#show_more_quality_result').children().last().attr('id'); var limit = limit.split('_'); var limit = limit[1]; }else{ var limit = jQuery('#show_more_quality_result tr').last().attr('id'); } var player_id; jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { player_id = jQuery(this).attr('id'); return false } }); if (player_id === undefined) { player_id = ''; } /*to remove language filter*/ jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) /*end to remove language filter*/ // End filter by player if player is active var movie_id = jQuery('#movie_id').val(); // showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'movies/filter_quality_data_more', data: {movie_id: movie_id, quality_id: quality_id, player_id: player_id, limit: limit}, success: function (data) { if (data != 1) { jQuery('#show_more_quality_result').append(data); jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { jQuery(this).removeClass('active'); return false } }) jQuery('li.qualityOption_' + quality_id).addClass('active'); } else { jQuery(".showMoreErea").html('') } }, complete: function (data) { // hideLoader(); } }); } // function checkListViewSelected(){ // alert(jQuery('a#a-list').hasClass('cbp-vm-selected')) // if(jQuery('a#a-list').hasClass('cbp-vm-selected')){ // return true; // } // return false; // } /* filter by player*/ function filterByPlayer(player_id) { var quality_id; // if(checkListViewSelected()){ // return false; // } jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { quality_id = jQuery(this).attr('id'); return false } }); /*to remove language filter*/ jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) /*end to remove language filter*/ var movie_id = jQuery('#movie_id').val(); var last_episode_id = jQuery('#last_episode_id').val(); showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'movies/filter_player_data', data: {movie_id: movie_id, player_id: player_id, quality_id: quality_id}, success: function (data) { if (data) { jQuery('#episodeItemsContent').html(data); jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.playerOption_' + player_id).addClass('activeplayer'); } }, complete: function (data) { hideLoader(); //onvideo(); //for ad } }); // to refresh langauge count jQuery.ajax({ type: "POST", url: serverurl + 'movies/get_langauage_link_count', data: {movie_id: movie_id, player_id: player_id, }, dataType: "html", success: function (data) { //console.log(data); jQuery('.language-filter').html(data); } }); // to refresh quality count jQuery.ajax({ type: "POST", url: serverurl + 'movies/get_quality_link_count', data: {movie_id: movie_id, player_id: player_id, }, dataType: "html", success: function (data) { //console.log(data); jQuery('.quality-filter').html(data); } }); } /* filter by player pagination*/ function filterByPlayerMore(player_id) { if(user_id){ var limit = jQuery('#show_more_player_result').children().last().attr('id'); var limit = limit.split('_'); var limit = limit[1]; }else{ var limit = jQuery('#show_more_player_result tr').last().attr('id'); } var quality_id; jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { quality_id = jQuery(this).attr('id'); return false } }); /*to remove language filter*/ jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) /*end to remove language filter*/ var movie_id = jQuery('#movie_id').val(); jQuery.ajax({ type: "POST", url: serverurl + 'movies/filter_player_data_more', data: {movie_id: movie_id, player_id: player_id, quality_id: quality_id, limit: limit}, success: function (data) { if (data != 1) { jQuery('#show_more_player_result').append(data); jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.playerOption_' + player_id).addClass('activeplayer'); } else { jQuery('.showMoreErea').html(''); } }, complete: function (data) { } }); } /* filter by language*/ function filterByLanuage(language_id) { // if(checkListViewSelected()){ // return false; // } var quality_id; var player_id; /* to check the quality*/ jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { quality_id = jQuery(this).attr('id'); return false } }); /* end to check the quality*/ /*to check player*/ jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { player_id = jQuery(this).attr('id'); return false } }); if (player_id === undefined) { player_id = ''; } /*end to check player*/ var movie_id = jQuery('#movie_id').val(); var last_episode_id = jQuery('#last_episode_id').val(); showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'movies/filter_language_data', data: {movie_id: movie_id, player_id: player_id, quality_id: quality_id, language_id: language_id}, success: function (data) { if (data) { jQuery('#episodeItemsContent').html(data); jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.languageOption_' + language_id).addClass('activeplayer'); /*to remove quality*/ jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { jQuery(this).removeClass('active'); jQuery('li.qualityOption_0').addClass('active'); return false } }) /*end to remove quality*/ } }, complete: function (data) { hideLoader(); onvideo(); //for ad } }); } function filterByLanuageMore(language_id) { if(user_id){ var limit = jQuery('#show_more_language_result').children().last().attr('id'); var limit = limit.split('_'); var limit = limit[1]; }else{ var limit = jQuery('#show_more_language_result tr').last().attr('id'); } var quality_id; var player_id; /* to check the quality*/ jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { quality_id = jQuery(this).attr('id'); return false } }); /* end to check the quality*/ /*to check player*/ jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { player_id = jQuery(this).attr('id'); return false } }); if (player_id === undefined) { player_id = ''; } /*end to check player*/ var movie_id = jQuery('#movie_id').val(); jQuery.ajax({ type: "POST", url: serverurl + 'movies/filter_language_data_more', data: {movie_id: movie_id, player_id: player_id, quality_id: quality_id, language_id: language_id, limit: limit}, success: function (data) { if (data != 1) { jQuery('#show_more_language_result').append(data); jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.languageOption_' + language_id).addClass('activeplayer'); } else { jQuery('.showMoreErea').html(''); } }, complete: function (data) { } }); } /* to add like for movie link */ function comment_like(primary_comment_id) { //alert('dtrt'); if (user_id > 0) { var like = 'like_' + primary_comment_id; jQuery.ajax({ type: "POST", url: serverurl + 'movies/add_like_comment', data: {primary_comment_id: primary_comment_id}, success: function (data) { jQuery('#' + like).html(data); } }); } else { show_login("Vous devez être connecté sur votre compte DPStream pour liker ce commentaire"); } } /* to add dislike for movie link */ function comment_dislike(primary_comment_id) { var dislike = 'dislike_' + primary_comment_id; if (user_id > 0) { jQuery.ajax({ type: "POST", url: serverurl + 'movies/add_dislike_comment', data: {primary_comment_id: primary_comment_id}, success: function (data) { jQuery('#' + dislike).html(data); } }); } else { show_login("Vous devez être connecté sur votre compte DPStream pour dislike ce commentaire"); } } /* to report the abuse*/ function report_abuse(id) { jQuery('#allCommentsSection_' + id).find('.abuse').show(); } /* to report the abuse on hover*/ jQuery(document.body).on('mouseover', '.commentContent', function (e) { var parent_id = jQuery(this).parents('div.commentErea').parent().attr('id'); jQuery('#' + parent_id).find('.abuse').toggle(); }); /* to submit the report abuse*/ function submit_abuse_comment(comment_id, commented_user_id) { if (user_id > 0) { var description = checkScriptTag(jQuery('#report_abuse_text_' + comment_id).val()); if (description != '') { jQuery.ajax({ type: "POST", url: serverurl + 'movies/submit_report_abuse', data: { comment_id: comment_id, commented_user_id: commented_user_id, description: description}, success: function (data) { if (data == 1) { alert('You have submited successfully'); jQuery('#report_abuse_text_' + comment_id).val(" "); jQuery(function () { jQuery('#close_' + comment_id).click(); }); } else { alert('You have already submited'); jQuery('#report_abuse_text_' + comment_id).val(" "); jQuery(function () { jQuery('#close_' + comment_id).click(); }); } } }); } else { alert('Please enter the text'); // jQuery('.message_success_'+comment_id).html('Please enter the text'); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour signaler un abus"); } } /* to generate spoiler tag on comments*/ function generate_spoiler_tag() { if (jQuery('#is_spoiler_0').is(':checked')) { var input_val = jQuery('#inputComment_0').val(); jQuery('#inputComment_0').val(' ' + input_val + ' ') } else { var string = jQuery('#inputComment_0').val(); var new_string = string.replace(' ', '').replace(' ', ''); jQuery('#inputComment_0').val(new_string); } } /* to generate spoiler tag on tchat comments*/ function generate_spoiler_tag_tchat() { if (jQuery('#is_spoiler_tchat_0').is(':checked')) { var input_val = jQuery('#inputComment_tchat0').val(); jQuery('#inputComment_tchat0').val(' ' + input_val + ' ') } else { var string = jQuery('#inputComment_tchat0').val(); var new_string = string.replace(' ', '').replace(' ', ''); jQuery('#inputComment_tchat0').val(new_string); } } /* to generate spoiler tag on reply comments*/ function generate_spoiler_reply_tag(comment_id) { if (jQuery('#is_spoiler_reply' + comment_id).is(':checked')) { var input_val = jQuery('#inputReplyComment_' + comment_id).val(); jQuery('#inputReplyComment_' + comment_id).val(' ' + input_val + ' ') } else { var string = jQuery('#inputReplyComment_' + comment_id).val(); var new_string = string.replace(' ', '').replace(' ', ''); jQuery('#inputReplyComment_' + comment_id).val(new_string); } } /* to delete comments */ function ajaxDeleteComment(id,type){ var check = confirm("Are you sure you want to delete?"); if (check == true) { jQuery.ajax({ type: 'POST', url: serverurl + 'movies/ajax_delete_comment/', data:{id:id}, success: function(data) { if(data == 1){ if(type == 'reply'){ jQuery("#reply"+id).remove(); }else{ jQuery("#comment"+id).remove(); } } }, error: function(){ alert('Whoops! This didn\'t work. Please contact us.') } }); } else { return false; } } /* to delete tchat comments */ function ajaxDeleteTchat(id){ var check = confirm("Are you sure you want to delete?"); if (check == true) { jQuery.ajax({ type: 'POST', url: serverurl + 'movies/ajax_delete_tchatcomment/', data:{id:id}, success: function(data) { if(data == 1){ jQuery("#tchat"+id).remove(); } }, error: function(){ alert('Whoops! This didn\'t work. Please contact us.') } }); } else { return false; } }