รายงานสด ซูเปอร์ลีก ตุรกี เฟเนร์บาห์เช่ พบ Sivasspor
รายงานผลบอลสด คู่ เฟเนร์บาห์เช่ VS Sivasspor
');h("."+u+" li:has(span)").each(function(m){h(this).find("a:first").css("padding-right",55)})})();h(".mm-toggle").click(function(){B.css("height",h(document).height());1==m.Overlay&&n.css("height",h(document).height());O?T():E()});h(window).resize(function(){h(window).width()>=m.WindowsMaxWidth&&O&&B.css("left")!=-m.MenuWidth&&T()});h("."+u+" > li > span.expand").click(function(){if(1==m.CollapseMenu){var n=h("."+u+" li span");n.hasClass("open")&&"none"=== h(this).next().next().css("display")&&(h("."+u+" li ul").slideUp(),n.hasClass("open")?n.removeClass("icon-minus").addClass("icon-plus"):n.removeClass("icon-plus").addClass("icon-minus"),n.removeClass("open"))}h(this).nextAll("."+u+" ul").slideToggle(function(){1==m.CollapseMenu?h(this).promise().done(function(){B.css("height",F())}):B.css("height",F())});h(this).hasClass("icon-plus")?h(this).removeClass("icon-plus").addClass("icon-minus"):h(this).removeClass("icon-minus").addClass("icon-plus");h(this).toggleClass("open"); N||(L(2),N=!0)});h("."+u+" > li > ul > li > span.expand").click(function(){if(1==m.CollapseMenu){var n=h("."+u+" li ul li span");n.hasClass("open")&&"none"===h(this).next().next().css("display")&&(h("."+u+" li ul ul").slideUp(),n.hasClass("open")?n.removeClass("icon-minus").addClass("icon-plus"):n.removeClass("icon-plus").addClass("icon-minus"),n.removeClass("open"))}h(this).nextAll("."+u+" ul ul").slideToggle(function(){1==m.CollapseMenu?h(this).promise().done(function(){B.css("height",F())}):B.css("height", F())});h(this).hasClass("icon-plus")?h(this).removeClass("icon-plus").addClass("icon-minus"):h(this).removeClass("icon-minus").addClass("icon-plus");h(this).toggleClass("open")});h("."+u+" li a").click(function(){h("."+u+" li a").removeClass("active");h(this).addClass("active");T()});n.click(function(){T()});h("."+u+" li a.active").parent().children(".expand").removeClass("icon-plus").addClass("icon-minus open");h("."+u+" li a.active").parent().children("ul").css("display","block")})}})(jQuery); var didScroll,lastScrollTop=0,delta=5,navbarHeight=$("header").outerHeight(),navbarHeight=$("nav").outerHeight();$(window).scroll(function(h){didScroll=!0});setInterval(function(){didScroll&&(hasScrolled(),didScroll=!1)},250); function hasScrolled(){var h=$(this).scrollTop();Math.abs(lastScrollTop-h)<=delta||(h>lastScrollTop&&168<$(document).height()&&($(".headmenu").removeClass("nav-up-m").addClass("nav-down-m"),$(".pagetop").removeClass("nav-up-m").addClass("nav-down-m")),lastScrollTop=h)} $(document).ready(function(){$("#mobile-menu").mobileMenu({MenuWidth:250,SlideSpeed:300,WindowsMaxWidth:767,PagePush:!1,FromLeft:!1,Overlay:!0,CollapseMenu:!0,ClassName:"mobile-menu"});$(".scrollup").click(function(){$("html, body").animate({scrollTop:0},800);return!1})});$(window).scroll(function(){100<$(this).scrollTop()?$(".scrollup").fadeIn():$(".scrollup").fadeOut()});$(window).scroll(function(){200<$(this).scrollTop()?$(".headmenu").addClass("headmenu-fixed"):$(".headmenu").removeClass("headmenu-fixed")}); var interval = null; var interval_time = 60000; var last_event_id = 0; function load_content(tab){ if($('#match-'+tab).html() != ''){ $('.match-tab-content').hide(); $('#match-'+tab).show(); return; } $.ajax({ url: "/ajax/matchlive/3152677", method: 'post', data: {'tab': tab, 'match_info': {"country":"turkey","tournament_id":1425,"tournament_name_th":"\u0e0b\u0e39\u0e40\u0e1b\u0e2d\u0e23\u0e4c\u0e25\u0e35\u0e01 \u0e15\u0e38\u0e23\u0e01\u0e35","tournament_name_en":"Turkey: Super Lig","short_name":"TUR D1","tournament_logo":null,"file_group":"turkey","commentaries":"turkey.xml","standings":"turkey.xml","program_id":1425,"match_id":3152677,"hometeam_id":17027,"hometeam_title":"\u0e40\u0e1f\u0e40\u0e19\u0e23\u0e4c\u0e1a\u0e32\u0e2b\u0e4c\u0e40\u0e0a\u0e48","hometeam_name_th":"\u0e40\u0e1f\u0e40\u0e19\u0e23\u0e4c\u0e1a\u0e32\u0e2b\u0e4c\u0e40\u0e0a\u0e48","hometeam_name_en":"Fenerbah\u00e7e","hometeam_logo":null,"awayteam_id":17097,"awayteam_title":"Sivasspor","awayteam_name_th":"","awayteam_name_en":"Sivasspor","awayteam_logo":null,"result":null,"hometeam_score":2,"awayteam_score":1,"kickoff":"2019-03-15 17:30:00","match_status":2,"channel1_icon":null,"channel2_icon":null}} }).done(function(o) { $('.match-tab-content').hide(); if($('#match-'+tab).html() == ''){ $('#match-'+tab).html(o); } $('#match-'+tab).show(); if(tab == 'live'){ getEvent(); } }); } function getCommentaries(){ if('turkey.xml' == ''){ return; } $.ajax({ url: "/ajax/commentaries", method: 'post', dataType: 'json', data: {'xml': 'turkey.xml', 'home_id': '17027'} }).done(function(o) { if($('#h_manager').html() == ''){ $('#h_manager').html(o.coaches.home); } if($('#a_manager').html() == ''){ $('#a_manager').html(o.coaches.away); } }); } function getEvent(){ $.ajax({ url: "/ajax/eventscore/", method: 'post', dataType: 'json', data: {'id': 3152677, 'tournament': 1425} }).done(function(o) { if(typeof(o.g_home) != 'undefined'){ $('#event-h-score').html(o.g_home); } if(typeof(o.g_away) != 'undefined'){ $('#event-a-score').html(o.g_away); } if(typeof(o.timer) != 'undefined' && o.timer != ''){ $('#event-timer').html(o.timer+"’"); }else if(typeof(o.status) != 'undefined'){ var st = o.status+''; if(st == "FT"){ clearInterval(interval); $('#event-timer').html('FT'); }else if(st.search(":") == -1){ $('#event-timer').html(st); }else{ $('#event-timer').html(o.kickof); } } if(typeof(o.events) != 'undefined' && o.timer != ''){ document.title = 'เฟเนร์บาห์เช่'+' ['+o.g_home+'-'+o.g_away+'] '+'Sivasspor'; var html = ''; var st_array = ['goal', 'goals', 'yellowcard', 'yellowcards', 'redcard', 'redcards', 'yellowred', 'yellowreds', 'sub']; for(var i = 0; i < o.events.length; i++){ if (st_array.indexOf(o.events[i].type) == -1) { continue; } var icon = ''; var text = ''; if(o.events[i].type == 'goal' || o.events[i].type == 'goals'){ if(o.events[i].event_type != '' && o.events[i].event_type != null){ if(o.events[i].event_type == 'pen miss'){ icon = '/assets/images/icon-goal-red.png'; }else{ icon = '/assets/images/icon-goal.png'; } text = ' ('+o.events[i].event_type+') '; }else{ icon = '/assets/images/icon-goal.png'; } } if(o.events[i].type == 'yellowcard' || o.events[i].type == 'yellowcards'){ icon = '/assets/images/icon-yellow.png'; } if(o.events[i].type == 'redcard' || o.events[i].type == 'redcards'){ icon = '/assets/images/icon-red.png'; } if(o.events[i].type == 'yellowred' || o.events[i].type == 'yellowreds'){ icon = '/assets/images/icon-red-yellow.png'; } var minute = parseInt(o.events[i].minute); if(o.events[i].extra_min != ''){ minute += parseInt(o.events[i].extra_min); } if(o.events[i].type == 'sub'){ var on_name = encodeURIComponent(o.events[i].on_name.replace(" ", "-")); var on_link = '/football/player/'+o.events[i].player_id_on+'/'+on_name; var off_name = encodeURIComponent(o.events[i].off_name.replace(" ", "-")); var off_link = '/football/player/'+o.events[i].player_id_off+'/'+off_name; }else{ if(o.events[i].player_id != ''){ var name = encodeURIComponent(o.events[i].player.replace(" ", "-")); var link = '/football/player/'+o.events[i].player_id+'/'+name; var player_name = ''+o.events[i].player+text+''; }else{ var player_name = o.events[i].player+text; } } if(o.events[i].team == 'visitorteam'){ if(o.events[i].type == 'sub'){ sub = ''; sub += ' '; sub += ''+o.events[i].on_name+''; sub += ''; sub += ''; sub += ' '; sub += ''+o.events[i].off_name+''; sub += ''; html += '