<script type="text/javascript">
function showlatestpostswiththumbs(t){
document.write('<ul class="recent-posts-container">');
var totalEntries = t.feed.entry.length;
/* for(var e=0; e<totalEntries; e++){ */ // Ubah nomor urut normal
for(var e=totalEntries-1; e>=0; e--){ // Ubah inisialisasi loop dan kondisi loop reverse / Terbalik
var r, n = t.feed.entry[e], i = n.title.$t;
if(e == totalEntries) break;
for(var o=0; o<n.link.length; o++){
if("replies" == n.link[o].rel && "text/html" == n.link[o].type) var l = n.link[o].title, m = n.link[o].href;
if("alternate" == n.link[o].rel){ r = n.link[o].href; break; }
}
var u;
try{
u = n.media$thumbnail.url;
u = u.replace(/\/s72\-c\//, "/s800-c/"); // Mengganti ukuran gambar thumbnail menjadi lebih besar
}catch(h){
var 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);
u = -1 != a && -1 != b && -1 != c && "" != d ? d.replace(/\/s72\-c\//, "/s800-c/") : "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Wrf06z2Aube24l62m2DujmhMwtaGpOsu7fKqRpuXLwHluqk0Z7WCm7zSChRJD-Wqi8NUnfvftmmpXtCdBu8waCalIgZKR1xbytgRP3-pdt0cPqU-rfq-4oxPnRbEwPVBc2wpFXnK6Dgb/s800/no-thumb.png";
}
var p = n.published.$t, f = p.substring(0,4), g = p.substring(5,7), v = p.substring(8,10), w = new Array;
w[1] = "Januari"; w[2] = "Februari"; w[3] = "Maret"; w[4] = "April"; w[5] = "Mei"; w[6] = "Juni"; w[7] = "Juli"; w[8] = "Agustus"; w[9] = "September"; w[10] = "Oktober"; w[11] = "November"; w[12] = "Desember";
document.write('<li class="recent-posts-list" style="counter-increment: postcounter ' + (totalEntries - e) + ';">');
if(showpoststhumbs) document.write('<a href="'+r+'"><img class="recent-post-thumb" src="'+u+'"/></a>');
document.write('<div class="recent-post-title"><a href="'+r+'" target ="_top">'+i+'</a></div>');
if("content" in n) var A = n.content.$t; else if("summary" in n) var A = n.summary.$t; else var A = "";
var k = /<\S[^>]*>/g;
A = A.replace(k, "");
if(post_summary) {
if(A.length < summary_chars) document.write(A);
else {
A = A.substring(0, summary_chars);
var y = A.lastIndexOf(" ");
A = A.substring(0, y);
document.write(A+"...");
}
}
var _ = "", $ = 0;
document.write('<br><div class="recent-posts-details">');
if(posts_date) {
_ = _ + v+" "+w[parseInt(g,10)]+" "+f;
$ = 1;
}
if(showcommentslink) {
if($ == 1) _ += " | ";
if("1 Comments" == l) l = "1 Comment";
if("0 Comments" == l) l = "Tidak Ada Komentar";
l = '<a href="'+m+'" target ="_top">Komentar</a>';
_ += l;
$ = 1;
}
if(readmorelink) {
if($ == 1) _ += " | ";
_ += '<a href="'+r+'" class="url" target ="_top">Detail »</a>';
$ = 1;
}
document.write(_);
document.write("</div>");
document.write("</li>");
}
document.write("</ul>");
}
</script>
<script type="text/javascript">
var posts_no = 100;
var showpoststhumbs = true;
var readmorelink = true;
var showcommentslink = true;
var posts_date = true;
var post_summary = true;
var summary_chars = 350;
</script>
<script src="/feeds/posts/default/-/Kepala Sekolah?orderby=published&alt=json-in-script&callback=showlatestpostswiththumbs"></script>
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css">
<a href="https://www.swotsa.sch.id/search/label/Kepala%20Sekolah" rel="nofollow" style="color: #cecece; font-size: 9px; margin-top: 10px;"></a>
<style type="text/css">
img.recent-post-thumb {
padding: 2px;
width: 150px;
height: 150px;
float: left;
margin: 0px 10px 10px;
border: 1px solid #69B7E2;
}
.recent-posts-container {
font-family: 'Oswald', sans-serif;
font-size: 12px;
counter-reset: postcounter; /* Menambahkan counter-reset di sini */
}
ul.recent-posts-container li {
font-family: sans-serif;
font-size: 0.9rem;
list-style-type: none;
margin-bottom: 25px;
float: left;
width: 100%;
margin-left: 0px;
counter-increment: postcounter; /* Menambahkan counter-increment di sini */
}
ul.recent-posts-container {
list-style-type: none;
padding: 0;
}
ul.recent-posts-container li:before {
content: counter(postcounter, decimal-leading-zero); /* Mengubah tampilan nomor urut menjadi terbalik */
counter-increment: postcounter;
z-index: 1;
position: absolute;
left: 35px;
margin-top: 10px;
font-size: 13px;
font-weight: bold;
color: #ffffff;
background: #000000;
line-height: 25px;
height: 25px;
width: 25px;
text-align: center;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
.recent-posts-container a {
text-decoration: none;
}
.recent-post-title {
margin-bottom: 5px;
font-weight: bold;
}
.recent-post-title a {
font-size: 17px;
text-transform: uppercase;
color: #2aace3;
}
.recent-posts-details {
margin: 5px 0px 0px 0px;
font-size: 13px;
text-align-last: revert;
}
.recent-posts-details a {
color: #777;
}
.post-header-line-1.text-center.mb-4 {
display: none;
}
/* Media Queries */
@media screen and (max-width: 800px) {
.recent-posts-details {
text-align-last: justify;
}
}
@media screen and (max-width: 500px) {
.recent-posts-details {
text-align-last: justify;
}
}
@media screen and (max-width: 370px) {
.recent-posts-details {
text-align-last: justify;
}
}
</style>
<style type="text/css">
img.recent-post-thumb {
padding: 2px;
width: 150px;
height: 150px;
float: left;
margin: 0px 10px 10px;
border: 1px solid #69B7E2;
}
.recent-posts-container {
font-family: 'Oswald', sans-serif;
font-size: 12px;
}
ul.recent-posts-container li {
font-family: sans-serif;
font-size: 0.9rem;
list-style-type: none;
margin-bottom: 25px;
float: left;
width: 100%;
margin-left: 0px;
}
ul.recent-posts-container {
counter-reset: countposts;
list-style-type: none;
padding: 0;
}
ul.recent-posts-container li:before {
content: counter(countposts, decimal);
counter-increment: countposts;
z-index: 1;
position: absolute;
left: 35px;
margin-top: 10px;
font-size: 13px;
font-weight: bold;
color: #ffffff;
background: #000000;
line-height: 25px;
height: 25px;
width: 25px;
text-align: center;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
.recent-posts-container a {
text-decoration: none;
}
.recent-post-title {
margin-bottom: 5px;
font-weight: bold;
}
.recent-post-title a {
font-size: 17px;
text-transform: uppercase;
color: #2aace3;
}
.recent-posts-details {
margin: 5px 0px 0px 0px;
font-size: 13px;
text-align-last: revert;
}
.wendy-view-post {
display: none;
}
hr.title-separator.mb-4 {
display: none;
}
h2.post-title.entry-title.text-center {
display: none;
}
/* Media Queries */
@media screen and (max-width: 800px) {
.recent-posts-details {
text-align-last: justify;
}
}
@media screen and (max-width: 500px) {
.recent-posts-details {
text-align-last: justify;
}
}
@media screen and (max-width: 370px) {
.recent-posts-details {
text-align-last: justify;
}
}
</style>