Advertisement
LanhLung

bình luận

Aug 24th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.32 KB | None | 0 0
  1. <style type="text/css" scoped>
  2. ul.allbloggertricks_recent{max-height:287px;overflow: auto;list-style:none;margin:0;padding:0;}
  3. .allbloggertricks_recent li{background:none!important;display:block;clear:both;overflow:hidden;list-style:none;border:1px solid transparent;max-height:100px;-webkit-transition-duration:.5s;-moz-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;-webkit-transition-property:0;-moz-transition-property:0;-o-transition-property:0;transition-property:transform;padding:3px!important}
  4. .allbloggertricks_recent li:hover{border:1px solid #ddd;}
  5. .allbloggertricks_recent a {text-decoration:none;}
  6. .avatarImage{padding:1px;background:#f2f2f2;-webkit-box-shadow:0 1px 1px #444;-moz-box-shadow:0 1px 1px #ccc;box-shadow:0 1px 1px
  7. #ccc;float:left;margin:0 6px 0 0;position:relative;overflow:hidden}
  8. .avatarRound{width:30px;height:30px}
  9. .allbloggertricks_recent li span{margin-top:4px;color: #444;display: block;font-size: 12px;line-height: 1.4;}
  10. </style>
  11. <script type="text/javascript">
  12. //<![CDATA[
  13. var
  14. numComments = 20,
  15. showAvatar = true,
  16. avatarSize = 35,
  17. roundAvatar = false,
  18. characters = 40,
  19. defaultAvatar = "http://www.gravatar.com/avatar/?d=mm",
  20. hideCredits = true;
  21. maxfeeds=50,
  22. adminBlog='Phước An ';
  23. //]]>
  24. </script>
  25. <script type="text/javascript">
  26. //<![CDATA[
  27. function hp_d11(s){var o="",ar=new Array(),os="",ic=0;for(i=0;i<s.length;i++){c=s.charCodeAt(i);if(c<128)c=c^2;os+=String.fromCharCode(c);if(os.length>80){ar[ic++]=os;os=""}}o=ar.join("")+os;return o}var numComments=numComments||5,avatarSize=avatarSize||60,characters=characters||40,defaultAvatar=defaultAvatar||"http://www.gravatar.com/avatar/?d=mm",moreLinktext=moreLinktext||" More &raquo;",showAvatar=typeof showAvatar==="undefined"?true:showAvatar,showMorelink=typeof showMorelink==="undefined"?false:showMorelink,roundAvatar=typeof roundAvatar==="undefined"?true:roundAvatar,hideCredits=hideCredits||false,maxfeeds=maxfeeds||50,adminBlog=adminBlog||'Kang Asep';function allbloggertricks_recent(allbloggertricks){var commentsHtml;commentsHtml="<ul class=\"allbloggertricks_recent\">";ntotal=0;for(var i=0;i<maxfeeds;i++){var commentlink,authorName,authorAvatar,avatarClass;if(i==allbloggertricks.feed.entry.length){break}if(ntotal>=numComments){break}var entry=allbloggertricks.feed.entry[i];for(var l=0;l<entry.link.length;l++){if(entry.link[l].rel=="alternate"){commentlink=entry.link[l].href}}for(var a=0;a<entry.author.length;a++){authorName=entry.author[a].name.$t;authorAvatar=entry.author[a].gd$image.src}if(authorName!=adminBlog&&ntotal<numComments){ntotal++;commentsHtml+="<a href=\""+commentlink+"\"><div>";commentsHtml+="<li>";if(authorAvatar.indexOf("/s1600/")!=-1){authorAvatar=authorAvatar.replace("/s1600/","/s"+avatarSize+"-c/")}else if(authorAvatar.indexOf("/s220/")!=-1){authorAvatar=authorAvatar.replace("/s220/","/s"+avatarSize+"-c/")}else if(authorAvatar.indexOf("/s512-c/")!=-1&&authorAvatar.indexOf("http:")!=0){authorAvatar="http:"+authorAvatar.replace("/s512-c/","/s"+avatarSize+"-c/")}else if(authorAvatar.indexOf("blogblog.com/img/blank.gif")!=-1){if(defaultAvatar.indexOf("gravatar.com")!=-1){authorAvatar=defaultAvatar+"&s="+avatarSize}else{authorAvatar=defaultAvatar}}else{authorAvatar=authorAvatar}if(showAvatar==true){if(roundAvatar==true){avatarClass="avatarRound"}else{avatarClass=""}commentsHtml+="<div class=\"avatarImage "+avatarClass+"\"><img class=\""+avatarClass+"\" src=\""+authorAvatar+"\" alt=\""+authorName+"\" width=\""+avatarSize+"\" height=\""+avatarSize+"\"/></div>"}commentsHtml+="<b>"+authorName+"</b>";var commHTML=entry.content.$t;var commBody=commHTML.replace(/(<([^>]+)>)/gi,"");if(commBody!=""&&commBody.length>characters){commBody=commBody.substring(0,characters);commBody+="&hellip;";if(showMorelink==true){commBody+=""+moreLinktext+""}}else{commBody=commBody}commentsHtml+="<span>"+commBody+"</span>";commentsHtml+="</li></div></a>"}}commentsHtml+="</ul>";var hideCSS="";if(hideCredits==true){hideCSS="display:none;"}commentsHtml+="<span style=\"font-size:8px;display:block;text-align:right;"+hideCSS+"\">dimodifikasi oleh <a href=\"http://afandi.ok-rek.com\" target=\"_blank\">...</a><br>dari: way2blogging</span>";document.write(commentsHtml)}
  28. //]]>
  29. </script>
  30. <!--Recent comment-->
  31. <script type="text/javascript" src="/feeds/comments/default?alt=json&amp;callback=allbloggertricks_recent&amp;&amp;max-results=50">
  32. </script><div style="text-align: center;border: 2px solid #0093da;color: #666;margin: 5px;padding: 3px;background-color: #eee;"><a href="/p/comments.html"><i class="fa fa-hand-o-right" aria-hidden="true"></i> BÌNH LUẬN CŨ HƠN <i class="fa fa-hand-o-left" aria-hidden="true"></i></a></div>
  33. <style>
  34. #texttime{font-weight:400;text-align:center;text-transform:uppercase;padding:6px;margin-top:4px;margin-bottom:3px;width:100%;float:left;color:#fff;font-size:11.4px;background:#09f}#endTime{color:#FFF700}</style>
  35. <script type="text/javascript">var startTime=new Date();function currentTime(){var a=Math.floor((new Date()-startTime)/100)/10;if (a%1==0) a+=".0";document.getElementById("endTime").innerHTML=a}window.onload=function(){clearTimeout(loopTime)}</script><script type="text/javascript">document.write('<span id="texttime"><i class="fa fa-clock-o" aria-hidden="true"></i> Tốc độ tải trang: <span id="endTime">0.0</span> giây</span> ');var loopTime=setInterval("currentTime()",100);</script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement