How To Add Next And Previous Numbered Pagination In Blogger

June 09, 2017 0
How To Add Next And Previous Numbered Pagination In Blogger
Adding Next And Previous Numbered Pagination in Blogger is really easy. 

With this widget, you can show next and previous button to your blog visitors. And in this post, I will teach you how to add this widget to your Blogger blog. 

So if you are gonna add this blogger pagination to your Blogger blog then follow our below steps.

Add Next And previous Numbered Pagination In Blogger
Go to the Blogger.com And log in your account.
Now select your blog where you wanna show numbered pagination.
From your blog dashboard click on the template tab.
Now search </body> by pressing CTRL+F.
And paste the following code just before it.

<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<script type='text/javascript'>
/*<![CDATA[*/
var postperpage=5;
var numshowpage=2;
var upPageWord ='« Previous Page';
var downPageWord ='Next Page »';
var urlactivepage=location.href;
var home_page="/";
/*]]>*/
</script>
<script type='text/javascript'>
/*<![CDATA[*/
var nopage;var jenis;var nomerhal;var lblname1;halamanblogger();function loophalaman(banyakdata){var html='';nomerkiri=parseInt(numshowpage/2);if(nomerkiri==numshowpage-nomerkiri){numshowpage=nomerkiri*2+1}mulai=nomerhal-nomerkiri;if(mulai<1)mulai=1;maksimal=parseInt(banyakdata/postperpage)+1;if(maksimal-1==banyakdata/postperpage)maksimal=maksimal-1;akhir=mulai+numshowpage-1;if(akhir>maksimal)akhir=maksimal;html+="<span class='showpageOf'>Page "+nomerhal+' of '+maksimal+"</span>";var prevnomer=parseInt(nomerhal)-1;if(nomerhal>1){if(nomerhal==2){if(jenis=="page"){html+='<span class="showpage"><a href="'+home_page+'">'+upPageWord+'</a></span>'}else{html+='<span class="showpageNum"><a href="/search/label/'+lblname1+'?&max-results='+postperpage+'">'+upPageWord+'</a></span>'}}else{if(jenis=="page"){html+='<span class="showpageNum"><a href="#" onclick="redirectpage('+prevnomer+');return false">'+upPageWord+'</a></span>'}else{html+='<span class="showpageNum"><a href="#" onclick="redirectlabel('+prevnomer+');return false">'+upPageWord+'</a></span>'}}}if(mulai>1){if(jenis=="page"){html+='<span class="showpageNum"><a href="'+home_page+'">1</a></span>'}else{html+='<span class="showpageNum"><a href="/search/label/'+lblname1+'?&max-results='+postperpage+'">1</a></span>'}}if(mulai>2){html+=' ... '}for(var jj=mulai;jj<=akhir;jj++){if(nomerhal==jj){html+='<span class="showpagePoint">'+jj+'</span>'}else if(jj==1){if(jenis=="page"){html+='<span class="showpageNum"><a href="'+home_page+'">1</a></span>'}else{html+='<span class="showpageNum"><a href="/search/label/'+lblname1+'?&max-results='+postperpage+'">1</a></span>'}}else{if(jenis=="page"){html+='<span class="showpageNum"><a href="#" onclick="redirectpage('+jj+');return false">'+jj+'</a></span>'}else{html+='<span class="showpageNum"><a href="#" onclick="redirectlabel('+jj+');return false">'+jj+'</a></span>'}}}if(akhir<maksimal-1){html+='...'}if(akhir<maksimal){if(jenis=="page"){html+='<span class="showpageNum"><a href="#" onclick="redirectpage('+maksimal+');return false">'+maksimal+'</a></span>'}else{html+='<span class="showpageNum"><a href="#" onclick="redirectlabel('+maksimal+');return false">'+maksimal+'</a></span>'}}var nextnomer=parseInt(nomerhal)+1;if(nomerhal<maksimal){if(jenis=="page"){html+='<span class="showpageNum"><a href="#" onclick="redirectpage('+nextnomer+');return false">'+downPageWord+'</a></span>'}else{html+='<span class="showpageNum"><a href="#" onclick="redirectlabel('+nextnomer+');return false">'+downPageWord+'</a></span>'}}var pageArea=document.getElementsByName("pageArea");var blogPager=document.getElementById("blog-pager");for(var p=0;p<pageArea.length;p++){pageArea[p].innerHTML=html}if(pageArea&&pageArea.length>0){html=''}if(blogPager){blogPager.innerHTML=html}}function hitungtotaldata(root){var feed=root.feed;var totaldata=parseInt(feed.openSearch$totalResults.$t,10);loophalaman(totaldata)}function halamanblogger(){var thisUrl=urlactivepage;if(thisUrl.indexOf("/search/label/")!=-1){if(thisUrl.indexOf("?updated-max")!=-1){lblname1=thisUrl.substring(thisUrl.indexOf("/search/label/")+14,thisUrl.indexOf("?updated-max"))}else{lblname1=thisUrl.substring(thisUrl.indexOf("/search/label/")+14,thisUrl.indexOf("?&max"))}}if(thisUrl.indexOf("?q=")==-1&&thisUrl.indexOf(".html")==-1){if(thisUrl.indexOf("/search/label/")==-1){jenis="page";if(urlactivepage.indexOf("#PageNo=")!=-1){nomerhal=urlactivepage.substring(urlactivepage.indexOf("#PageNo=")+8,urlactivepage.length)}else{nomerhal=1}document.write("<script src=\""+home_page+"feeds/posts/summary?max-results=1&alt=json-in-script&callback=hitungtotaldata\"><\/script>")}else{jenis="label";if(thisUrl.indexOf("&max-results=")==-1){postperpage=20}if(urlactivepage.indexOf("#PageNo=")!=-1){nomerhal=urlactivepage.substring(urlactivepage.indexOf("#PageNo=")+8,urlactivepage.length)}else{nomerhal=1}document.write('<script src="'+home_page+'feeds/posts/summary/-/'+lblname1+'?alt=json-in-script&callback=hitungtotaldata&max-results=1" ><\/script>')}}}function redirectpage(numberpage){jsonstart=(numberpage-1)*postperpage;nopage=numberpage;var nBody=document.getElementsByTagName('head')[0];var newInclude=document.createElement('script');newInclude.type='text/javascript';newInclude.setAttribute("src",home_page+"feeds/posts/summary?start-index="+jsonstart+"&max-results=1&alt=json-in-script&callback=finddatepost");nBody.appendChild(newInclude)}function redirectlabel(numberpage){jsonstart=(numberpage-1)*postperpage;nopage=numberpage;var nBody=document.getElementsByTagName('head')[0];var newInclude=document.createElement('script');newInclude.type='text/javascript';newInclude.setAttribute("src",home_page+"feeds/posts/summary/-/"+lblname1+"?start-index="+jsonstart+"&max-results=1&alt=json-in-script&callback=finddatepost");nBody.appendChild(newInclude)}function finddatepost(root){post=root.feed.entry[0];var timestamp1=post.published.$t.substring(0,19)+post.published.$t.substring(23,29);var timestamp=encodeURIComponent(timestamp1);if(jenis=="page"){var alamat="/search?updated-max="+timestamp+"&max-results="+postperpage+"#PageNo="+nopage}else{var alamat="/search/label/"+lblname1+"?updated-max="+timestamp+"&max-results="+postperpage+"#PageNo="+nopage}location.href=alamat}
/*]]>*/
</script>
</b:if>
</b:if>

Now search </b: skin> And paste the following CSS code just before it.
#blog-pager {overflow: visible}
.showpageOf {display:none}
span.showpagePoint {
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: .6em .8em;
margin: 0 .2em;
border: 1px solid #e6e6e6;
border-radius: 0.25em;
background-color: #64a281;
border-color: #64a281;
color: #ffffff;
pointer-events: none;
}
span.showpageNum, span.showpage {
margin: 0 .2em;
}
.showpageNum a, .showpage a {
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: .6em .8em;
border: 1px solid #e6e6e6;
border-radius: 0.25em;
color: #2E4057;
text-decoration: none;
}

That's it you are ready to save your settings so click on the save template button. And next and previous numbered pagination in added to your blogger blog. 

Visit your blog and see the changes you have made. The pagination looks like the following snapshot.

How To Add Next And Previous Numbered Pagination In Blogger


Thanks for reading my this post and keep visiting for more useful posts.*


Klasemen Gojek Traveloka Liga 1 2017 Terbaru

June 05, 2017 0
Klasemen Gojek Traveloka Liga 1 2017 Terbaru
Klasemen Gojek Traveloka Liga 1 2017 Terbaru. PSM Makassar masih memimpin klasemen Liga 1 dengan 20 poin.

Persela Lamongan di posisi dua dari 10 pertandingan, diikuti Madura United di posisi tiga dan Bali United di posisi empat. Persipura Jayapura di posisi lima.

Klasemen Gojek Traveloka Liga 1 2017 Terbaru berikut ini sampai pekan ke-9, kecuali Persela dan Gresik United yang sudah memainkan 10 pertandingan.

Persib Bandung di posisi 11. Arema FC di posisi 9. Persija Jakarta masih di papan bawah dengan menempati urutan 15 klasemen.

Klasemen Gojek Traveloka Liga 1 2017 Terbaru


#
Team Name
P
W
D
L
F
A
GD
Pts
1
PSM Makassar
9
6
2
1
16
7
9
20
2
Persela Lamongan
10
5
1
4
16
11
5
16
3
Madura United
9
4
4
1
14
9
5
16
4
Bali United Pusam
9
5
1
3
12
7
5
16
5
Persipura Jayapura
9
5
1
3
14
13
1
16
6
Mitra Kukar
9
4
3
2
16
14
2
15
7
PS TNI
9
4
3
2
17
18
-1
15
8
Bhayangkara FC
9
5
0
4
12
13
-1
15
9
Arema FC
9
4
2
3
7
8
-1
14
10
Barito Putera
9
4
1
4
13
11
2
13
11
Persib Bandung
9
3
4
2
8
7
1
13
12
Pusamania Borneo
9
3
2
4
14
13
1
11
13
Sriwijaya FC
9
3
2
4
9
10
-1
11
14
Semen Padang
9
3
2
4
8
10
-2
11
15
Persija Jakarta
8
2
3
3
6
5
1
9
16
Perseru Serui
8
1
2
5
6
12
-6
5
17
Gresik United
10
1
2
7
8
19
-11
5
18
Persiba Balikpapan
9
1
1
7
7
16
-9
4


Klasemen MotoGP 2017: Vinales Masih Memimpin

June 05, 2017 0
Klasemen MotoGP 2017: Vinales Masih Memimpin
Sukses menjuarai MotoGP Italia di Sirkuit Mugello, Minggu (4/6/2017) malam WIB, membuat posisi Andrea Dovizioso cukup terdongkrak di papan klasemen. Pembalap Ducati itu naik empat tingkat ke peringkat dua klasemen dengan 79 poin dari enam seri balapan.

Maverick Vinales masih nyaman di puncak klasemen meski finis di posisi kedua pada MotoGP Italia. Pembalap Movistar Yamaha itu mengoleksi 105 poin. Sementara rekan Vinales, Vlanetino Rossi, turun ke peringkat kedua dengan poin 75.

Pebalap Repsol Honda Marc Marquez naik ke peringkat empat dengan 68. Dia menyalip rekan setimnya, Dani Pedrosa, yang gagal finis.

Danilo Petrucci, yang membuat kejutan dengan finis ketiga di MotoGP Italia, naik ke peringkat delapan dengan 42 poin. Rider tim tim OCTO Pramac Racing hanya tertinggal empat angka dari Jorge Lorenzo yang menempati peringkat tujuh.

Daftar Klasemen
Berikut klasemen sementara MotoGP setelah seri keenam:

01. Maverick VIÑALES Yamaha SPA 105
02. Andrea DOVIZIOSO Ducati ITA 79
03. Valentino ROSSI Yamaha ITA 75
04. Marc MARQUEZ Honda SPA 68
05. Dani PEDROSA Honda SPA 68
06. Johann ZARCO Yamaha FRA 64
07. Jorge LORENZO Ducati SPA 46
08. Danilo PETRUCCI Ducati ITA 42
09. Jonas FOLGER Yamaha GER 41
10. Cal CRUTCHLOW Honda GBR 40
11. Scott REDDING Ducati GBR 30
12. Jack MILLER Honda AUS 30
13. Alvaro BAUTISTA Ducati SPA 25
14. Andrea IANNONE Suzuki ITA 21
15. Loris BAZ Ducati FRA 19
16. Tito RABAT Honda SPA 18
17. Aleix ESPARGARO Aprilia SPA 17
18. Hector BARBERA Ducati SPA 14
19. Karel ABRAHAM Ducati CZE 9
20. Michele PIRRO Ducati ITA 7
21. Alex RINS Suzuki SPA 7
22. Pol ESPARGARO KTM SPA 6
23. Bradley SMITH KTM GBR 6
24. Sam LOWES Aprilia GBR 2
25. Sylvain GUINTOLI Suzuki FRA 1
26. Takuya TSUDA Suzuki JPN

Tips Aman Bertransaksi Internet Banking

April 13, 2017 0
Tips Aman Bertransaksi Internet Banking
Berikut ini beberapa tips aman bertransaksi di Internet Banking. Tips Aman Bertransaksi Internet Banking.

Malware atau program jahat yang beredar di Internet dapat mengancam kerahasiaan data pribadi dan menimbulkan risiko kerugian finansial.

Cegah infeksi malware dengan cara:
  1. Rutin melakukan update anti virus pada komputer atau handphone Anda.
  2. Hindari akses Internet Banking dari warnet/jaringan publik .
  3. Hindari akses Internet Banking bukan dari perangkat pribadi Anda.
  4. Hindari akses ke situs-situs dewasa/download content /lagu ilegal yang seringkali memiliki risiko tinggi menularkan virus/malware ke perangkat Anda.
Waspada apabila ada perubahan layar login, layar transaksi, flow/ proses transaksi, muncul layar pop-up yang tidak biasa, atau transaksi mendadak terputus.

Hentikan transaksi , jangan masukkan kode m-Secure / e-Secure Anda, dan segera hubungi Call Center Bank Anda untuk memastikan Anda aman dari transaksi yang tidak dinginkan.

Penting juga untuk kita ingat bahwa pelaku kejahatan cyber selalu berupaya dengan berbagai cara dengan menerka informasi penting yang dimiliki korbannya maupun dengan melakukan pendekatan kepada korbannya. Anda dapat memitigasi risiko terhadap kejahatan cyber dengan cara:
  1. Jangan pernah meninggalkan perangkat pribadi Anda dalam kondisi log on Internet Banking
  2. Jangan menuliskan data-data rahasia Internet Banking (user-id, password, ataupun PIN m-Secure / e-Secure) di tempat yang bisa terlihat orang lain
  3. Jangan pernah memberikan data-data rahasia Internet Banking Anda kepada orang lain termasuk kepada petugas sekalipun, baik pada saat bertemu muka ataupun via telepon.
  4. Jangan percaya kepada orang yang menjanjikan sesuatu dan meminta Anda untuk menyampaikan data-data rahasia Internet Banking Anda dengan alasan sebagai syarat untuk mewujudkan janji tersebut.
  5. Perbarui password maupun PIN m-Secure / e-Secure Anda secara berkala.

Mari bersama-sama kita cegah kejahatan cyber dengan menjalankan beberapa tips di atas dimulai dari diri kita sendiri. (Sumber: BNI).*

One player injured after explosions near Borussia Dortmund bus

April 13, 2017 0
One player injured after explosions near Borussia Dortmund bus
April 11, 2017
The Sports Xchange
Displayed with permission from The Sports Xchange

An explosion near the Borussia Dortmund team bus left one player injured and led to the postponement of a Champions League quarterfinal match against Monaco on Tuesday in Germany.

Defender Marc Bartra was transported to the hospital with unspecified injuries after three explosions rocked the bus in the west German town of Dortmund around 7 p.m. local time (1 p.m. ET). There were reports of windows shattering due to the explosions.

The match was rescheduled for Wednesday night in Dortmund.

Borussia Dortmund players and staff were holed up in a secret location on Tuesday night for security reasons.

"(Coach) Thomas (Tuchel) was shocked, one of the explosions happened on his side," CEO Hans-Joachim Watzke said in a statement. "The team is in shock. It will not be easy to get those pictures out of your head. We hope the team is somehow capable to be competitive again tomorrow."

Fans were already inside the stadium when the postponement announcement was made.