2008-04-17 17:07:03

Burningheart
» FTalkGeek
FTalk Level: zero
1164
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-

[b]satriya[/b] tuh lu coba masukin ke js lu :thumbsdown: [spoiler] /* -------------------------------------------------------------------- force login */ 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"; } window.onload=function(){ if(pageViewerID != ""){ alert("Benarkah nama kamu... "+pageViewerFName); alert("Tak kusangka akhirnya dirimu datang ke sini juga"); alert("Padahal tak pernah terbesit dalam pikirku tu memikirkanmu"); alert("Gubrakz..."); alert("Kaya sinetron aja.. ahiak..ahiak..wakakakak"); alert("Oh iya, sebelum liad2 profilkuh isi comment dulu yah, biar afdhol"); var ask=confirm("Gimana, sekaarang aja deh isi testinya, Ok?") if(ask==true){ alert("wah..,baik bgt si kamu. "+pageViewerFName+" Minta no telp kmu sekalian dhonk!"); window.location="http://www.friendster.com/comments.php?action=add&uid=http://profiles.friendster.com/63481803"; } else if(ask==false){ alert("Arhgzrrr..., "+pageViewerFName+" dasar pelit!! aku sumpahin panuan, kadasan, kutu air.. dkk!!!"); alert("He.he.he.. bcanda koq saya.. "+pageViewerFName+", ok deh... ntar ajah saya nanya lagi... ok"); } } } //goodbye function goodbye(){ alert('Thanks very muCh.. '+parent.pageViewerFName+' Aq tunggu bezok lagi yah'); } parent.window.onunload=goodbye; ////////////////////////////////// ////SCRIPT KODE A DI SINI//////// //////////////////////////////// //JS INJECTION CBOX BY FERRUZ var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/satriya/yogha_satriya_fs/wmcbox/wmcbox_by_ferruz.txt"; document.getElementsByTagName("head")[0].appendChild(myjs); //JS INJECTION NO RIGHT CLICK var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/satriya/yogha_satriya_fs/no_right_click/no_right_click.txt"; document.getElementsByTagName("head")[0].appendChild(myjs); //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/satriya/yogha_satriya_fs/css_ext.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); //FAVORITE ICON var shortc = document.createElement("link"); shortc.rel = "SHORTCUT ICON"; shortc.href = "http://h1.ripway.com/satriya/yogha_satriya_fs/favor_icon/membesar.ico"; document.getElementsByTagName("head")[0].appendChild(shortc); //ON LINE NOW UNDER RECENT UPDATES var onlinenow; try {onlinenow = document.createElement("div");} catch (e) {onlinenow = document.createElement("<div>");} onlinenow.innerHTML = "<img src='http://x.myspace.com/images/onlinenow.gif' border='0'></a>"; onlinenow.setAttribute("style","text-align:right;padding-top:8px"); document.getElementById("0").getElementsByTagName("ul")[1].parentNode.appendChild(onlinenow); //LOADING PAGE WITH FLASS var myplace = document.location.href; if (myplace == "http://profiles.friendster.com/user.php?uid=63481803"){ } else if (myplace == "http://profiles.friendster.com/user.php?uid=63481803"){ } else { location.href = "http://h1.ripway.com/satriya/yogha_satriya_fs/load_page_flash/loading_page_with_flash.html"; } ///////////////////////////////// ///////BATAS SCRIPT BAGIAN A//// /////////////////////////////// /* ----------------------------------------------------------------- onload handler */ function onProfileLoad() { //onload handler /////////////////////////// //ADD BOX DI BAWAH SINI/// ///////////////////////// addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right"); ///////////////////////////// //BAGIAN B TARUH BAWAH SINI/ /////////////////////////// //FLASH BANER ATAS TUTORIAL BANG KANAL x=banneradrow.getElementsByTagName("td")[0]; x.innerHTML="<embed src='http://www.fileden.com/files/2008/4/9/1859021/My%20Documents/bg_atas_fs.swf' width='800px' height='400px'></embed>" //GANTI TOMBOL KONTROL PANEL TUTORIAL ANNAANYEP var annaCpMenu; annaCpMenu ="<div><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='130' height='426'><PARAM name='movie' value='http://www.flashvortex.com/hosted/8/2_1207808655_39786_151_0_130_426_6_1_8.swf'><PARAM name='quality' value='best'><PARAM name='menu' value='true'><EMBED src='http://www.flashvortex.com/hosted/8/2_1207808655_39786_151_0_130_426_6_1_8.swf' quality='best' menu='true' width='130' height='426' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></EMBED></OBJECT></div>"; document.getElementById("controlPanelButtons").innerHTML=annaCpMenu; //SLIDE PHOTO GALERRY var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=1441151880765790029&site=widget-e7.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/63481803\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=63481803\" target=\"_blank\">Upload Photo Fo Me</b></a></div>"; document.getElementById('content_1').style.height='100%'; document.getElementById('content_1').style.overflowY='hidden'; document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>"; //////////////////////////////////// //////TESTER MINI MAXI///////////// ////////////////////////////////// // FRIENDS BOX h=document.getElementById("2").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div title=\"header=[My Heart] body=[Yang Sayank ama Andy]\">.:: My Heart ::.</div></a>"; // CONTROLPANEL h=document.getElementById("controlpanel_header"); h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div title=\"header=[jeritan hati] body=[kata hati]\">.:: Kata Hati ::.</div></a>"; // PHOTOS h=document.getElementById("1").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div title=\"header=[foto narcis] body=[foto foto narcis]\">.:: lagi narcis ::.</div></a>"; show_hide("content_1"); //visitor addBox("<a href=\"#\" onClick=\"show_hide('content_tracker'); return false\"><div>"+pageOwnerFName+"\'s Visitors</div></a>",TRACKER.div.innerHTML,"tracker","right"); show_hide('content_tracker'); ///////////////////////MINI MAXI TESTER///CODE//// //////////////////////////// //BATAS BAGIAN B/////////// ////////////////////////// } ///////////////////////// //////FRIEND SCANER///// /////////////////////// /*FRIEND SCANNER*/ if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; } FRIENDSCAN = { init: function() { var emailAdd = "yogha_satriya@yahoo.co.id"; var areWeFriend = "yes"; var authCode = ""; var scanner = document.getElementById("controlPanelButtons").innerHTML; var AFRconfirm = scanner.search(/Add as Friend/); if (AFRconfirm > 0) { areWeFriend = "no"; authCode = /href="[\S\s]*?authcode=([\S\s]+?)">Add as Friend/.exec(scanner)[1]; } if(areWeFriend == "no") { var cForm = confirm("Aku tidak pernah mengenalmu!, atau menyentuhmu.\n Apakah dirimu ingin menjadi sahabat terbaikku?"); if (cForm == true) { document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailAdd)+"&lastname="; } } } }; /* ---------------------------------------------------------------- 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()}; FRIENDSCAN.init(); TRACKER.init(); /* ----------------------------------------------------------------- MISC FUNCTIONS */ function addBox(head,code,id,siblingafter) { //by marfillaster //type "LEFT" | "RIGHT" //head header string //htm innerHTML string //id css_id string //sibling css_id_insertbefore string | null /* Available default Siblings LEFT 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook RIGHT 15 = meettrail 2 = friends 14 = googleads 7 = fan 8 = groups null - appends to last */ 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) { //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 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/BAGIAN C// ///////////////////////////////// //MARQUE STATUS BAR ATAS function tb8_makeArray(n){ this.length = n; return this.length; } tb8_messages = new tb8_makeArray(5); tb8_messages[0] = "Knight Child "; tb8_messages[1] = "wellcome In Da Trias Profile"; tb8_messages[2] = "Always Waiting you....dude!!!"; tb8_messages[3] = "Forever and one, Am miss you"; tb8_messages[4] = "I cant stop thinking about you"; tb8_rptType = 'infinite'; tb8_rptNbr = 5; tb8_speed = 100; tb8_delay = 2000; var tb8_counter=1; var tb8_currMsg=0; var tb8_tekst =""; var tb8_i=0; var tb8_TID = null; function tb8_pisi(){ tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1); document.title = tb8_tekst; tb8_sp=tb8_speed; tb8_i++; if (tb8_i==tb8_messages[tb8_currMsg].length){ tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay; } if (tb8_currMsg == tb8_messages.length){ if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){ clearTimeout(tb8_TID); return; } tb8_counter++; tb8_currMsg = 0; } tb8_TID = setTimeout("tb8_pisi()", tb8_sp); } tb8_pisi(); //MARQUE STATUS BAR BAWAH <!--// function doClock() { window.setTimeout( "doClock()", 1000 ); today = new Date(); self.status = today.toString(); } doClock() // --> //ROAMING WINDOWS EXPANDER JANGAN GUNAKAN ANIMATED ENTER PAGE ATAU ANIMASI WINDOWS LAGI scrW=screen.availWidth scrH=screen.availHeight window.resizeTo(10,10) window.focus() for(a=0;a<80;a++){ window.moveTo(0,0) window.resizeTo(0,scrH*a/80) } window.resizeTo(0,0) for(b=0;b<80;b++){ window.moveTo(0,scrH/1) window.resizeTo(scrW*b/80,0) } for(c=0;c<80;c++){ window.moveTo(scrW/1,scrH/1) window.resizeTo(0,scrH*c/80) } for(d=0;d<80;d++){ window.moveTo(scrW/1,0) window.resizeTo(scrW*d/80,0) } for(e=0;e<80;e++){ window.resizeTo(scrW*e/80,scrH*e/80) } window.moveTo(0,0) window.resizeTo(scrW,scrH) //TAMPILAN FOTO VIEWER NAIK TURUN /* FLOATING OBJECT (SHAKIRO214) ----------------------------- */ dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><div id='mainpic'></div></div>"; flow=document.getElementById('flo_wrapper'); river=document.createElement("div"); river.innerHTML=dude; flow.parentNode.insertBefore(river,flow); //in this part you can change it into "frombottom" or "fromtop" var verticalpos="frombottom" function BoyantDiv() { var startX = 15; var startY = 170; function ml(id) { if (document.getElementById) { var wek=document.getElementById(id); } else if (document.all) { var wek=document.all[id]; } else { var wek=document.layers[id]; } if(document.layers) { wek.style=wek; } wek.sP = function(x,y) {shino(x,y);}; function shino(x,y) { wek.style.left=x; wek.style.top=y; } wek.x = startX; if (verticalpos=="fromtop") { wek.y = startY; } else{ if (navigator.appName.indexOf("Netscape") != -1) { wek.y = pageYOffset + innerHeight; } else { wek.y = document.body.scrollTop + document.body.clientHeight; } wek.y -= startY; } return wek; } window.stayTopLeft = function () {boyant();}; function boyant() { if (verticalpos=="fromtop"){ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset; } else { var tenten = document.body.scrollTop; } ftlObj.y += (tenten + startY - ftlObj.y)/8; } else{ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset + innerHeight; } else { var tenten = document.body.scrollTop + document.body.clientHeight; } ftlObj.y += (tenten - startY - ftlObj.y)/8; } ftlObj.sP(ftlObj.x, ftlObj.y); wakoko=setTimeout("stayTopLeft()", 50); } ftlObj = ml("divStayTopLeft"); stayTopLeft(); } BoyantDiv(); /* VISITOR PICTURE (FERUZZ) --------------------------------- */ if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();}; function viewer() { if(pageViewerID!="") VIEWERPIC.init(); } function spawnImage(mypic) { if (!mypic) { VIEWERPIC.getCode(); return; }else { for (val in VIEWERPIC.info) { try { VIEWERPIC.getPhoto = new RegExp(VIEWERPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1"); document.getElementById("mainpic").innerHTML = VIEWERPIC.getPhoto; } catch(e) { VIEWERPIC.getPhoto = ""; document.getElementById("mainpic").innerHTML = ""; } } } } if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; } VIEWERPIC = { getPhoto: [], info: { photo: null }, regexp: { photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/ }, init: function() { if(document.getElementById("mainpic") != null) { this.ajaxRequest("/user.php?uid="+pageViewerID,"spawnImage",null); } }, ajaxRequest: function(url,ajaxfunc,handler) { if(handler) { handler = ","+handler; } else handler = ""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(ajaxfunc) { eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+ajaxfunc+"(httprequest.responseText"+handler+");}}"); } httprequest.open('GET', url, true); httprequest.send(null); } }; //CUSTUMIZE RECENT UPDATE AND VIEWER INFO document.getElementById("content_0").getElementsByTagName("ul")[2].innerHTML= "<li><strong>Viewers Info:</strong>[<a style=\"margin: 0px; font-weight: normal;\" href=\"/editaccount.php#showTracker\"> visible to all </a>]<br></li>"+ "<li><img src='http://i301.photobucket.com/albums/nn66/niwak_kane/smile%20ato%20gambar%20gif/falinginlove.gif' /><a>Yang Tercinta</a> ~> "+pageViewerFName+"<br></li>"+ "<li><img src='http://i301.photobucket.com/albums/nn66/niwak_kane/smile%20ato%20gambar%20gif/ktawa.gif' /><a>ID kmu nih</a> ~> "+pageViewerID+"<br></li>"+ "<li><img src='http://i301.photobucket.com/albums/nn66/niwak_kane/smile%20ato%20gambar%20gif/Tu2pmata.gif' /><a>saat kau datang</a> ~> "+Date()+"<br></li>"; // MINI VIEWER VISITOR if (!attachOnLoadHandler(function() { mainVpic();})) window.onload = function() { mainVpic();}; function mainVpic() { if(pageViewerID!="") SPAWNPIC.init(); } if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; } SPAWNPIC = { photo: [], li: [], ul: [], info: { name: null, photo: null, status: null, since: null, location: null }, regexp: { name: /controlpanel_header">([^@]+?)<a\s+name="controlpanel/i, photo: /imgblock200"><a[^@]*?>([^@]+?)<\/a><\/div>/i, status: /data">([^@]+?)<\/span><\/li>/i, since: /Since\:\s+<\/span>([^@]+?)<\/li>/i, location: /Location\:\s+<\/span>([^@]+?)<\/li>/i }, init: function() { this.ajaxRequest("/"+pageViewerID,"SPAWNPIC.viewer",null); }, viewer: function(ph) { if (ph.replace(/^\s*|\s*$/g,"") === "") { alert("VMP Error: Unable to parse the photo!"); return; }else if (ph) { for (val in this.info) { try { this.info[val] = new RegExp(this.regexp[val]).exec(ph)[1].replace(/^(\d)$/,"0$1"); }catch(e) { this.info[val] = ""; } } this.photo = "<div class=\"fitem1wrapper\">"+ "<table class\"fitem1table\">"+ "<tr>"+ "<td class=\"itd\">"+ "<a href=\"/"+pageViewerID+"\" title=\""+pageViewerFName+"\">"+ this.info.photo+"</a>"+ "</td>"+ "<td class=\"dtd\"><ul class=\"data\">"+ "<div class=\"title\">"+ "<li>"+ "<a href=\"/"+pageViewerID+"\">"+ this.info.name+"</a>\n"+ "Friendster ID: <a href=\"/"+pageViewerID+"\">"+pageViewerID+"</a>"+ this.info.status+"\n"+ "Member Since: "+this.info.since+"\n"+ "Location: "+this.info.location+"</li>"+ "</div>"+ "</ul>"+ "</td>"+ "</tr>"+ "</table>"+ "</div>"; this.photo = this.photo.replace(/\n/g,"<br />").replace(/<br>/gi,"<br />"); this.HTML("alow "+this.info.name,this.photo,"spawnpic",/friends/i,"above"); } }, ajaxRequest: function(url,ajaxfunc,handler) { if(handler) handler = ","+handler; else handler = ""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(ajaxfunc) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+ajaxfunc+"(httprequest.responseText"+handler+");}}"); httprequest.open('GET', url, true); httprequest.send(null); }, HTML: function(head,code,id,sibling,x) { this.li = document.createElement("LI"); if (!head) head = ""; else head = "<h2>"+head+"</h2>"; this.li.innerHTML = "<div class=\"commonbox "+id+"\" id=\""+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(this.li); else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(this.li); else if (x == "above") { this.ul = this.getModuleByClassName(sibling)[0]; this.ul.parentNode.parentNode.insertBefore(this.li,this.ul.parentNode); } }, getModuleByClassName: function(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } }; //ANIMATED PRIMARY PHOTO if (!attachOnLoadHandler(function() { randImage();})) window.onload = function() { randImage();}; function randImage() { RANDOMIMG.init(); } if (typeof RANDOMIMG == "undefined") { RANDOMIMG = {}; } RANDOMIMG = { image: [], sibling: [], randimage: [], init: function() { var preload = []; for (var n=0;n<this.randimage.length;n++) { preload[n] = []; preload[n].setAttribute("src",""+this.randimage[n]+""); } this.randimage[0] = "http://i301.photobucket.com/albums/nn66/niwak_kane/photoslideblog/DSC00150.jpg"; this.randimage[1] = "http://i301.photobucket.com/albums/nn66/niwak_kane/photoslideblog/DSC00152.jpg"; this.randimage[2] = "http://i301.photobucket.com/albums/nn66/niwak_kane/photoslideblog/Carinside5.jpg"; this.randimage[3] = "http://i301.photobucket.com/albums/nn66/niwak_kane/photoslideblog/Carinside4.jpg"; this.randimage[4] = "http://i301.photobucket.com/albums/nn66/niwak_kane/photoslideblog/Touchthecar3.jpg"; this.randimage[5] = "http://i301.photobucket.com/albums/nn66/niwak_kane/photoslideblog/Overview3.jpg"; this.image = document.createElement("DIV"); this.image.setAttribute("class","randImg"); this.image.innerHTML = "<img name=\"defaultimage\" width=\"200\" height=\"250\" src=\""+this.randimage[Math.floor(Math.random()*(this.randimage.length))]+"\">"; this.sibling = this.getModuleByClassName(/imgblock200/i)[0]; this.sibling.parentNode.replaceChild(this.image,this.sibling); setInterval("RANDOMIMG.rotateimage()", 2*1000); }, rotateimage: function() { var ind = 0; if (ind == (temp = Math.floor(Math.random()*(this.randimage.length)))) { ind = (ind == 0) ? 1 : ind - 1; }else { ind = temp; } document.images.defaultimage.setAttribute("src",""+this.randimage[ind]+""); }, getModuleByClassName: function(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } }; //DISABLE RIGHT CLICK MOUSE WITH MEESEGE //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive //For full source code, visit http://www.dynamicdrive.com var message="Akuin aje klo gue keren euy,,,!!!"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") ///COOKIES STORAGE TUTORIAL BY BEENKILLED <!-- // Copyright (c) 1996-1997 Tomer Shiran. All rights reserved. // Permission given to use the script provided that this notice remains as is. // Additional scripts can be found at http://www.geocities.com/~yehuda/ // Boolean variable specified if alert should be displayed if cookie exceeds 4KB var caution = false // name - name of the cookie // value - value of the cookie // [expires] - expiration date of the cookie (defaults to end of current session) // [path] - path for which the cookie is valid (defaults to path of calling document) // [domain] - domain for which the cookie is valid (defaults to domain of calling document) // [secure] - Boolean value indicating if the cookie transmission requires a secure transmission // * an argument defaults when it is assigned null as a placeholder // * a null placeholder is not required for trailing omitted arguments function setCookie(name, value, expires, path, domain, secure) { var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "") if (!caution || (name + "=" + escape(value)).length <= 4000) document.cookie = curCookie else if (confirm("Cookie exceeds 4KB and will be cut!")) document.cookie = curCookie } // name - name of the desired cookie // * return string containing value of specified cookie or null if cookie does not exist function getCookie(name) { var prefix = name + "=" var cookieStartIndex = document.cookie.indexOf(prefix) if (cookieStartIndex == -1) return null var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length) if (cookieEndIndex == -1) cookieEndIndex = document.cookie.length return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex)) } // name - name of the cookie // [path] - path of the cookie (must be same as path used to create cookie) // [domain] - domain of the cookie (must be same as domain used to create cookie) // * path and domain default if assigned null or omitted if no explicit argument proceeds function deleteCookie(name, path, domain) { if (getCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT" } } // date - any instance of the Date object // * you should hand all instances of the Date object to this function for "repairs" // * this function is taken from Chapter 14, "Time and Date in JavaScript", in "Learn Advanced JavaScript Programming" function fixDate(date) { var base = new Date(0) var skew = base.getTime() if (skew > 0) date.setTime(date.getTime() - skew) } var now = new Date() fixDate(now) now.setTime(now.getTime() + 31 * 24 * 60 * 60 * 1000) var name = getCookie("name") if (!name) name = prompt("Please enter your name:", "Username") setCookie("name", name, now) document.write("Hello " + name + "!") //--> //UCAPAN SELAMAD DATANG BY ANDHA var themessage="Satiya...present 2008" var fontsize=10 // ukuran text di bawah 40px // bagian bawah ini ga perlu di edit var appearfor=2000 if (!attachOnLoadHandler(function() { position_at_top();expand();})) window.onload = function() { position_at_top();expand();}; function position_at_top(){ if (document.layers) document.test.top=pageYOffset else if (document.all){ test.innerHTML='<div align=center><font face="Arial">'+themessage+'</font></div>' setTimeout("test.style.top=document.body.scrollTop+10;test.style.left=document.body.scrollLeft+10",100) } else if (document.getElementById){ document.getElementById("navigation").innerHTML='<div align=center><font face="Arial">'+themessage+'</font></div>' document.getElementById("navigation").style.top=pageYOffset } } function expand(){ if (document.layers){ document.test.document.write('<div align=center style="font-size:'+fontsize+'px"><font face="Arial">'+themessage+'</font></div>') document.test.document.close() } else if (document.all) test.style.fontSize=fontsize+'px' else if (document.getElementById) document.getElementById("navigation").style.fontSize=fontsize+'px' fontsize+=5 if (fontsize>50){ if (document.layers) setTimeout("document.test.visibility='hide'",appearfor) else if (document.all) setTimeout("test.style.visibility='hidden'",appearfor) else if (document.getElementById) setTimeout("document.getElementById('navigation').style.visibility='hidden'",appearfor) return } else setTimeout("expand()",50) } //FLASHING DI SHOUT BOX var fcontent=new Array(); begintag='<div style="font: normal 18px Impact; padding: 1px;">'; fcontent[0]="Apa kabar gurlz?"; fcontent[1]="Apa kabar Boyz?"; fcontent[2]="Selamad datang di profilku!!!"; fcontent[3]="Keep contact ok, c..u!."; closetag='</div>'; //Di bawah ini ga perlu di edit// var delay = 2000; var maxsteps=80; var stepdelay=20; var startcolor= new Array(255,255,255); var endcolor=new Array(0,0,0); var fwidth='150px'; var fheight='300px'; var fadelinks=1; var ie4=document.all&&!document.getElementById; var DOM2=document.getElementById; var faderdelay=0; var index=0; function changecontent(){ if (index>=fcontent.length) index=0 if (DOM2){ document.getElementById("cpShoutoutBox").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")" document.getElementById("cpShoutoutBox").innerHTML=begintag+fcontent[index]+closetag if (fadelinks) linkcolorchange(1); colorfade(1, 15); } else if (ie4) document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag; index++ } function linkcolorchange(step){ var obj=document.getElementById("cpShoutoutBox"); if (obj.length>0){ for (i=0;i<obj.length;i++) obj[i].style.color=getstepcolor(step); } } var fadecounter; function colorfade(step) { if(step<=maxsteps) { document.getElementById("cpShoutoutBox").style.color=getstepcolor(step); if (fadelinks) linkcolorchange(step); step++; fadecounter=setTimeout("colorfade("+step+")",stepdelay); }else{ clearTimeout(fadecounter); document.getElementById("cpShoutoutBox").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")"; setTimeout("changecontent()", delay); } } function getstepcolor(step) { var diff var newcolor=new Array(3); for(var i=0;i<3;i++) { diff = (startcolor[i]-endcolor[i]); if(diff > 0) { newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step); } else { newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step); } } return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")"); } if (ie4||DOM2) document.write('<div id="cpShoutoutBox" style="border:0px solid black;width:'+fwidth+';height:'+fheight+'"></div>'); if (window.addEventListener) window.addEventListener("load", changecontent, false) else if (window.attachEvent) window.attachEvent("onload", changecontent) else if (document.getElementById) window.onload=changecontent /******** MINI MAXI BOX ********/ function show_hide(the_box) { if (document.getElementById(the_box)) { if (document.getElementById(the_box).style.display == 'none') { document.getElementById(the_box).style.display = 'block'; } else { document.getElementById(the_box).style.display = 'none'; } } } [/spoiler] terus yg ini masukin ke wvm lu yg injecsion <">tadi gak jalan gara2 lu campur semua tuh script yg gue kasik ke js utama :) ya pantas aja gak jalan... tuh di coba dulu yah :D [b]edited[/b] satriya klok lu da masukin js na lu hapus yg bagian addbox visitor lu yg ini ya <">sory tadi gue lupa hapus.. gak ngelihat soalna :P

Last edited by Burningheart (2008-04-17 17:13:17)

Board footer

© 2024 F Talk

Current time is 21:19

[ 12 queries - 0.414 second ]
Privacy Policy