1WebFontConfig = { 2 google: { families: [ 'Open+Sans+Condensed:300:latin' ] } 3 }; 4 (function() { 5 var wf = document.createElement('script'); 6 wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + 7 '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; 8 wf.type = 'text/javascript'; 9 wf.async = 'true'; 10 var s = document.getElementsByTagName('script')[0]; 11 s.parentNode.insertBefore(wf, s); 12 })(); 13 14jQuery(function($){ 15 16 function get_current_show() { 17 //Get the current show data 18 $.post(crudScriptURL, {"crud-action" : "read", "read-type" : "current"}, function (currentShowJSON) { 19 20 var schedule = $.parseJSON(currentShowJSON); 21 var outputHTML = ''; 22 23 var currentShow = schedule['current-show']; 24 if (currentShow.showName){ 25 var currentShowName = currentShow.showName; 26 var imageURL = currentShow.imageURL; 27 var linkURL = currentShow.linkURL; 28 var startClock = currentShow.startClock; 29 var endClock = currentShow.endClock; 30 var NowOnTvHead = 'iss waqt...'; 31 32outputHTML += '<div class="NowOnTvHead">'+NowOnTvHead+'</div>'; 33outputHTML +='<article class="breaking-box-big module-shadow module-post-box NowOnTvBox">'; 34 if (linkURL){ 35 currentShowName = '<a href="'+linkURL+'">'+currentShowName+'</a>'; 36 } 37 38 outputHTML += '<div class="title headline NowOnTvTitle"><span class="current-show">'+currentShowName+'</span></div>'; 39 //outputHTML += '<span class="date">'+startClock + ' - ' + endClock + '</span>'; 40 41 if (imageURL){ 42 if (linkURL){ 43 outputHTML += '<img class="attachment-post-featured-image-big wp-post-image showtime-image-thumbnail" src="'+imageURL+'" alt="'+currentShow.showName+'" /></a>'; 44 } else { 45 outputHTML += '<img class="attachment-post-featured-image-big wp-post-image showtime-image-thumbnail" src="'+imageURL+'" alt="'+currentShow.showName+'" />'; 46 } 47 } 48 49 } else { 50 51 outputHTML += '<div class="title headline"><h3 class="current-show"><a href="'+linkURL+'">'+currentShow+'<h3></a></div>'; 52 53 } 54 55outputHTML += '<div class="hover" style="display: block; opacity: 0;">'+ 56'<p style="opacity: 0;">'+currentShowName+'</p>'+'</div>' 57 58 59outputHTML +='</article>'; 60 61 62 var upcomingShow = schedule['upcoming-show']; 63 if (upcomingShow){ 64 var upcomingShowName = upcomingShow.showName; 65 var upcomingShowLink = upcomingShow.linkURL; 66 var upcomingStartClock = upcomingShow.startClock; 67 var upcomingEndClock = upcomingShow.endClock; 68outputHTML += '<div class="NextShow">'; 69outputHTML += '<div class="NextShowhead">Agla Show...</div>'; 70 if (upcomingShowLink){ 71 outputHTML += '<div class="upcoming-show"><a href="'+upcomingShowLink+'">'+upcomingShowName+'</a></div>'; 72 } else { 73 outputHTML += '<div class="upcoming-show">'+upcomingShowName+'</div>'; 74 } 75 76 outputHTML += '<div class="upcoming-show-time">'+upcomingStartClock + ' - ' + upcomingEndClock + '</div>'; 77 78 } 79outputHTML += '</div>'; 80 81 $('.showtime-now-playing').html(outputHTML); 82 83 //Set a timer to update the widget every 30 seconds 84 setTimeout (get_current_show, (30 * 1000)); 85 86 }); 87 88 } 89//'</div>' 90 get_current_show(); 91 92 93});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.