Code Geass : Hangyaku no Lelouch - Koudou
Statut : Terminé
Code Geass : Hangyaku no Lelouch - Koudou affiche
Episode 1
Synopsis :
0
Followers 7
Views
4,909
Code Geass : Hangyaku no Lelouch - Koudou
Statut : Terminé
Code Geass : Hangyaku no Lelouch - Koudou affiche
Code Geass : Hangyaku no Lelouch - Kōdō
Épisodes : 1
Format : 117 min
Followers 7
Views
4,909
Code Geass : Hangyaku no Lelouch - Koudou
Statut : Terminé
Code Geass : Hangyaku no Lelouch - Koudou affiche
Code Geass : Hangyaku no Lelouch - Kōdō
Synopsis : Titre alternatif : Code Geass : Lelouch of the Rebellion - The Awakening Path / Code Geass - 10th anniversary Project - Movie 1

Premier film d'une trilogie compilant les 2 premières saisons de Code Geass (Code Geass: Lelouch of the Rebellion et Code Geass: Lelouch of the Rebellion R2). Le film contient des scènes supplémentaires.
Followers 7
Views
4,909
Code Geass : Hangyaku no Lelouch - Koudou
Statut : Terminé
Code Geass : Hangyaku no Lelouch - Koudou affiche
Code Geass : Hangyaku no Lelouch - Kōdō
Followers 7
Views
4,909
Code Geass : Hangyaku no Lelouch - Koudou
Statut : Terminé
Code Geass : Hangyaku no Lelouch - Koudou affiche
Code Geass : Hangyaku no Lelouch - Kōdō
Followers 7
Views
4,909

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.
"; var guest_normal_user = "1"; var serverurl = 'http://colombia-mmm.net/'; var user_id = 0; var anime_id = jQuery("#anime_id").val(); var episode_id= jQuery("#episode_id").val(); var user_age = jQuery('#user_age').val(); var anime_csa_type = jQuery('#anime_csa_type').val(); var anime_csa_age = jQuery('#anime_csa_age_value').val(); var anime_csa_cookie = jQuery('#anime_csa_cookie').val(); var playlist_time = 0; jQuery(document).ready(function() { prevNextEpisode(episode_id); onvideo(); //for ad }); // function ReportLink(anime_link_id) { jQuery('.message_success').empty(); jQuery('input[name=complain_type]:checked').removeAttr('checked'); jQuery('#report_link_anime_episode_number').val(''); jQuery("#report_link_comment").val(''); jQuery('#anime_link_id').val(anime_link_id); jQuery("#dead_link_radio").click(function () { jQuery("#report_link_comment").val('').hide(); jQuery('.message_success').empty(); jQuery('#report_link_anime_episode_number').val('').hide(); }); jQuery("#wrong_episode_link_radio").click(function () { jQuery("#report_link_comment").val('').hide(); jQuery('#report_link_anime_episode_number').show(); jQuery('.message_success').empty(); }); jQuery("#other_link_radio").click(function () { jQuery("#report_link_comment").show(); jQuery('.message_success').empty(); jQuery('#report_link_anime_episode_number').val('').hide(); });// report_link_anime_episode_number } jQuery("#submit_broken_link").click(function (e) { // jQuery('.message_success').empty(); e.preventDefault; var anime_link_id = jQuery('#anime_link_id').val(); // jQuery('.message_success').empty(); var complain_type = jQuery("input[name=complain_type]:checked").val(); var anime_episode_number= jQuery('#report_link_anime_episode_number').val(); //alert(anime_episode_number); var description = checkScriptTag(jQuery("#report_link_comment").val()); if ((complain_type == 1) || ((complain_type == 3) && (description.length > 0)) || ((complain_type == 2 && anime_episode_number.length > 0)) ) { jQuery.ajax({ type: "POST", url: serverurl + "broken_links/ajax_add_anime", data: {anime_links_id: anime_link_id, complain_type: complain_type,anime_episode_number:anime_episode_number, description: description}, // dataType: "text", 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("#anime_broken_report_"+anime_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 addComment(){ var user_id = jQuery('#log_in_user_id').val(); var removedSpoilerString; if(user_id>0){ var is_spoiler= (jQuery('#is_spoiler_0').is(":checked")) ? 1 : 0; var comment_value=checkScriptTag(jQuery('#inputComment_0').val()); removedSpoilerString = removeElements1(comment_value, "spoiler"); // alert(removedSpoilerString);return false; if(removedSpoilerString){ jQuery.ajax({ type: "POST", url: serverurl+ 'animes/ajax_add_comment', data : { user_id:user_id , link_id:0 , comment_value:comment_value ,is_spoiler:is_spoiler,anime_id:anime_id }, dataType: "text", success: function (data) { jQuery('#allCommentsSection_0').prepend(data); jQuery('.abuse').hide(); jQuery('#inputComment_0').val(''); jQuery('#is_spoiler_0').attr('checked', false); // Unchecks it } }); }else{ showValidCommentDialogue(); } }else{ show_login("Vous devez être connecté sur votre compte DPStream pour poster un commentaire"); } } function addEpisodeComment(){ var anime_episode_id = jQuery("#episode_id").val(); var user_id = jQuery('#log_in_user_id').val(); if(user_id>0){ var is_spoiler= (jQuery('#is_spoiler_episode_comment_0').is(":checked")) ? 1 : 0; var comment_value=checkScriptTag(jQuery('#input_episode_comment_0').val()); var removedSpoilerString = removeElements1(comment_value, "spoiler"); if(removedSpoilerString){ jQuery.ajax({ type: "POST", url: serverurl+ 'comments/ajax_add_comment_episode', data : { user_id:user_id , anime_episode_id:anime_episode_id , comment_value:comment_value ,is_spoiler:is_spoiler,anime_id:anime_id }, dataType: "text", success: function (data) { jQuery('#all_episode_comment_section_0').prepend(data); jQuery('.abuse').hide(); jQuery('#input_episode_comment_0').val(''); jQuery('#is_spoiler_episode_comment_0').attr('checked', false); // Unchecks it } }); }else{ showValidCommentDialogue(); } }else{ show_login("Vous devez être connecté sur votre compte DPStream pour commenter cet épisode"); } } 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 get_anime_episode_links(episode_id,specific_chat,anime_slug,anime_id,episode_num,oav,is_special,special_slug,is_multi,is_triple){ var anime_title = jQuery("#anime_title").val(); jQuery("ul.episode_number_right").find('.active_episode').removeClass('active_episode').addClass('default'); if(oav==1){ jQuery("a#oav_"+episode_id).addClass('active_episode'); }else{ jQuery("a#epi_"+episode_id).addClass('active_episode'); } showLoader(); jQuery.ajax({ type: "POST", url: serverurl+'animes/get_anime_episode_links', data : { episode_id:episode_id,specific_chat:specific_chat,anime_id:anime_id}, dataType: "html", success: function (data) { //added for url jQuery("#anime_ajax_episode_id").val(episode_id); if(window.history.state==null){ if(is_special==1){ var ajaxurl = serverurl+'anime-'+anime_id+'-'+anime_slug+'/'+special_slug+'.html'; }else if(is_multi == 1){ var episode_num_plus= parseInt(episode_num)+1; var ajaxurl = serverurl+'anime-'+anime_id+'-'+anime_slug+'/episode-'+episode_num+'-'+episode_num_plus+'.html'; }else if(is_triple == 1){ var episode_num_plus= parseInt(episode_num)+1; var episode_num_triple= parseInt(episode_num)+2; var ajaxurl = serverurl+'anime-'+anime_id+'-'+anime_slug+'/episode-'+episode_num+'-'+episode_num_plus+'-'+episode_num_triple+'.html'; }else if(oav == 1){ var ajaxurl = serverurl+'anime-'+anime_id+'-'+anime_slug+'/oav-'+episode_num+'.html'; }else{ var ajaxurl = serverurl+'anime-'+anime_id+'-'+anime_slug+'/episode-'+episode_num+'.html'; } window.history.pushState({url: "" + ajaxurl + ""}, episode_num, ajaxurl); }else{ if(is_special==1){ var ajaxurl = special_slug+'.html'; }else if(is_multi == 1){ var episode_num_plus= parseInt(episode_num)+1; var ajaxurl = serverurl+'anime-'+anime_id+'-'+anime_slug+'/episode-'+episode_num+'-'+episode_num_plus+'.html'; }else if(is_triple == 1){ var episode_num_plus= parseInt(episode_num)+1; var episode_num_triple= parseInt(episode_num)+2; var ajaxurl = serverurl+'anime-'+anime_id+'-'+anime_slug+'/episode-'+episode_num+'-'+episode_num_plus+'-'+episode_num_triple+'.html'; }else if(oav == 1){ var ajaxurl = serverurl+'anime-'+anime_id+'-'+anime_slug+'/oav-'+episode_num+'.html'; }else{ var ajaxurl = 'episode-'+episode_num+'.html'; } window.history.pushState({url: "" + ajaxurl + ""}, episode_num, ajaxurl); } //end // added for seo var lang_episode = 'épisode'; var meta_title = anime_title+' '+lang_episode+' '+episode_num+' en streaming - DpStream'; var meta_keywords = 'Manga '+anime_title+' streaming, '+anime_title+' dpstream, Manga '+anime_title+' HD, '+anime_title+' streaming VF, '+anime_title+' '+lang_episode+' '+episode_num+' en streaming'; var meta_descriptions = 'Manga '+anime_title+' '+lang_episode+' '+episode_num+' en streaming'; jQuery('title').html(meta_title); jQuery('meta[name=keywords]').attr('content', meta_keywords); jQuery('meta[name=description]').attr('content', meta_descriptions); jQuery("meta[property='og\\:title']").attr("content", meta_title); jQuery("meta[property='og\\:description']").attr("content", meta_descriptions); //end jQuery('#episodeItemsContent').html(data); jQuery("#last_episode_id").val('4'); jQuery('ul.quality-filter li').each(function () { if(jQuery(this).hasClass('active') == true){ jQuery(this).removeClass('active'); return false } }); jQuery('li.qualityOption_0').addClass('active'); //to reset settimeout function of addto playlist autoAddPlaylist(); //load comment by episode getComment(anime_id,episode_id); jQuery('#episode_id').val(episode_id); }, complete: function (data) { jQuery('html, body').animate({scrollTop :jQuery('#main').offset().top},800);//scroll to top of flash message onvideo(); //for ads prevNextEpisode(episode_id); loadEpisodeInfo(episode_id,anime_id,episode_num,is_multi,is_triple,is_special,oav); } }); // to refresh the player count jQuery.ajax({ type: "POST", url: serverurl+'animes/get_player_link_count', data : { episode_id:episode_id}, dataType: "html", success: function (data) { //console.log(data); jQuery('.palyers-filter').html(data); } }); // to refresh the language count jQuery.ajax({ type: "POST", url: serverurl+'animes/get_langauage_link_count', data : { episode_id:episode_id}, dataType: "html", success: function (data) { //console.log(data); jQuery('.language-filter').html(data); } }); // to refresh quality count jQuery.ajax({ type: "POST", url: serverurl+'animes/get_quality_link_count', data : { episode_id:episode_id}, dataType: "html", success: function (data) { //console.log(data); jQuery('.quality-filter').html(data); } }); // to refresh the adds on top detail page jQuery.ajax({ type: "POST", url: serverurl+'animes/reload_advertise', dataType: "html", success: function (data) { //console.log(data); jQuery('.center').html(data); } }); } function loadEpisodeInfo(episode_id,anime_id,episode_num,is_multi,is_triple,is_special,oav){ jQuery.ajax({ url: serverurl + "animes/showepisodeTopValues/", type: "POST", data:{episode_id:episode_id,anime_id:anime_id,episode_num:episode_num}, success: function (data) { jQuery(".episode-view").html(data.anime_view_count); jQuery(".anime_star_rating").val(data.rankdata); jQuery("#episodeSynopsis").html(''); if(data.episode_synopsis.toString()!='N'){ jQuery("#episodeSynopsis").html('Synopsis : '+data.episode_synopsis+''); }else{ jQuery("#episodeSynopsis").html("Synopsis: "); } if(is_multi == "1") { var multi_val = episode_num+1; jQuery("#episodeTitle").html('Episode '+episode_num+'-'+multi_val); } else if(is_triple == "1") { var multi_val = episode_num+1; var triple_val = episode_num+2; jQuery("#episodeTitle").html('Episode '+episode_num+'-'+multi_val+'-'+triple_val); } else if(oav == "1") { jQuery("#episodeTitle").html('OAV '+episode_num); } else if(is_special == "1") { var multi_val = episode_num+1; jQuery("#episodeTitle").html('Episode '+episode_num+'-'+multi_val); } else { jQuery("#episodeTitle").html('Episode '+episode_num); } jQuery(".fiveStarRatingFun").remove(); jQuery(".anime_star_rating").fiveStarRatingFun({ starLength: '5', initialValue:data.rankdata, callbackFunctionName: 'mainRating', imageDirectory: '/img', inputAttr: 'postID', chkuser:user_id, errMsg:"Vous devez être connecté sur votre compte DPStream pour attribuer une note" }); jQuery(".episode-vote").html(''); jQuery(".episode-vote").html(data.votedata); var rateval = data.rankdata; jQuery('.tv-ratingstar ul').each(function(i) { jQuery(this).children("li").slice(0,4).css('background-position','0px 0px'); jQuery(this).children("li").slice(0,rateval).css('background-position','0px -28px'); }); hideLoader(); }, }); } function getComment(anime_id,anime_episode_id){ var specific_chat =0 ; jQuery.ajax({ type: "POST", url: serverurl+'comments/get_comment', data: {anime_id: anime_id, anime_episode_id:anime_episode_id,specific_chat:specific_chat}, dataType: "html", success: function (data) { jQuery('#episodeItemCommentWrap_0').html(data); } }); } function addReplyComment(comment_id) { var comment_value=checkScriptTag(jQuery('#inputReplyComment_'+comment_id).val()); var is_spoiler= (jQuery('#is_spoiler_reply'+comment_id).is(":checked")) ? 1 : 0; var user_id = jQuery('#log_in_user_id').val(); var removedSpoilerString = removeElements1(comment_value, "spoiler"); if (user_id) { if (removedSpoilerString) { jQuery.ajax({ type: "POST", url: serverurl+'animes/ajax_add_reply_comment', data: {user_id: user_id, link_id: 0, comment_value: comment_value,parent_id:comment_id,is_spoiler:is_spoiler,anime_id :anime_id}, dataType: "text", success: function (data) { jQuery('#childComments_'+comment_id).append(data); jQuery('.abuse').hide(); jQuery('#inputReplyComment_' + comment_id).val(''); jQuery('#is_spoiler_reply'+ comment_id).attr('checked', false); // Unchecks it } }); } else { showValidCommentDialogue(); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour répondre à un commentaire"); } } function addReplyEpisodeComment(comment_id) { var comment_value=checkScriptTag(jQuery('#inputReplyEpisodeComment_'+comment_id).val()); var is_spoiler= (jQuery('#is_spoiler_episode_comment_reply'+comment_id).is(":checked")) ? 1 : 0; var user_id = jQuery('#log_in_user_id').val(); var removedSpoilerString = removeElements1(comment_value, "spoiler"); if (user_id) { if (removedSpoilerString) { jQuery.ajax({ type: "POST", url: serverurl+'comments/ajax_add_reply_comment_episode', data: {user_id: user_id, anime_episode_id:episode_id, comment_value: comment_value,parent_id:comment_id,is_spoiler:is_spoiler,anime_id :anime_id}, dataType: "text", success: function (data) { jQuery('#child_episode_Comments_'+comment_id).append(data); jQuery('.abuse').hide(); jQuery('#inputReplyEpisodeComment_' + comment_id).val(''); jQuery('#is_spoiler_episode_comment_reply'+ comment_id).attr('checked', false); // Unchecks it } }); } else { showValidCommentDialogue(); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour commenter cet épisode"); } } function showMoreAjax () { var last_episode_id =jQuery("#last_episode_id").val(); var anime_episode_id=jQuery('#anime_episode_id_for_filter').val(); var specific_chat =0 ; //showLoader(); jQuery.ajax({ url: serverurl+'animes/show_more_anime_details_ajax', data: {anime_episode_id:anime_episode_id,episodeId:last_episode_id,specific_chat:specific_chat,episodeId:last_episode_id}, success: function(data) { if(data){ jQuery('#show_more_result').append(data); var inc= parseInt(last_episode_id)+parseInt(4); jQuery("#last_episode_id").val(inc); }else{ jQuery(".showMoreErea").html('') } }, complete: function (data) { //hideLoader(); } }); } // }); function filterByQuality(quality_id){ // filter by player if player is active 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 anime_episode_id = jQuery('#anime_episode_id_for_filter').val(); if(anime_episode_id !== undefined){ showLoader(); var specific_chat =0 ; jQuery.ajax({ type: "POST", url: serverurl+'animes/filter_quality_data', data: {anime_episode_id:anime_episode_id,quality_id:quality_id,player_id:player_id,specific_chat:specific_chat}, 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'); }else{ } }, complete: function (data) { hideLoader(); onvideo(); //for ad prevNextEpisode(anime_episode_id); } }); }else{ jQuery('#episodeItemsContent').html('No links found'); 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'); } } function filterByQualityMore(quality_id){ 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'); } // filter by player if player is active 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 anime_episode_id = jQuery('#anime_episode_id_for_filter').val(); var specific_chat =0 ; jQuery.ajax({ type: "POST", url: serverurl+'animes/filter_quality_data_more', data: {anime_episode_id:anime_episode_id,quality_id:quality_id,player_id:player_id,specific_chat:specific_chat,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) { prevNextEpisode(anime_episode_id); } }); } /* filter links by player */ function filterByPlayer(player_id){ var quality_id ; var specific_chat =0 ; 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 anime_episode_id = jQuery('#anime_episode_id_for_filter').val(); if(anime_episode_id !== undefined){ showLoader(); jQuery.ajax({ type: "POST", url: serverurl+'animes/filter_player_data', data: {anime_episode_id:anime_episode_id,player_id:player_id,quality_id:quality_id,specific_chat:specific_chat}, 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 prevNextEpisode(anime_episode_id); } }); // to refresh langauge count jQuery.ajax({ type: "POST", url: serverurl+'animes/get_langauage_link_count', data : { episode_id:anime_episode_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+'animes/get_quality_link_count', data : { episode_id:anime_episode_id,player_id:player_id,}, dataType: "html", success: function (data) { //console.log(data); jQuery('.quality-filter').html(data); } }); }else{ jQuery('#episodeItemsContent').html('No links found'); jQuery('ul.palyers-filter li').each(function () { if(jQuery(this).hasClass('activeplayer') == true){ jQuery(this).removeClass('activeplayer'); } }) jQuery('li.playerOption_'+player_id).addClass('activeplayer'); } } /* load more filter links by player */ 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 ; var specific_chat =0 ; 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 anime_episode_id = jQuery('#anime_episode_id_for_filter').val(); if(anime_episode_id === undefined){ anime_episode_id=''; } jQuery.ajax({ type: "POST", url: serverurl+'animes/filter_player_data_more', data: {anime_episode_id:anime_episode_id,player_id:player_id,quality_id:quality_id,specific_chat:specific_chat,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) { prevNextEpisode(anime_episode_id); } }); } /* filter by language*/ function filterByLanuage(language_id){ var anime_episode_id = jQuery('#anime_episode_id_for_filter').val(); /* to check which player is active*/ var player_id; var quality_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 to check which player is active*/ /* to check which quality is active */ jQuery('ul.quality-filter li').each(function () { if(jQuery(this).hasClass('active') == true){ quality_id = jQuery(this).attr('id'); return false } }); /* end to check which quality is active */ if(anime_episode_id !== undefined){ showLoader(); jQuery.ajax({ type: "POST", url: serverurl+'animes/filter_language_data', data: {anime_episode_id:anime_episode_id,language_id:language_id,player_id:player_id,quality_id:quality_id}, success: function(data) { if(data!=1){ 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*/ }else{ jQuery('.showMoreErea').html(''); } }, complete: function (data) { hideLoader(); onvideo(); //for ad prevNextEpisode(anime_episode_id); } }); }else{ jQuery('#episodeItemsContent').html('No links found'); jQuery('ul.language-filter li').each(function () { if(jQuery(this).hasClass('activeplayer') == true){ jQuery(this).removeClass('activeplayer'); } }) jQuery('li.languageOption_'+language_id).addClass('activeplayer'); } } 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 anime_episode_id = jQuery('#anime_episode_id_for_filter').val(); /* to check which player is active*/ var player_id; var quality_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 to check which player is active*/ /* to check which quality is active */ jQuery('ul.quality-filter li').each(function () { if(jQuery(this).hasClass('active') == true){ quality_id = jQuery(this).attr('id'); return false } }); /* end to check which quality is active */ if(anime_episode_id !== undefined){ jQuery.ajax({ type: "POST", url: serverurl+'animes/filter_language_data_more', data: {anime_episode_id:anime_episode_id,language_id:language_id,player_id:player_id,quality_id:quality_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) { prevNextEpisode(anime_episode_id); } }); }else{ //alert('dg'); jQuery('#episodeItemsContent').html('No links found'); } } /* to add like for anime link */ function comment_like(primary_comment_id){ if (user_id>0) { var like = 'like_'+primary_comment_id; jQuery.ajax({ type: "POST", url: serverurl+'animes/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 anime link */ function comment_dislike(primary_comment_id){ var dislike = 'dislike_'+primary_comment_id; if (user_id>0) { jQuery.ajax({ type: "POST", url: serverurl+'animes/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 add like for episode comment */ function episode_comment_like(primary_comment_id){ if (user_id>0) { var like = 'episode_comment_like_'+primary_comment_id; jQuery.ajax({ type: "POST", url: serverurl+'comments/add_like_comment_episode', 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 episode comment */ function episode_comment_dislike(primary_comment_id){ var dislike = 'episode_comment_dislike_'+primary_comment_id; if (user_id>0) { jQuery.ajax({ type: "POST", url: serverurl+'comments/add_dislike_comment_episode', 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 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+'animes/submit_report_abuse', data: {link_id:0,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"); } } function submit_abuse_episode_comment(comment_id,commented_user_id){ if (user_id>0) { var description = checkScriptTag(jQuery('#episode_comment_report_abuse_text_'+comment_id).val()); var anime_id = jQuery('#anime_id').val(); if(description != ''){ jQuery.ajax({ type: "POST", url: serverurl+'comments/submit_comment_episode_report_abuse', data: {anime_id:anime_id,comment_id:comment_id,commented_user_id:commented_user_id,description:description}, success: function(data) { if(data == 1){ alert('You have submited successfully'); jQuery('#episode_comment_report_abuse_text_'+comment_id).val(''); jQuery(function(){ jQuery('#close_'+comment_id).click(); }); } else{ alert('You have already submited'); jQuery('#episode_comment_report_abuse_text_'+comment_id).val(''); jQuery(function(){ jQuery('#close_'+comment_id).click(); }); } } }); } else{ alert('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 episode comments*/ function generate_spoiler_tag_episode_comment(){ if (jQuery('#is_spoiler_episode_comment_0').is(':checked')) { var input_val=jQuery('#input_episode_comment_0').val(); jQuery('#input_episode_comment_0').val(''+input_val+'') }else { var string = jQuery('#input_episode_comment_0').val(); var new_string=string.replace('','').replace('',''); jQuery('#input_episode_comment_0').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 generate spoiler tag on reply episode comments*/ function generate_spoiler_episode_comment_reply_tag(comment_id){ if (jQuery('#is_spoiler_episode_comment_reply'+comment_id).is(':checked')) { var input_val=jQuery('#inputReplyEpisodeComment_'+comment_id).val(); jQuery('#inputReplyEpisodeComment_'+comment_id).val(''+input_val+'') }else { var string = jQuery('#inputReplyEpisodeComment_'+comment_id).val(); var new_string=string.replace('','').replace('',''); jQuery('#inputReplyEpisodeComment_'+comment_id).val(new_string); } } //Add to playlist function add_playlist(is_flash) { var anime_id = jQuery('#anime_id').val(); var anime_episode_id= jQuery("#episode_id").val(); if (user_id > 0) { jQuery('#ukflashmsg').html(''); jQuery.ajax({ type: 'POST', url: serverurl + 'animes/add_playlist/', data: {anime_id: anime_id,episode_id:anime_episode_id}, success: function (data) { if(is_flash == 1){ // This is a callback that runs if the submission was a success. if (data == 1) { jQuery('#ukflashmsg').html('

    Succès!

    Cet animé a bien été ajouté à votre playlist.

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

    Pas de lien disponible!

    Cet animé est déjà dans votre playlist.

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

    Erreur!

    merci de réessayer.

    '); jQuery('#ukflashmsg').css('display','block'); //jQuery('#msg_playlist_success').html(''); } } }, error: function () { jQuery('#myModalError').modal('show'); } }); } else { show_login("Vous devez être connecté sur votre compte DPStream pour que vos Déjà vu s'actualise"); } } /* 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 + 'animes/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 + 'animes/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; } } /* to delete comments */ function ajaxDeleteEpisodeComment(id,type){ var check = confirm("Are you sure you want to delete?"); if (check == true) { jQuery.ajax({ type: 'POST', url: serverurl + 'comments/ajax_delete_episode_comment/', data:{id:id}, success: function(data) { if(data == 1){ if(type == 'reply'){ jQuery("#episode_comment_reply"+id).remove(); }else{ jQuery("#episode_comment_"+id).remove(); } } }, error: function(){ alert('Whoops! This didn\'t work. Please contact us.') } }); } else { return false; } } autoAddPlaylist(); function autoAddPlaylist(){ if(user_id>0 && playlist_time>0){ var playlist_time_cal=parseInt(playlist_time * 1000); var myPlaylist=setTimeout(add_playlist, playlist_time_cal); } } /**** rating section ****/ jQuery(function() { jQuery('.episodepageNav ul li').click(function () { var rateval = jQuery('.anime_star_rating').attr('value'); jQuery('.tv-ratingstar ul').each(function(i) { jQuery(this).children("li").slice(0,4).css('background-position','0px 0px'); jQuery(this).children("li").slice(0,rateval).css('background-position','0px -28px'); }); rateval=0; }); jQuery(".anime_star_rating").fiveStarRatingFun({ starLength: '5', initialValue:jQuery('.anime_star_rating').val(), callbackFunctionName: 'mainRating', imageDirectory: '/img', inputAttr: 'postID', chkuser:user_id, errMsg:"Vous devez être connecté sur votre compte DPStream pour attribuer une note" }); }); function mainRating(val, attrVal){ if(user_id > 0){ var episodeId = jQuery("#anime_ajax_episode_id").val(); jQuery.ajax({ type: 'POST', url: '/rankings/ajax_animeEpisodeRating', data: 'animeID='+anime_id+'&ratingPoints='+val+'&episodeId='+episodeId, dataType: 'json', success : function(data){ if (data.status == 'ok') { jQuery('.episode-vote').text(data.avg); }else{ //alert('Some problem occured, please try again.'); } } }); }else{ show_login("Vous devez être connecté sur votre compte DPStream pour attribuer une note"); } } /**** end rating section ****/ function scrollToLastEpisode(){ var el = jQuery( "a.episode_anchor" ).last().attr('href'); window.location.href = el; return false; } jQuery("#submit_broken_trailer").click(function (e) { e.preventDefault; var anime_trailer_id = jQuery('#model_anime_trailer_id').val(); var complain_type = jQuery("input[name=complain_type]:checked").val(); var description = checkScriptTag(jQuery("#report_trailer_comment").val()); if ((complain_type == 1) || ((complain_type == 3) && (description.length > 0)) ) { jQuery.ajax({ type: "POST", url: RootURL + "traillers/ajax_add_anime_trailer", data: {anime_trailer_id: anime_trailer_id, complain_type: complain_type,description: description,anime_id:anime_id}, success: function (data) { if (data == 1) { jQuery('#ukflashmsg').html('

    Succès!

    '); jQuery('#ukflashmsg').css('display','block'); jQuery('input[name=complain_type]:checked').prop('checked', false); jQuery("#report_trailer_comment").hide(); jQuery('.message_success').fadeOut(2000); } else if (data == 2) { 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'); jQuery('input[name=complain_type]:checked').prop('checked', false); jQuery("#report_trailer_comment").hide(); jQuery('.message_success').fadeOut(2000); } else { jQuery('#ukflashmsg').html('

    Pas de lien disponible!

    merci de réessayer.

    '); jQuery('#ukflashmsg').css('display','block'); jQuery('input[name=complain_type]:checked').prop('checked', false); jQuery("#report_trailer_comment").hide(); } jQuery("#myReportTraillerModal").modal('hide'); jQuery('html, body').animate({scrollTop :jQuery('#main').offset().top},800);//scroll to top of flash message }, error: function () { jQuery("#myReportTraillerModal").modal('hide'); jQuery('#myModalError').modal('show'); } }); } else { jQuery('.message_success').html('

    Merci de remplir tous les champs pour valider votre signalement !

    '); } }); jQuery("#other_trailer_radio").click(function () { jQuery("#report_trailer_comment").show(); jQuery('.message_success').empty(); });// report_trailer_anime jQuery("#dead_trailer_radio").click(function () { jQuery("#report_trailer_comment").hide(); jQuery("#report_trailer_comment").val(""); });// report_trailer_hide_comment /* for reporting the dead photos*/ function reportPhoto(id,anime_id){ if(user_id > 0){ jQuery('#myPhotoModal').modal('hide'); jQuery('#myReportPhotoModal').modal('show'); jQuery('#model_anime_photo_id').val(id); jQuery('#model_anime_id').val(anime_id); } else { jQuery('#myPhotoModal').modal('hide'); show_login("Vous devez être connecté sur votre compte DPStream pour signaler une image"); } } jQuery("#other_photo_radio").click(function () { jQuery("#report_photo_comment").show(); jQuery('.message_success').empty(); }); jQuery("#dead_photo_radio").click(function () { jQuery("#report_photo_comment").hide(); jQuery('#report_photo_comment').val(""); }); jQuery("#submit_broken_photo").click(function (e){ e.preventDefault; var anime_photo_id = jQuery("#model_anime_photo_id").val(); var complain_type = jQuery("input[name=complain_type]:checked").val(); var description = checkScriptTag(jQuery("#report_photo_comment").val()); //var anime_id = if ((complain_type == 1) || ((complain_type == 3) && (description.length > 0)) ) { jQuery.ajax({ type: "POST", url: RootURL + "pictures/ajax_add_anime_photo", data: {anime_photo_id: anime_photo_id, complain_type: complain_type,description: description,anime_id:anime_id}, success: function (data) { if (data == 1) { jQuery('#ukflashmsg').html('

    Succès!

    '); jQuery('#ukflashmsg').css('display','block'); jQuery('input[name=complain_type]:checked').prop('checked', false); jQuery("#report_photo_comment").hide(); jQuery('.message_success').fadeOut(2000); } else if (data == 2) { 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'); jQuery('input[name=complain_type]:checked').prop('checked', false); jQuery("#report_photo_comment").hide(); jQuery('.message_success').fadeOut(2000); } else { jQuery('#ukflashmsg').html('

    Pas de lien disponible!

    merci de réessayer.

    '); jQuery('#ukflashmsg').css('display','block'); jQuery('input[name=complain_type]:checked').prop('checked', false); jQuery("#report_photo_comment").hide(); } jQuery("#myReportPhotoModal").modal('hide'); jQuery('html, body').animate({scrollTop :jQuery('#main').offset().top},800);//scroll to top of flash message }, error: function () { jQuery("#myReportPhotoModal").modal('hide'); jQuery('#myModalError').modal('show'); } }); } else { jQuery('.message_success').html('

    Merci de remplir tous les champs pour valider votre signalement !

    '); } }); /* end for reporting the dead photos*/