MATERI PKN XI BUDAYA POLITIK

MATERI PKN XI BUDAYA POLITIK


"); $(".post *").replaceText(o, ""); (function(e) { var t = e("a.newer-link"); var n = e("a.older-link"); e.get(t.attr("href"), function(n) { t.html('Next ' + e(n).find(".post h1.post-title").text() + "") }, "html"); e.get(n.attr("href"), function(t) { n.html(' Previous' + e(t).find(".post h1.post-title").text() + "") }, "html") })(jQuery) }); $(document).ready(function() { $('.HTML .widget-content').each(function() { var text = $(this).text(); if (text.match('randomposts')) { $.ajax({ url: "/feeds/posts/default?alt=json-in-script", type: 'get', dataType: "jsonp", success: function(datax) { var numpost = datax.feed.entry.length; var min = 0; var max = numpost - randomposts_number; var random = Math.floor(Math.random() * (max - min + 1)) + min; $.ajax({ url: "/feeds/posts/default?alt=json-in-script&start-index=" + random + "&max-results=" + randomposts_number, type: 'get', dataType: "jsonp", success: function(data) { var posturl = ""; var htmlcode = '
'; $('.HTML .widget-content').each(function() { if ($(this).text().match('randomposts')) { $(this).html(htmlcode); $(this).parent().addClass('ideias-widget'); $(this).find('.rcp-thumb').each(function() { $(this).attr('style', function(i, src) { return src.replace('/default.jpg', '/mqdefault.jpg'); }).attr('style', function(i, src) { return src.replace('s72-c', 's1600'); }); }); $("p.trans").each(function() { var e = $(this).text(); var t = $(this).attr("data-tran"); $("#pages-wrapper *").replaceText(e, t) }); } }); } }); } }); } if (text.match('recentposts')) { $.ajax({ url: "/feeds/posts/default?alt=json-in-script", type: 'get', dataType: "jsonp", success: function(datax) { $.ajax({ url: "/feeds/posts/default?alt=json-in-script&max-results=" + recentposts_number, type: 'get', dataType: "jsonp", success: function(data) { var posturl = ""; var htmlcode = '
'; $('.HTML .widget-content').each(function() { if ($(this).text().match('recentposts')) { $(this).html(htmlcode); $(this).parent().addClass('ideias-widget'); $(this).find('.rcp-thumb').each(function() { $(this).attr('style', function(i, src) { return src.replace('/default.jpg', '/mqdefault.jpg'); }).attr('style', function(i, src) { return src.replace('s72-c', 's1600'); }); }); $("p.trans").each(function() { var e = $(this).text(); var t = $(this).attr("data-tran"); $("#pages-wrapper *").replaceText(e, t) }); } }); } }); } }); } }); $(".slider-layout .HTML .widget-content").each(function() { var t = $(this).html(), k = $(this).prev("h2").text(); var z = t.match(/[^[\]]+(?=])/g); $(this).html("" + z[0] + "" + z[1] + ""); var kkk = $(this).text(); var g = $(this).find("span").eq(0).text(); var slider_number = $(this).find("span").eq(1).text(); var style = "slider"; if (style.match('slider')) { $.ajax({ url: "/feeds/posts/default/-/" + g + "?alt=json-in-script&max-results=" + slider_number, type: 'get', dataType: "jsonp", success: function(data) { var posturl = ""; var htmlcode = '