Substituição - tema Miverva

<script>//<![CDATA[
function showlatestpostswiththumbs(t) {
document.write('<div class="recent-posts-container clearfix">');
for (var e = 0; e < posts_no; e++) {
var r, i, n = t.feed.entry[e],
o = n.title.$t;
if (e == t.feed.entry.length) break;
for (var m = 0; m < n.link.length; m++) {
if ("replies" == n.link[m].rel && "text/html" == n.link[m].type) var l = n.link[m].title,
u = n.link[m].href;
if ("alternate" == n.link[m].rel) {
r = n.link[m].href;
break
}
}
try {
i = n.media$thumbnail.url
} catch (t) {
s = n.content.$t, a = s.indexOf("<img"), b = s.indexOf('src="', a), c = s.indexOf('"', b + 5), d = s.substr(b + 5, c - b - 5), i = -1 != a && -1 != b && -1 != c && "" != d ? d : ""
}

var imgsSizes = [
{ w: 800, h: 500 },
{ w: 400, h: 400 },
{ w: 800, h: 500 },
{ w: 400, h: 400 },
{ w: 800, h: 500 },
{ w: 400, h: 400 }
];

var f = n.published.$t,
h = f.substring(0, 4),
p = f.substring(5, 7),
v = f.substring(8, 10),
w = new Array;

i = i.replace("s72-c", `w${imgsSizes[e].w}-h${imgsSizes[e].h}-n`);

if (w[1] = "Jan", w[2] = "Feb", w[3] = "Mar", w[4] = "Apr", w[5] = "May", w[6] = "Jun", w[7] = "Jul", w[8] = "Aug", w[9] = "Sep", w[10] = "Oct", w[11] = "Nov", w[12] = "Dec", document.write('<div class="recent-posts-list clearfix">'), 1 == showpoststhumbs && document.write('<a href="' + r + '"><img class="recent-post-thumb hidden" src="' + i + '"/></a>'), document.write('<div class="recent-post-title"><a href="' + r + '" target ="_top">' + o + "</a></div>"), "content" in n) var g = "<div class='postsum'><div class='post-summary'>" + n.content.$t + "</div></div>";
else if ("summary" in n) g = n.summary.$t;
else g = "";
if (g = g.replace(/<\S[^>]*>/g, ""), 1 == post_summary)
if (g.length < summary_chars) document.write(g);
else {
var y = (g = g.substring(0, summary_chars)).lastIndexOf(" ");
g = g.substring(0, y), document.write(g + "...")
} var k = "",
_ = 0;
document.write('<div class="recent-posts-details">'), 1 == posts_date && (k = k + w[parseInt(p, 10)] + " " + v + " " + h, _ = 1), 1 == readmorelink && (1 == _ && (k += " | "), k = k + '<a href="' + r + '" class="url" target ="_top">Read more</a>', _ = 1), 1 == showcommentslink && (1 == _ && (k += " <br> "), "1 Comments" == l && (l = "1 Comment"), "0 Comments" == l && (l = "No Comments"), k += l = '<a href="' + u + '" target ="_top">' + l + "</a>", _ = 1), document.write(k), document.write("</div>"), document.write("</div>")
}
document.write("</div>")
}
//]]></script>

Contact Form