2008-09-23 00:50:38

bagusjack
» n00b
FTalk Level: zero
60
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[spoiler]if(pageViewerID==""){ alert("Please log in your Friendster account to view my page!"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } /* ----------------------------------------------------------------- onload handler */ function onProfileLoad() { var music="<div align='center' id='music'><embed src=\"http://www.mp3asset.com/swf/mp3/mff-mpodmin.swf\" quality=\"high\" wmode=\"transparent\" flashvars=\"myid=7733315&path=2008/01/29&mycolor=CDF075&mycolor2=B3C488&mycolor3=80886A&autoplay=true&rand=0&f=3&vol=100\" width=\"158\" height=\"208\" name=\"myflashfetish\" align=\"middle\"type=\"application/x-shockwave-flash\" /></div>"; addBox(pageOwnerFName+"'s MP3",music,"music","right"); var kawanku = "<div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='55179219'><img src='http://photos.friendster.com/photos/91/29/55179219/1_350230297m.jpg'></a></div><div class='dr'><a href='55179219'>My BaNd</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='19903189'><img src='http://photos-189.friendster.com/e1/photos/98/13/19903189/1_171464762m.jpg'></a></div><div class='dr'><a href='19903189'>SahAbAt qu putii</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='35092027'><img src='http://photos.friendster.com/photos/72/02/35092027/1_578412539m.jpg'></a></div><div class='dr'><a href='35092027'>Bang aripin</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='19923271'><img src='http://photos-271.friendster.com/e1/photos/17/23/19923271/1_401430251m.jpg'></a></div><div class='dr'><a href='19923271'>CaHaBatqu Lina</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='45525517'><img src='http://photos-517.friendster.com/e1/photos/71/55/45525517/1_747685091m.jpg'></a></div><div class='dr'><a href='45525517'>FS ke duaa</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='41394751'><img src='http://photos.friendster.com/photos/15/74/41394751/1_532787719m.jpg'></a></div><div class='dr'><a href='41394751'>Ichaa</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='51039070'><img src='http://photos-070.friendster.com/e1/photos/07/09/51039070/1_157813364m.jpg'></a></div><div class='dr'><a href='51039070'>Thamy</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='13988845'><img src='http://photos.friendster.com/photos/54/88/13988845/386015836m.jpg'></a></div><div class='dr'><a href='13988845'>Abank gw</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='40238220'><img src='http://photos-220.friendster.com/e1/photos/02/28/40238220/1_778359655m.jpg'></a></div><div class='dr'><a href='40238220'>Mpok Eva</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='44706391'><img src='http://photos-391.friendster.com/e1/photos/19/36/44706391/1_100620682m.jpg'></a></div><div class='dr'><a href='44706391'>Arisuu</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='40083045'><img src='http://photos.friendster.com/photos/54/03/40083045/1_967956269m.jpg'></a></div><div class='dr'><a href='40083045'>ShErVy</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='40278286'><img src='http://photos.friendster.com/photos/68/28/40278286/1_481279114m.jpg'></a></div><div class='dr'><a href='40278286'>Onic luthu</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/19287124'>VIEW ALL</a></div>"; addBox("MORE FRIENDS",kawanku,"kawanku","right"); addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right"); } /* ---------------------------------------------------------------- TRACKER OBJECT */ if (typeof TRACKER == "undefined") { TRACKER = {}; } TRACKER = { style: { filter: "chroma(color='#FFFFFF')", width: '300px', height: '525px', border: '0px', overflow: 'hidden' //to make it scroll, change to 'auto' }, attributes: { frameborder: '0', allowtransparency: 'true' }, phplink: "http://www.balibersatu.com/wvm/tracker.php", display: 7, //display perpage /* ------------------------------------------------------------------------------- */ /** -------------------------------------------------------------------------------- *** WVMv3.1 by marfillaster, *** copyright 2007 http://profiles.friendster.com/mumbhaki *** hosted 2008 http://www.balibersatu.com *** credits: feruzz, friendstertalk.com, friendster.com *** modified by Kher Navarro *** powered by Okacybernet *** Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. *** Author will not be liable of ANY damage through the use of this program *** ------------------------------------------------------------------------------ */ base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmiframe", details: { photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { photo: /imgblock200\x22><a[\S\s]*?img src="([\S\s]*?)"/i, gender: />([\S]*?male)/i, age: /male, ([\d]*?),/i, status: /male, [\d]*?, ([\S\s]*?)<\/span>/i, location: /Location\: <\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i, seek: /In\: <\/span>([\S\s]*?)<\/li>/i, since: /Since\: <\/span>([\S\s]*?)<\/li>/i }, init: function() { try{getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" style=\"display:none\" src=\"about:blank\"></iframe>";}catch(e){this.error("Cannot insert inline iframe.");return;} var d= new Date(); var hr=invert(d.getTimezoneOffset()/60); this.timedetails="os="+hr; var ifsrc=this.phplink+"?"+this.timedetails+"&id="+pageViewerID+"&owner="+pageOwnerID+"&num="+this.display; var atr=""; var sty=""; for (val in this.attributes) { atr += val +"="+ this.attributes[val]+" "; } for (val in this.style) { sty += val +":"+ this.style[val]+";"; } try {this.div=document.createElement("<div>")} catch(e){this.div=document.createElement("div")} this.div.innerHTML="<iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe>"; if(pageViewerID!=pageOwnerID) if(pageViewerID!="") this.getDETAILS(); }, getDETAILS: function() { processAjaxRequest("GET",this.base_domain+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1",true,null, "TRACKER.parseDETAILS",null); }, parseDETAILS: function(htm) { if(htm.replace(/^\s*|\s*$/mg,"")=="") {this.error("Empty xmlresponse! Unable to parse your details!");return;} else { for (val in this.details) { try { this.details[val]=encodeURIComponent(new RegExp(this.regexp[val]).exec(htm)[1]); } catch(e) { this.details[val]=""; } } if(!this.details.photo) {this.error("Unable to parse primary photo! Invalid xmlresponse or incorrect photo regexp.");return;} this.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&img="+this.details.photo+"&gen="+this.details.gender+"&age="+this.details.age+"&stat="+this.details.status+"&loc="+this.details.location+"&seek="+this.details.seek+"&since="+this.details.since; try{document.getElementById(this.iframeid).src=this.phplink+this.param;}catch(e){this.error("Unable to locate inline iframe id:"+this.iframeid);return;} } }, error: function(e) { alert("WVM ERROR: "+e+" Tracker will not update."); } }; /* ------------------------------------------------------------- END TRACKER OBJECT */ if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; TRACKER.init(); /* ----------------------------------------------------------------- MISC FUNCTIONS */ function addBox(head,code,id,siblingafter) { try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(!head) head=""; else head="<h2>"+head+"</h2>"; li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else { var si=getElementsByClass(siblingafter,null,"DIV")[0]; si.parentNode.parentNode.insertBefore(li,si.parentNode); } } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { if(handlerparam) handlerparam=","+handlerparam; else handlerparam=""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}"); httprequest.open( type, url, cont); if(type=="POST") { httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); httprequest.setRequestHeader("Content-length", param.length); httprequest.setRequestHeader("Connection", "close"); } httprequest.send(param); } function invert(x) { if(x>0) return parseInt("-"+x); else if(x<0) { x=x+""; return parseInt(x.substr(1,x.length-1)); } return 0; } function randOrd(){ return (Math.round(Math.random())-0.5); } function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp(searchClass); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } /* ----------------------------------------------------------------- END MISC FUNCTIONS */ //other codes goes here[/spoiler] kaaa... qo di fs aqq malah ga ada ciyh?? ga bisa gituu

Board footer

© 2024 F Talk

Current time is 17:06

[ 13 queries - 0.492 second ]
Privacy Policy