' + n + ''; return code; } function post_author(feed, i) { var n = feed[i].author[0].name.$t, code = '' + n + ' '; return code; } function post_date(feed, i) { var c = feed[i].published.$t, d = c.substring(0, 4), f = c.substring(5, 7), m = c.substring(8, 10), h = monthFormat[parseInt(f, 10) - 1] + ' ' + m + ', ' + d, code = '' + h + ''; return code; } function post_label(feed, i) { if (feed[i].category != undefined) { var tag = feed[i].category[0].term, code = '' + tag + '
'; } var entry = json.feed.entry; if (entry != undefined) { for (var i = 0, feed = entry; i < feed.length; i++) { var link = post_link(feed, i), title = post_title(feed, i, link), image = post_image(feed, i), tag = post_label(feed, i), author = post_author(feed, i), date = post_date(feed, i); var kontent = ''; if (type.match('related')) { kontent += '- ' + image[1] + '
' + title + '
'; } kode += kontent; } kode += '
'; } else { kode = '', current_url = $(location).attr('href'), facebook = '', sClass = 'comments-system-' + system; if (system == 'blogger') { $(this).addClass(sClass).show(); } else if (system == 'disqus') { (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqusShortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); $('#comments, #gpluscomments').remove(); $(this).append(disqus).addClass(sClass).show(); } else if (system == 'facebook') { $('#comments, #gpluscomments').remove(); $(this).append(facebook).addClass(sClass).show(); } else if (system == 'hide') { $(this).hide(); } else { $(this).addClass('comments-system-default').show(); } }); //]]>
Источник: https://www.lessonplanformat.in/2020/04/up-btc-2nd-semester-exam-paper-2019.html
-