mau nanya nich...klo susunan scrip nya seperti ini
kesalahannya dimn....??tolong dirapikan dong klo ada yg tau....
..!!thanks
//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";
}
function onProfileLoad() {
//onload handler
addBox("RIGHT",pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","2");
var credits="<center></br>WVMe Created by Marfillaster</br>"+
"Update/Fix by feruzz!</br>"+
"Edited by Ren Alvir</br>"+
"JS Linker Javanet Crew 10/25/07</br></br></center>";
addBox("RIGHT","Credits",credits,"credits", null);
}
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
style: {
filter: "chroma(color='#FFFFFF')",
width: '300px',
height: '515px',
border: '0px'
},
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://h1.ripway.com/malikboy/Newtracker/tracker.php",
exitmessage: "Goodbye "+pageViewerFName,
/*do not edit below this line*/
/*
WVMe v2.2 copyright 2007 friendster.com/mumbhaki
credits: marfillaster, feruzz, renalvir, 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() {
document.getElementById("navBg").innerHTML+="<iframe id=\"wvmtemp\" src=\"about:blank\" style=\"display:none\" />";
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><br /><input type=\"button\" class=\"reloadbutt\" value=\"Refresh Tracker\" onclick=\"Reload();\" style=\"margin: 3px;\"></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 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 addBox (type,head,htm,id,sibling) {
//by marfillaster
/* ---------------------------
Available siblings
left side (mainbar)
"0" = controlpanel
"1" = photos
"13" = blogs
"12" = reviews
"6" = moreabout
"18" = publiccomments
"10" = scrapbook
right side (sidebar)
"15" = meettrail
"2" = friends
"14" = ads
"7" = fan
"8" = groups
--------------------------- */
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);
}
}
/*END MISC FUNCTIONS*/
//tracker refresher
function Reload () {
var f = document.getElementById('wvm');
f.src = f.src;
}
/* insert other codes below */
function scoobydoo(){
var box1 = "<div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='28688559'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/205007894l1.jpg'></a></div><div class='dr'><a href='28688559'>Achel</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='40222838'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/315235947l1.jpg'></a></div><div class='dr'><a href='40222838'>Ndric</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='29267593'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/29456144247133l1.jpg'></a></div><div class='dr'><a href='29267593'>Andi Uni</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='35134327'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/35134327.jpg'></a></div><div class='dr'><a href='35134327'>Iwan</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='33048766'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/35886891441930l1.jpg'></a></div><div class='dr'><a href='33048766'>micho</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='38842402'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/477127141l1.jpg'></a></div><div class='dr'><a href='38842402'>Samir</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='45487844'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/1_791347442l1.jpg'></a></div><div class='dr'><a href='45487844'>Roni</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='43419015'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/1_986525500l1.jpg'></a></div><div class='dr'><a href='43419015'>Ali topan</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='47502819'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/1_616170431l1.jpg'></a></div><div class='dr'><a href='47502819'>Andi Reski</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/YOUROWNUSERID'>aNak bUgiS</a></div>";
addSideBar("Ogi Sidenreng",box1,"2");
var box2 = "<div id='box1div'>"+
"<object width='100%' height='370'><param name='movie' value='http://media.imeem.com/pl/WxGlL2_UF0/autoShuffle=true/'></param><param name='wmode' value='black'></param><embed src='http://media.imeem.com/pl/WxGlL2_UF0/autoShuffle=true/' type='application/x-shockwave-flash' width='100%' height='300' wmode='black'></embed></object>"+
"</div>";
addSideBar("My Music",box2,"2");
var box3 = "<div id='box2div'>"+
"<center><embed wmode='transparent' src=http://www.xatech.com/web_gear/chat/chat.swf quality=high width=100% height=300 name=chat FlashVars='id=16553122' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.xat.com/update_flash.shtml' /><br><small><a target='_BLANK' href='http://www.xat.com/web_gear/?cb'></a></small><br><img style='visibility:hidden;width:0px;height:0px;' border=0 width=0 height=0 src='http://counters.gigya.com/wildfire/CIMP/Jmx0PTExOTM3NTExNzIzNzYmcHQ9MTE5Mzc1MTE5MjI0MiZwPTUzMTUxJmQ9Jm49.jpg' />"+
"</div>";
addSideBar("Messages Box",box3,"2");
var box4 = "<div id='box3div'>"+
"<center><object width='100%' height='390'><param name='movie' value='http://media.imeem.com/pl/_HYv8OhcCd/aus=false/pv=2/'></param><param name='allowFullScreen' value='true'></param><embed src='http://media.imeem.com/pl/_HYv8OhcCd/aus=false/pv=2/' type='application/x-shockwave-flash' width='100%' height='390' allowFullScreen='true'></embed></object"+
"</div>";
addSideBar("Sulawesi Vidio",box4,"2");
var box5 = "<div id='box5div'>"+
"<embed src='http://www.clocklink.com/clocks/5012-black.swf?TimeZone=JST&' width='100%' height='75' wmode='transparent' type='application/x-shockwave-flash'>"+
"</div>";
addSideBar("Waktu Korea",box5,"2");
var box6 = "<div id='box6div'>"+
"<object width='100%' height='200'><param name='movie' value='http://www.youtube.com/p/0F785FE71B1A71EF'></param><embed src='http://www.youtube.com/p/0F785FE71B1A71EF' type='application/x-shockwave-flash' width='100%' height='200'></embed></object>"+
"</div>";
addSideBar("Ar2tonic Makazzar",box6,"2");
}setTimeout("scoobydoo()",6000);
//add sidebar script
function addSideBar(head,htm,div_id) {
var innerHtm=htm;
var cont=
"<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+div_id+"'>"+
innerHtm+
"</div>"+
"</div>";
try {
var obj=document.createElement("<li>");
} catch(e) {
var obj=document.createElement("li");
}
var x=document.getElementById("2");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;
}
/* SLIDE SHOW */
function vslide() {
var shakiro="<br><div><center><embed src='http://widget-1f.slide.com/widgets/slideticker.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' flashvars='cy=fr&il=1&channel=360287970202001606&site=widget-1f.slide.com' style='width:285px;height:500px' name='flashticker' align='middle'/><div style='width:285px;text-align:left;'></center></a></div></div><div style=\"width:100%;text-align:center;\">| <a href=\"http://www.friendster.com/friends/29448374 \" target=\"_blank\"><b>VIEW ALL</a> |</div>";
document.getElementById('content_2').style.height='100%';
document.getElementById('content_2').style.overflowY='hidden';
document.getElementById('content_2').innerHTML = "<table width='100%'><tr><td align='center'>"+shakiro+"</td></tr></table>";
}setTimeout("vslide()",8000);
function embed(){
var slodde = "<embed src=\"http://widget-aa.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=dm&il=1&channel=360287970190683818&site=widget-aa.slide.com\" style=\"width:540px;height:130px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:540px;text-align:left;\"><a href=\"http://www.slide.com/pivot?cy=dm&ad=0&id=360287970190683818&map=1\" target=\"_blank\"><img src=\"http://widget-aa.slide.com/p2/360287970190683818/xx_t000_v000_a000_f00/images/xslide2.gif\" border=\"0\" ismap=\"ismap\" /></a> <a href=\"http://www.slide.com/pivot?cy=dm&ad=0&id=360287970190683818&map=2\" target=\"_blank\"><img src=\"http://widget-aa.slide.com/p2/360287970190683818/xx_t000_v000_a000_f00/images/xslide2.gif\" border=\"0\" ismap=\"ismap\" /></a></div>";
document.getElementById('content_1').style.height='150';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
}setTimeout("embed()",10000);
if ( ! attachOnLoadHandler(function () { whoview();}))
window.onload = function () {
whoview();};
function whoview(){
var wvmcbox =
"<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='320' src='http://www2.cbox.ws/box/?boxid=1571910&boxtag=5686&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='wvmcboxmain' id='wvmcboxmain'>"+
"</iframe>"+
"</div>";
addNewBox(pageOwnerFName+"'s Visitors",wvmcbox,"wvmcbox","2",null);
}
if((pageViewerID != pageOwnerID) && (pageViewerID != "")) {
var getnavBg = document.getElementById("navBg");
getnavBg.innerHTML +=
"<div style='display:none'>"+
"<iframe name='cbox_post' id='cbox_post'>"+
"</iframe>"+
"<form id='cform' target='cbox_post' action='http://www2.cbox.ws/box/?boxid=1571910&boxtag=5686&sec=submit' method='post'>"+
"<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
"<input type='text' maxlength='50' name='eml' value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+
"<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
"<input type='submit' value='submit'>"+
"<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
"</form>"+
"</div>";
document.getElementById("cform").submit();
}
function addNewBox(header,cont,id,x,insert) {
//By FeRuZZ
//addNewBox v1.1
// "INSERTBEFORE" | "APPEND" | null = appends to last box
/*available "x"
left side ||<div class='boxcontent'>||
"0" = controlpanel
"1" = photos
"13" = blogs
"12" = reviews
"6" = moreabout
"18" = publiccomments
"10" = scrapbook
right side
"15" = meettrail
"2" = friends
"14" = ads
"7" = fanof
"8" = groups
*/
if (x == "0" || /*controlpanel*/
x == "1" || /*photos*/
x == "13" || /*blogs*/
x == "12" || /*reviews*/
x == "6" || /*moreabout*/
x == "18" || /*publiccomments*/
x == "10" /*scrapbook*/) {
var addCont = document.getElementById(x).parentNode;
cont = "<div class='boxcontent'>"+cont+"</div>";
}
else addCont = document.getElementById(x).parentNode;
var elem = document.createElement("LI");
elem.innerHTML = "<div class='commonbox "+id+"' id='"+id+"'>"+
"<h2>"+header+"</h2>"+
"<div id='content_"+id+"'>"+cont+"</div>"+
"</div>";
if (insert == "INSERTBEFORE") addCont.parentNode.insertBefore(elem,addCont);
else if (insert == "APPEND") addCont.appendChild(elem);
if (insert === null) {
addCont.parentNode.appendChild(elem);
}
}
if ( ! attachOnLoadHandler(function () { cHeaders();})) window.onload = function () { cHeaders();};
function cHeaders() {
REPLACEIT.init();
}
if (typeof REPLACEIT == "undefined") { REPLACEIT = {}; }
REPLACEIT = {
head: [],
init: function() {
this.head = this.getModuleByClassName(/commonbox\s*controlpanel/i)[0].getElementsByTagName("h1")[0];
this.head.innerHTML = "Ikhyu Bio Data";
this.head = this.getModuleByClassName(/commonbox\s*reviews/i)[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "Ikhyu's Link";
this.head = this.getModuleByClassName(/commonbox\s*scrapbook/i)[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "Ikhyu Media Search";
},
getModuleByClassName: function(divClass) {
var classElements = [];
var els = document.getElementsByTagName("DIV");
var pattern = new RegExp(divClass);
for (i=0, j=0; i < els.length; i++) {
if (pattern.test(els[i].className)) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
};
}
var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "http://h1.ripway.com/malikboy/malikboy/andre.css";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);