Sling TV Channels [Lineup and Packages]


Sling TV Channels [Lineup and Packages]

Sling TV and the Sling TV Logo are Licensed Trademarks of Sling TV L.L.C.
PlayStation™ is a registered trademark of Sony Computer Entertainment Inc.
DirecTV® Now is a registered trademark of AT&T.
HBO® and related channels and service marks are the property of Home Box Office, Inc.
SHOWTIME®: Showtime and all related marks are trademarks of Showtime Networks Inc., a CBS Company.
Cinemax® and related channels and service marks are the property of Home Box Office, Inc.
ESPN and ESPN2 are registered trademarks of ESPN, Inc. ©Disney. All Rights Reserved.
SEC ESPN Network is a trademark of ESPN, Inc. All rights reserved.
EPIX® is a registered trademark of Studio 3 Partners LLC.
Spike and all related titles, logos and characters are trademarks of Spike Cable Networks Inc., a Viacom company.
The TBS logo is a trademark of Turner Broadcasting System, Inc. A Time Warner Company. All Rights Reserved.
The CN Cartoon Network logo is a trademark of Turner Broadcasting System Inc. A Time Warner Company. All Rights Reserved.
Comedy Central, Broad City and all related titles and logos are trademarks of Comedy Partners.
All trademarks are the property of their respective owners.

=12?’p.m.’:’a.m.’;pattern=”;break;case ‘E’:retValue+=numberToShortDay(dayOfWeek);pattern=”;break;case “‘”:pattern=”;inQuote=true;break;default:retValue+=currentPattern;pattern=”;break;}} retValue+=unparsedRest;return retValue;}catch(e){if(console&&console.log){console.log(e);} return value;}},prettyDate:function(time){var date;var diff;var abs_diff;var day_diff;var abs_day_diff;var tense;if(typeof time===’string’||typeof time===’number’){date=new Date(time);} if(typeof time===’object’){date=new Date(time.toString());} diff=(((new Date()).getTime()-date.getTime())/1000);abs_diff=Math.abs(diff);abs_day_diff=Math.floor(abs_diff/86400);if(isNaN(abs_day_diff)){return;} tense=diff<0?'from now':'ago';if(abs_diff<60){if(diff>=0) return ‘just now’;else return ‘in a moment’;}else if(abs_diff<120){return '1 minute '+tense;}else if(abs_diff<3600){return Math.floor(abs_diff/60)+' minutes '+tense;}else if(abs_diff<7200){return '1 hour '+tense;}else if(abs_diff<86400){return Math.floor(abs_diff/3600)+' hours '+tense;}else if(abs_day_diff===1){if(diff>=0) return ‘Yesterday’;else return ‘Tomorrow’;}else if(abs_day_diff<7){return abs_day_diff+' days '+tense;}else if(abs_day_diff===7){return '1 week '+tense;}else if(abs_day_diff<31){return Math.ceil(abs_day_diff/7)+' weeks '+tense;}else{return 'more than 5 weeks '+tense;}},toBrowserTimeZone:function(value,format){return this.date(new Date(value),format||'MM/dd/yyyy HH:mm:ss');}};}());}(DateFormat)); /*Scripts/pagination.js*/ $.fn.pageMe=function(opts){var $this=this,defaults={perPage:7,showPrevNext:false,numbersPerPage:5,hidePageNumbers:false,showFirstLast:true},settings=$.extend(defaults,opts);var listElement=$this;var perPage=settings.perPage;var children=listElement.children();var pager=$('.pagination');if(typeof settings.childSelector!="undefined"){children=listElement.find(settings.childSelector);} if(typeof settings.pagerSelector!="undefined"){pager=$(settings.pagerSelector);} var numItems=children.size();var numPages=Math.ceil(numItems/perPage);pager.data("curr",0);if(settings.showFirstLast){$('

  • ‘).appendTo(pager);} if(settings.showPrevNext){$(‘
  • ‘).appendTo(pager);} var curr=0;while(numPages>curr&&(settings.hidePageNumbers==false)){$(‘
  • ‘+(curr+1)+”).appendTo(pager);curr++;} if(settings.numbersPerPage>1){$(‘.page_link’).hide();$(‘.page_link’).slice(pager.data(“curr”),settings.numbersPerPage).show();} if(settings.showPrevNext){$(‘
  • ‘).appendTo(pager);} if(settings.showFirstLast){$(‘
  • ‘).appendTo(pager);} pager.find(‘.prev_link’).addClass(‘disabled’);if(numPages=1){pager.find(‘.prev_link’).removeClass(‘disabled’);} else{pager.find(‘.prev_link’).addClass(‘disabled’);} if(page1)&&((numPages-settings.numbersPerPage)>0)){$(‘.page_link’).hide();if(page<(numPages-settings.numbersPerPage)){$('.page_link').slice(page,settings.numbersPerPage+page).show();} else{$('.page_link').slice(numPages-settings.numbersPerPage).show();}} pager.children().removeClass("active");pager.children().eq(page+2).addClass("active");}}; /*Scripts/customdata.js*/ function getData(lh){loadLineup(lh);} function loadLineup(lh){var providerId=$(lh).attr('data-value-1');var lineupId=$(lh).attr('data-value-2');var maintype=$(lh).attr('data-value-3');var dateTimeNow=getdateFormat();var currentTime=getdateFormat();var timezone=getdateFormatWithmin();$.ajax({url:"/ajaxresponse.php",type:"post",data:{providerId:providerId,lineupId:lineupId,currentTime:currentTime,maintype:maintype,timezone:timezone},success:function(data){$('#channel-group-'+providerId).html(data);InlineSvg();}});} function getdateFormat(){var today=new Date();return today.getDate()+'-'+(today.getMonth()+1)+'-'+today.getFullYear()+' '+today.getHours()+':00';} function getdateFormatWithmin(){var today=new Date();return today.getDate()+'-'+(today.getMonth()+1)+'-'+today.getFullYear()+' '+today.getHours()+':'+today.getMinutes();} function getdatafromdate(selectdate){var providerId=$(selectdate).attr('data-value-1');var lineupId=$(selectdate).attr('data-value-2');var maintype=$(selectdate).attr('data-value-3');var dateTimeNow=$(selectdate).val();var currentTime=getdateFormat();var checkflag=1;var timezone=getdateFormatWithmin();$.ajax({url:"/ajaxresponse.php",type:"post",data:{maintype:maintype,providerId:providerId,lineupId:lineupId,dateTimeNow:dateTimeNow,currentTime:currentTime,checkflag:checkflag,timezone:timezone},success:function(data){$('#channel-group-'+providerId).html(data);InlineSvg();}});} function triggerchangedata(selectdate,triggerVal){var providerId=$(selectdate).parents('.list-group').attr('data-value-1');var lineupId=$(selectdate).parents('.list-group').attr('data-value-2');var maintype=$(selectdate).parents('.list-group').attr('data-value-3');var dateTimeNow=$(selectdate).parents('.list-group').find('select.grid-date').val();var triggerdata=triggerVal;var currentTime=getdateFormat();var checkflag=1;var timezone=getdateFormatWithmin();$.ajax({url:"/ajaxresponse.php",type:"post",data:{providerId:providerId,lineupId:lineupId,dateTimeNow:dateTimeNow,triggerdata:triggerdata,currentTime:currentTime,maintype:maintype,checkflag:checkflag,timezone:timezone},success:function(data){$('#channel-group-'+providerId).html(data);InlineSvg();}});} function InlineSvg(){$('img[src$=".svg"]').each(function(){var $img=jQuery(this);var imgURL=$img.attr('src');var attributes=$img.prop("attributes");$.get(imgURL,function(data){var $svg=jQuery(data).find('svg');$svg=$svg.removeAttr('xmlns:a');$.each(attributes,function(){if(this.name!=="src"){$svg.attr(this.name,this.value);}});$img.replaceWith($svg);},'xml');});} function loadChannelDetail(programdataID,img){var timezone=getdateFormatWithmin();$.ajax({url:"/ajaxchannelresponse.php",type:"post",data:{programdataID:programdataID,img:img,timezone:timezone},success:function(result){var modal=$('#myModal');var modal_title=modal.find('.modal-title');modal_title.html("Channel Details");var modal_content=modal.find('.modal-body');modal_content.html(result);var prog_content=modal.find('.modal-prog-content');var height=$(window).height()-350;prog_content.css("max-height",height);prog_content.find('th').css('background-color',$('.panel-heading').css('background-color'));InlineSvg();modal.modal('show');}});} $(document).ready(function(){$('head').append('');$('body').css('padding-top',$('nav').height());InlineSvg();$('body').tooltip({selector:'[data-toggle="tooltip"]',html:'true',container:'body',placement:'auto'});}); ]]>
  • Loading…]]>‘); }); $(document).on(‘change’, ‘select.grid-date’, function() { getdatafromdate(this); }); $(document).on(‘click’, ‘a .glyphicon-chevron-left’, function() { triggerchangedata(this,’prv’); }); $(document).on(‘click’, ‘a .glyphicon-chevron-right’, function() { triggerchangedata(this,’nxt’); }); $(document).on(‘click’, ‘.prog-container’, function() { var programdataID = $(this).attr(‘data-value-1’); var img = $(this).attr(‘data-value-2’); loadChannelDetail(programdataID,img); }); $(document).on(‘click’, ‘.prog-contains’, function() { var programdataID = $(this).attr(‘data-value-1’); var img = $(this).attr(‘data-value-2’); loadChannelDetail(programdataID,img); }); // expand first group if (userAccept.toLowerCase() === “true”) { $(‘[data-target^=”#channel-group-“]:first’).click(); // detect ad blocking /* var adBlock = document.getElementById(‘DiVaDz’) ? false : true; $.post(“/AdBlock/” + adBlock);*/ } });

    Source