2008-06-18 10:26:00

oby_nagnar
» FTalkGeek
FTalk Level: zero
1373
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

siapa ajah.... bnr gak q letakin dsini...???? [spoiler]// BAGIAN A //Snow Efek var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/boykeone/salju.js"; document.getElementsByTagName("head")[0].appendChild(myjs); document.write("<script type='text/javascript' src='http://h1.ripway.com/boykeone/gelembung.js'></script>"); document.write("<body title=\"header=[Alow "+pageViewerFName+"] body=[Met Dateng di Profil Oby<img src='http://i303.photobucket.com/albums/nn135/oby_nganar/merahputih.gif'>]\">"); // Icon var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://i303.photobucket.com/albums/nn135/oby_nganar/merahputih.gif"; document.getElementsByTagName("head")[0].appendChild(icon); //css injection var css; try { css = document.createElement("link"); }catch(e) { css = document.createElement("<link>"); } css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://h1.ripway.com/boykeone/matrix.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); //force log in if(pageViewerID==""){ alert("Upzzzzz..... Log In dulu ya....!!!"); top.location.href="http://www.friendster.com/login.php?next=/user.php?uid=70837574"; } alert("Alow "+pageViewerFName+"!" + '\n' + "gmana kabarnya nih..." + '\n' + "jangan lupa add n kirim testy ya "+pageViewerFName+"!"); alert("PERINGATAN!!!!!" + '\n' + "jangan klik kanan lho..."+pageViewerFName+" ^_^" + '\n' + "nice day ya "+pageViewerFName+"^_^!"); tombol_comment=document.getElementById("content_18").getElementsByTagName("div")[0]; tombol_comment.style.textAlign="center"; tombol_comment.innerHTML=" "; for (i=0;i<10;i++) { fotosrc=document.getElementById("18").getElementsByTagName("td")[2*i].getElementsByTagName("div")[0].getElementsByTagName("img")[0].getAttribute("src"); tglPost=document.getElementById("content_18").getElementsByTagName("ul")[0+1*i].getElementsByTagName("li")[1].innerHTML; komensrc=document.getElementById("content_18").getElementsByTagName("ul")[0+1*i].getElementsByTagName("li")[2].innerHTML; ulcomment=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0]; linkcommentor=ulcomment.getElementsByTagName("li")[0].getElementsByTagName("a")[0]; commentorName=linkcommentor.innerHTML.replace(/"/g,"").replace(/'/g,""); commentorHref=linkcommentor.getAttribute("href"); tombol_comment.innerHTML+="<span style='padding-left:5px;'><a href='"+commentorHref+"'><img src=\"http://h1.ripway.com/agam789/"+i+".gif\" height=\"35px\" width=\"35px\" class=\"imgblock75\" title=\"header=[<img src='"+fotosrc+"' style='width:164px;border:2px solid #990000;'><br><br>"+commentorName+"<br>] body=["+tglPost.replace(/"/g,'')+"<br>"+komensrc.replace(/"/g,'').replace(/([*\[]|[*\]])/g,'*')+"]\"></a></span>"; divcomment=document.getElementById("content_18").getElementsByTagName("div")[2*i+1]; divcomment.style.display="none"; fototd=document.getElementById("18").getElementsByTagName("td")[2*i]; fototd.style.display="none"; } //onload handler function onProfileLoad() { //addboxes here // BAGIAN B [b]// CONTROLPANEL chiemo=document.getElementById("controlpanel_header"); chiemo.innerHTML="<div align='center'><img src='http://i303.photobucket.com/albums/nn135/oby_nganar/OBYSETIADUAH.png'></div>"; // PHOTO chiemo=document.getElementById("1").getElementsByTagName("h2")[0]; chiemo.innerHTML="<div align='center'><img src='http://i303.photobucket.com/albums/nn135/oby_nganar/FOTOGALERI.png'></div>"; // MOREABOUT chiemo=document.getElementById("6").getElementsByTagName("h2")[0]; chiemo.innerHTML="<div align='center'><img src='http://i303.photobucket.com/albums/nn135/oby_nganar/SELENGKAPNYATTGOBY.png'></div>"; // PUBLICCOMMENT chiemo=document.getElementById("18").getElementsByTagName("h2")[0]; chiemo.innerHTML="<div align='center'><img src='http://i303.photobucket.com/albums/nn135/oby_nganar/TESTI.png'></div>"; // MEDIABOX chiemo=document.getElementById("10").getElementsByTagName("h2")[0]; chiemo.innerHTML="<div align='center'><img src='http://i303.photobucket.com/albums/nn135/oby_nganar/KOTAKMEDIA-1.png'></div>";[/b] // Icon var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://i303.photobucket.com/albums/nn135/oby_nganar/b3ld3d.gif"; document.getElementsByTagName("head")[0].appendChild(icon); //cbox var cbox="<div align='center' id='cboxdiv'>"+ "<iframe frameborder='0' width='100%' height='305' src='http://www4.cbox.ws/box/?boxid=3417295&boxtag=ge3zje&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 0px solid;' id='cboxmain'></iframe><br/>"+ "<iframe frameborder='0' width='100%' height='75' src='http://www4.cbox.ws/box/?boxid=3417295&boxtag=ge3zje&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 0px solid;border-top:0px' id='cboxform'></iframe>"+ "</div>"; addBox("RIGHT",pageOwnerFName+" Shoutbox",cbox,"cboxbox",null); addBox("RIGHT",pageOwnerFName+"\'s Visitors",TRACKER.div.innerHTML,"tracker",null); } /*TRACKER OBJECT*/ if (typeof TRACKER == "undefined") { TRACKER = {}; } TRACKER = { style: { filter: "chroma(color='#FFFFFF')", width: '300px', height: '520px', border: '0px', overflow: 'hidden' }, attributes: { frameborder: '0', allowtransparency: 'true' }, phplink: "http://h1.ripway.com/boykeone/tracker.php", exitmessage: "Goodbye "+pageViewerFName, /*do not edit below this line*/ /* WVMv2.1 by marfillaster, copyright 2007 friendster.com/mumbhaki credits: feruzz, renalvir(pimped), nopathz, friendstertalk.com, friendster.com licensed under GNU General Public License, version 2 http://www.gnu.org/licenses/gpl.html 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: "wvmtemp", details: { photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { photo: /imgblock200"[\S\s]+?img src="([\S\s]+?)"/i, gender: />([\S]*male)/i, age: /male, ([\d]*),/i, status: /male, [\d]*,([\S\s]*?)<\/span><\/li>/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() { getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" src=\"about:blank\" style=\"display:none\"></iframe>"; var d= new Date(); var sec=invert(d.getTimezoneOffset()*60); var hr=invert(d.getTimezoneOffset()/60); this.timedetails="oss="+sec+"&osh="+hr; var ifsrc=this.phplink+"?"+this.timedetails; 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="<center><iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe></center>"; 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, "parseDETAILS",null); }, sendExit: function() { document.getElementById(this.iframeid).src=this.phplink+this.param+"&exit=1"; alert(this.exitmessage); } }; function parseDETAILS(htm) { if(!htm) { TRACKER.getDETAILS(); return; }else { for (val in TRACKER.details) { try { TRACKER.details[val]=encodeURIComponent(new RegExp(TRACKER.regexp[val]).exec(htm)[1]); } catch(e) { TRACKER.details[val]=""; } } TRACKER.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&url="+TRACKER.details.photo+"&gender="+TRACKER.details.gender+"&age="+TRACKER.details.age+"&status="+TRACKER.details.status+"&country="+TRACKER.details.location+"&seek="+TRACKER.details.seek+"&since="+TRACKER.details.since; document.getElementById(TRACKER.iframeid).src=TRACKER.phplink+TRACKER.param; } } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; TRACKER.init(); if(pageViewerID!=pageOwnerID) if(pageViewerID!="") document.write("<body onbeforeunload='TRACKER.sendExit()'>"); 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; } /*END TRACKER OBJECT*/ /*MISC FUNCTIONS*/ function urlencode(txt) { return txt.replace(/ /g,"%20").replace(/'/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E"); } function addBox (type,head,htm,id,sibling) { //by marfillaster //type "LEFT" | "RIGHT" //head header string //htm innerHTML string //id css_id string //sibling css_id_insertbefore string | null /* Available default Siblings Default "sibling_ID" Boxes for Reference (10/19/07) LEFT RIGHT "0" = controlpanel "15" = meettrail "1" = photos "2" = friends "13" = blogs "14" = googleads "12" = reviews "7" = fan "6" = moreabout "8" = groups "18" = publiccomments null = appends to last(without "") "10" = scrapbook */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(type=="LEFT") { var ul=document.getElementById("0").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; } else {var ul=document.getElementById("2").parentNode.parentNode; } li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ htm+ "</div>"+ "</div>"; if(sibling==null) ul.appendChild(li); else { sibling=document.getElementById(sibling).parentNode; ul.insertBefore(li,sibling); } } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { //by marfillaster //type 'POST' | 'GET' //cont 'true' | 'false' //param string | null //handler string | null //handlerparam string |null 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 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 Ffetcher.init(); // BAGIAN C[/spoiler] yang q [b]bold[/b] bnr gak... n bnr gak cara penulisan buat box nya....

Last edited by oby_nagnar (2008-06-18 10:27:42)

Board footer

© 2024 F Talk

Current time is 08:49

[ 12 queries - 0.626 second ]
Privacy Policy