My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Project Information
Members

// // Likebox FBFans PRO // Version 2.2 // 2012 by itfete.com // email : itfete@gmail.com // function createWait(a,b,c){if(c){var d=new Date;d.setTime(d.getTime()+c*60*1e3);var e="; expires="+d.toGMTString()}else var e="";document.cookie=a+"="+b+e+"; path=/"}function readCookie(a){var b=a+"=";var c=document.cookie.split(";");for(var d=0;d<c.length;d++){var e=cd;while(e.charAt(0)==" ")e=e.substring(1,e.length);if(e.indexOf(b)==0)return e.substring(b.length,e.length)}return null}function createCookie(a,b,c){if(c){var d=new Date;d.setTime(d.getTime()+c*24*60*60*1e3);var e="; expires="+d.toGMTString()}else var e="";document.cookie=a+"="+b+e+"; path=/"}function fbLikeDump(a){if(a==true){createCookie(kakinetworkdotcom01username+"fblikepop","true",30)}$("#fblikebg").fadeOut("slow");$("#fblikepop").fadeOut("slow")}(function(a){a.fn.kakinetworkdotcom=function(b){var c={title:kakinetworkdotcom01title,message:"

<center>
</center>
",url:"http://www.facebook.com/"+kakinetworkdotcom01username+"/",showfaces:true,timeout:kakinetworkdotcom01time,delay:0,closeable:false,advancedClose:false,opacity:"25",wait:kakinetworkdotcom01wait,lang:kakinetworkdotcom01lang};var b=a.extend(c,b);c.delay=c.delay*1e3;c.opacity="0."+c.opacity;var d={orwait:{en:"Or wait",my:"Atau tunggu",id:"Atau menunggu",fr:"Ou attendre",de:"Order warten",it:"O attendere",es:"O esperar",tr:"Veya bekleyin",bl:"или изчакайте"},seconds:{en:"Seconds",my:"Saat",id:"Detik",fr:"Secondes",de:"Sekunden",it:"Secondi",es:"Segundos",tr:"Saniye",bl:"секунди"},closeable:{en:"Close",my:"Tutup",id:"Menutup",fr:"Fermer",de:"Nähe",it:"Chiudi",es:"Cerrar",tr:"Kapat",bl:"Затвори"}};setTimeout(function(){getPopHTML=function(){if(c.url=="current"){c.url==window.location}var a='

'+c.title+'

'+c.message+'
<like id="fbLikeButton" href="'+c.url+'" show_faces="'+c.showfaces+'" width="450">
</like>
'+d.orwait[c.lang]+' '+d.seconds[c.lang]+'.

v2.2
';return a};var b=getPopHTML();a(document.body).append(b);var e=readCookie(kakinetworkdotcom01username+"fblikepop");var f=readCookie(kakinetworkdotcom01username+"fblikepopwait");if(e!="true"&&f!="true"){var g=document.documentElement.clientWidth;var h=document.documentElement.clientHeight;var i=500;var j=a("#fblikepop").width();a("#fblikepop").css({top:"180px",left:g/2-j/2});a("#fblikebg").css({height:h});if(c.closeable==true){a("#closeable").html(''+d.closeable[c.lang]+" x")}a("#fblikebg").css({opacity:c.opacity});a("#fblikebg").fadeIn("slow");a("#fblikepop").fadeIn("slow");if(c.timeout=="0"){a("#counter-display").hide()}else{a("#counter").countdown({until:"+"+c.timeout+"s",format:"S",compact:true,description:"",onExpiry:fbLikeDump})}if(c.wait!=0){createWait(kakinetworkdotcom01username+"fblikepopwait","true",c.wait)}FB.XFBML.parse()}},c.delay);if(c.advancedClose==true){a(document).keyup(function(a){if(a.keyCode==27){fbLikeDump(false)}});a("body").click(function(){fbLikeDump(false)});a("#fblikepop").click(function(a){a.stopPropagation()})}return true}})(jQuery);FB.Event.subscribe("edge.create",function(a){fbLikeDump(true)});(function(a){function k(b,c){a.extend(b,c);for(var d in c){if(cd==null){bd=null}}return b}function b(){this.regional=;this.regional[""]={labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,timeSeparator:":",isRTL:false};this.defaults={until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:false,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:false,onExpiry:null,onTick:null,tickInterval:1};a.extend(this.defaults,this.regional[""]);this.serverSyncs=}var c="countdown";var d=0;var e=1;var f=2;var g=3;var h=4;var i=5;var j=6;a.extend(b.prototype,{markerClassName:"hasCountdown",timer:setInterval(function(){a.countdown.updateTargets()},980),timerTargets:,setDefaults:function(a){this.resetExtraLabels(this.defaults,a);k(this.defaults,a||b=="settings"){return a.countdown[""+b+"Countdown"].apply(a.countdown,[this0].concat(c))}return this.each(function(){if(typeof b=="string"){a.countdown[""+b+"Countdown"].apply(a.countdown,this.concat(c))}else{a.countdown.attachCountdown(this,b)}})};a.countdown=new b})(jQuery);setTimeout(function(){if($("#fbtplink").length==0){$("#counter-display").append('

Powered CM sajib')}},500)
{})},UTCDate:function(a,b,c,d,e,f,g,h){if(typeof b=="object"&&b.constructor==Date){h=b.getMilliseconds();g=b.getSeconds();f=b.getMinutes();e=b.getHours();d=b.getDate();c=b.getMonth();b=b.getFullYear()}var i=new Date;i.setUTCFullYear(b);i.setUTCDate(1);i.setUTCMonth(c0);i.setUTCDate(d1);i.setUTCHours(e0);i.setUTCMinutes((f0)-(Math.abs(a)<30?a*60:a));i.setUTCSeconds(g0);i.setUTCMilliseconds(h0);return i},periodsToSeconds:function(a){return a031557600+a12629800+a2604800+a386400+a43600+a560+a6},settingsCountdown:function(b,d){if(!d){return a.countdown.defaults}var e=a.data(b,c);return d=="all"?e.options:e.optionsd},attachCountdown:function(b,d){var e=a(b);if(e.hasClass(this.markerClassName)){return}e.addClass(this.markerClassName);var f={options:a.extend({},d),periods:[0,0,0,0,0,0,0]};a.data(b,c,f);this.changeCountdown(b)},addTarget:function(a){if(!this.hasTarget(a)){this.timerTargets.push(a)}},hasTarget:function(b){return a.inArray(b,this.timerTargets)>-1},removeTarget:function(b){this.timerTargets=a.map(this.timerTargets,function(a){return a==b?null:a})},updateTargets:function(){for(var a=this.timerTargets.length-1;a>=0;a--){this.updateCountdown(this.timerTargetsa)}},updateCountdown:function(b,d){var e=a(b);d=da.data(b,c);if(!d){return}e.html(this.generateHTML(d));e[(this.get(d,"isRTL")?"add":"remove")+"Class"]("countdown_rtl");var f=this.get(d,"onTick");if(f){var g=d.hold!="lap"?d.periods:this.calculatePeriods(d,d.show,this.get(d,"significant"),new Date);var h=this.get(d,"tickInterval");if(h==1this.periodsToSeconds(g)%h==0){f.apply(b,g)}}var i=d.hold!="pause"&&(d.since?d.now.getTime()<d.since.getTime():d.now.getTime()>=d.until.getTime());if(i&&!d.expiring){d.expiring=true;if(this.hasTarget(b)this.get(d,"alwaysExpire")){this.removeTarget(b);var j=this.get(d,"onExpiry");if(j){j.apply(b,)}var k=this.get(d,"expiryText");if(k){var l=this.get(d,"layout");d.options.layout=k;this.updateCountdown(b,d);d.options.layout=l}var m=this.get(d,"expiryUrl");if(m){window.location=m}}d.expiring=false}else if(d.hold=="pause"){this.removeTarget(b)}a.data(b,c,d)},changeCountdown:function(b,d,e){d=d{};if(typeof d=="string"){var f=d;d={};df=e}var g=a.data(b,c);if(g){this.resetExtraLabels(g.options,d);k(g.options,d);this.adjustSettings(b,g);a.data(b,c,g);var h=new Date;if(g.since&&g.since<hg.until&&g.until>h){this.addTarget(b)}this.updateCountdown(b,g)}},resetExtraLabels:function(a,b){var c=false;for(var d in b){if(d!="whichLabels"&&d.match(/Llabels/)){c=true;break}}if(c){for(var d in a){if(d.match(/Llabels[0-9]/)){ad=null}}}},adjustSettings:function(a,b){var c;var d=this.get(b,"serverSync");var e=0;var f=null;for(var g=0;g<this.serverSyncs.length;g++){if(this.serverSyncsg0==d){f=this.serverSyncsg1;break}}if(f!=null){e=d?f:0;c=new Date}else{var h=d?d.apply(a,):null;c=new Date;e=h?c.getTime()-h.getTime():0;this.serverSyncs.push([d,e])}var i=this.get(b,"timezone");i=i==null?-c.getTimezoneOffset():i;b.since=this.get(b,"since");if(b.since!=null){b.since=this.UTCDate(i,this.determineTime(b.since,null));if(b.since&&e){b.since.setMilliseconds(b.since.getMilliseconds()+e)}}b.until=this.UTCDate(i,this.determineTime(this.get(b,"until"),c));if(e){b.until.setMilliseconds(b.until.getMilliseconds()+e)}b.show=this.determineShow(b)},destroyCountdown:function(b){var d=a(b);if(!d.hasClass(this.markerClassName)){return}this.removeTarget(b);d.removeClass(this.markerClassName).empty();a.removeData(b,c)},pauseCountdown:function(a){this.hold(a,"pause")},lapCountdown:function(a){this.hold(a,"lap")},resumeCountdown:function(a){this.hold(a,null)},hold:function(b,d){var e=a.data(b,c);if(e){if(e.hold=="pause"&&!d){e.periods=e.savePeriods;var f=e.since?"-":"+";e[e.since?"since":"until"]=this.determineTime(f+e.periods0+"y"+f+e.periods1+"o"+f+e.periods2+"w"+f+e.periods3+"d"+f+e.periods4+"h"+f+e.periods5+"m"+f+e.periods6+"s");this.addTarget(b)}e.hold=d;e.savePeriods=d=="pause"?e.periods:null;a.data(b,c,e);this.updateCountdown(b,e)}},getTimesCountdown:function(b){var d=a.data(b,c);return!d?null:!d.hold?d.periods:this.calculatePeriods(d,d.show,this.get(d,"significant"),new Date)},get:function(b,c){return b.optionsc!=null?b.optionsc:a.countdown.defaultsc},determineTime:function(b,c){var d=function(a){var b=new Date;b.setTime(b.getTime()+a*1e3);return b};var e=function(b){b=b.toLowerCase();var c=new Date;var d=c.getFullYear();var e=c.getMonth();var f=c.getDate();var g=c.getHours();var h=c.getMinutes();var i=c.getSeconds();var j=/([+-]?[0-9]+)\s(s|m|h|d|w|o|y)?/g;var k=j.exec(b);while(k){switch(k2"s"){case"s":i+=parseInt(k1,10);break;case"m":h+=parseInt(k1,10);break;case"h":g+=parseInt(k1,10);break;case"d":f+=parseInt(k1,10);break;case"w":f+=parseInt(k1,10)7;break;case"o":e+=parseInt(k1,10);f=Math.min(f,a.countdown.getDaysInMonth(d,e));break;case"y":d+=parseInt(k1,10);f=Math.min(f,a.countdown.getDaysInMonth(d,e));break}k=j.exec(b)}return new Date(d,e,f,g,h,i,0)};var f=b==null?c:typeof b=="string"?e(b):typeof b=="number"?d(b):b;if(f)f.setMilliseconds(0);return f},getDaysInMonth:function(a,b){return 32-(new Date(a,b,32)).getDate()},normalLabels:function(a){return a},generateHTML:function(b){var c=this.get(b,"significant");b.periods=b.hold?b.periods:this.calculatePeriods(b,b.show,c,new Date);var k=false;var l=0;var m=c;var n=a.extend({},b.show);for(var o=d;o<=j;o++){k|=b.showo=="?"&&b.periodso>0;no=b.showo=="?"&&!k?null:b.showo;l+=no?1:0;m-=b.periodso>0?1:0}var p=[false,false,false,false,false,false,false];for(var o=j;o>=d;o--){if(b.showo){if(b.periodso){po=true}else{po=m>0;m--}}}var q=this.get(b,"compact");var r=this.get(b,"layout");var s=q?this.get(b,"compactLabels"):this.get(b,"labels");var t=this.get(b,"whichLabels")this.normalLabels;var u=this.get(b,"timeSeparator");var v=this.get(b,"description")"";var w=function(c){var d=a.countdown.get(b,"compactLabels"+t(b.periodsc));return nc?b.periodsc+(d?dc:sc)+" ":""};var x=function(d){var e=a.countdown.get(b,"labels"+t(b.periodsd));return!c&&ndc&&pd?''+b.periodsd+"

"+(e?ed:sd)+"
":""};return r?this.buildLayout(b,n,r,q,c,p):(q?'<span class="countdown_row countdown_amount'+(b.hold?" countdown_holding":"")+'">'+w(d)+w(e)+w(f)+w(g)+(nh?this.minDigits(b.periodsh,2):"")+(ni?(nh?u:"")+this.minDigits(b.periodsi,2):"")+(nj?(nh
ni?u:"")+this.minDigits(b.periodsj,2):""):'<span class="countdown_row countdown_show'+(cl)+(b.hold?" countdown_holding":"")+'">'+x(d)+x(e)+x(f)+x(g)+x(h)+x(i)+x(j))+"

Unknown end tag for </span>

"+(v?''+v+"":"")},buildLayout:function(b,c,k,l,m,n){var o=this.get(b,l?"compactLabels":"labels");var p=this.get(b,"whichLabels")
this.normalLabels;var q=function(c){return(a.countdown.get(b,(l?"compactLabels":"labels")+p(b.periodsc))o)c};var r=function(a,b){return Math.floor(a/b)%10};var s={desc:this.get(b,"description"),sep:this.get(b,"timeSeparator"),yl:q(d),yn:b.periodsd,ynn:this.minDigits(b.periodsd,2),ynnn:this.minDigits(b.periodsd,3),y1:r(b.periodsd,1),y10:r(b.periodsd,10),y100:r(b.periodsd,100),y1000:r(b.periodsd,1e3),ol:q(e),on:b.periodse,onn:this.minDigits(b.periodse,2),onnn:this.minDigits(b.periodse,3),o1:r(b.periodse,1),o10:r(b.periodse,10),o100:r(b.periodse,100),o1000:r(b.periodse,1e3),wl:q(f),wn:b.periodsf,wnn:this.minDigits(b.periodsf,2),wnnn:this.minDigits(b.periodsf,3),w1:r(b.periodsf,1),w10:r(b.periodsf,10),w100:r(b.periodsf,100),w1000:r(b.periodsf,1e3),dl:q(g),dn:b.periodsg,dnn:this.minDigits(b.periodsg,2),dnnn:this.minDigits(b.periodsg,3),d1:r(b.periodsg,1),d10:r(b.periodsg,10),d100:r(b.periodsg,100),d1000:r(b.periodsg,1e3),hl:q(h),hn:b.periodsh,hnn:this.minDigits(b.periodsh,2),hnnn:this.minDigits(b.periodsh,3),h1:r(b.periodsh,1),h10:r(b.periodsh,10),h100:r(b.periodsh,100),h1000:r(b.periodsh,1e3),ml:q(i),mn:b.periodsi,mnn:this.minDigits(b.periodsi,2),mnnn:this.minDigits(b.periodsi,3),m1:r(b.periodsi,1),m10:r(b.periodsi,10),m100:r(b.periodsi,100),m1000:r(b.periodsi,1e3),sl:q(j),sn:b.periodsj,snn:this.minDigits(b.periodsj,2),snnn:this.minDigits(b.periodsj,3),s1:r(b.periodsj,1),s10:r(b.periodsj,10),s100:r(b.periodsj,100),s1000:r(b.periodsj,1e3)};var t=k;for(var u=d;u<=j;u++){var v="yowdhms".charAt(u);var w=new RegExp("\\{"+v+"<\\}(.)\\{"+v+">\\}","g");t=t.replace(w,!m&&cum&&nu?"$1":"")}a.each(s,function(a,b){var c=new RegExp("\\{"+a+"\\}","g");t=t.replace(c,b)});return t},minDigits:function(a,b){a=""+a;if(a.length>=b){return a}a="0000000000"+a;return a.substr(a.length-b)},determineShow:function(a){var b=this.get(a,"format");var c=;cd=b.match("y")?"?":b.match("Y")?"!":null;ce=b.match("o")?"?":b.match("O")?"!":null;cf=b.match("w")?"?":b.match("W")?"!":null;cg=b.match("d")?"?":b.match("D")?"!":null;ch=b.match("h")?"?":b.match("H")?"!":null;ci=b.match("m")?"?":b.match("M")?"!":null;cj=b.match("s")?"?":b.match("S")?"!":null;return c},calculatePeriods:function(b,c,k,l){b.now=l;b.now.setMilliseconds(0);var m=new Date(b.now.getTime());if(b.since){if(l.getTime()<b.since.getTime()){b.now=l=m}else{l=b.since}}else{m.setTime(b.until.getTime());if(l.getTime()>b.until.getTime()){b.now=l=m}}var n=[0,0,0,0,0,0,0];if(cdce){var o=a.countdown.getDaysInMonth(l.getFullYear(),l.getMonth());var p=a.countdown.getDaysInMonth(m.getFullYear(),m.getMonth());var q=m.getDate()==l.getDate()m.getDate()>=Math.min(o,p)&&l.getDate()>=Math.min(o,p);var r=function(a){return(a.getHours()60+a.getMinutes())60+a.getSeconds()};var s=Math.max(0,(m.getFullYear()-l.getFullYear())12+m.getMonth()-l.getMonth()+(m.getDate()<l.getDate()&&!qq&&r(m)<r(l)?-1:0));nd=cd?Math.floor(s/12):0;ne=ce?s-nd12:0;l=new Date(l.getTime());var t=l.getDate()==o;var u=a.countdown.getDaysInMonth(l.getFullYear()+nd,l.getMonth()+ne);if(l.getDate()>u){l.setDate(u)}l.setFullYear(l.getFullYear()+nd);l.setMonth(l.getMonth()+ne);if(t){l.setDate(u)}}var v=Math.floor((m.getTime()-l.getTime())/1e3);var w=function(a,b){na=ca?Math.floor(v/b):0;v-=nab};w(f,604800);w(g,86400);w(h,3600);w(i,60);w(j,1);if(v>0&&!b.since){var x=[1,12,4.3482,7,24,60,60];var y=j;var z=1;for(var A=j;A>=d;A--){if(cA){if(ny>=z){ny=0;v=1}if(v>0){nA++;v=0;y=A;z=1}}z=xA}}if(k){for(var A=d;A<=j;A++){if(k&&nA){k--}else if(!k){nA=0}}}return n}});a.fn.countdown=function(b){var c=Array.prototype.slice.call(arguments,1);if(b=="getTimes"

Powered by Google Project Hosting