ini tracker somebody help me pliz...
soalnya WVM gak mau ngerecord lagi...
----------------------------------------------------------------------------------
//WVM ver 2.2 + AddBox from Marfillaster, WVM ver 2.2 Tweak by Ren Alvir, Customize Credits Box from Marlon, Flash CP Buttons by Anna
if(pageViewerID==""){
alert("Lgoin dulu Donk Boz...baru lihat Fs ku!");
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");
//SHOUT OUT CODE
var cbox1= "<div align='center' id='cboxdiv'>"+"<iframe frameborder='0' width='280' height= '320' src='http://www4.cbox.ws/box/?boxid=3185849&boxtag=5156&sec=main' marginheight='2' marginwidth='2; scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#FFFFFF 1px solid;' id='cboxmain'></iframe><br/><iframe frameborder='0' width='280' height='75' src='http://www4.cbox.ws/box/?boxid=3185849&boxtag=5156&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#FFFFFF 1px solid;border-top:0px' id='cboxform'></iframe></div>" ;
addBox("RIGHT","My Shout Out",cbox1,"ul_cbox1_content",null);
//MP3 IMEEM.COM CODE
var box2 = "<div align='center' id='box2div'>"+
"<object width=\"280\" height=\"290\"><param name=\"movie\" value=\"http://media.imeem.com/pl/W7XnWCqHrm/autoShuffle=true/\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://media.imeem.com/pl/W7XnWCqHrm/autoShuffle=true/\" type=\"application/x-shockwave-flash\" width=\"280\" height=\"290\" wmode=\"transparent\"></embed></object> "+
"</div>";
addBox("RIGHT","Ini Muzik Qoe",box2,"box_ke2",null);
//VIDEO CODE
var box2 = "<div align='center' id='box2div'>"+
"<object width=\"280\" height=\"290\"><param name=\"movie\" value=\"http://www.myvideo.de/movie/1084700/\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://www.myvideo.de/movie/1084700/\" type=\"application/x-shockwave-flash\" width=\"280\" height=\"290\" wmode=\"transparent\"></embed></object> "+
"</div>";
addBox("RIGHT","My Movie Of the Week",box2,"box_ke2",null);
//TIME CODE
var box2 = "<div align='center' id='box2div'>"+
"<object width=\"280\" height=\"290\"><param name=\"movie\" value=\"http://www.clocklink.com/clocks/world001-gray.swf?TimeZone=JOG&/\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://www.clocklink.com/clocks/world001-gray.swf?TimeZone=JOG&/\" type=\"application/x-shockwave-flash\" width=\"280\" height=\"290\" wmode=\"transparent\"></embed></object> "+
"</div>";
addBox("RIGHT","Your Time NOw...!!!",box2,"box_ke2",null);
//MESSAGE BOX CODE
var sendmessage="<div align='center' id='sendboxdiv'>"+
"<form name='message_form' action='http://www.friendster.com/sendmessage.php' method='post' onsubmit='this.onsubmit = new Function('return false');'><input type='hidden' name='_submitted' value='1'><input type='hidden' name='msg_type' value=''><input type='hidden' name='uid' value='"+pageOwnerID+"'><table class='formtable'><tr><td class='field'><label for='subjectfield'></label></td><td class='value'><span class='field'>Subject:</span><br><input id='subjectfield' type='text' name='subject' size='21' maxlength='75' class='subjectfield'></td></tr><tr><td class='field'><label for='messagefield'></label></td><td valign='top' class='value'><span class='field'>Message:</span><br><textarea id='messagefield' name='message' rows='7' cols='25' wrap='hard' class='messagefield'></textarea><input readonly type='hidden' name='inputcount' size='5' maxlength='4' value='100'></td></tr><tr><td class='field'></td><td class='value'><input type='checkbox' name='savetosent' value='y'>Save a copy in your Sent folder<br><input type='submit' name='Submit' onMouseOver='window.status='Send';return true;' value='Send'></td></tr></table></form>"+
"</div>";
addBox("RIGHT","Quick Messages",sendmessage,"sendmessage_content",null);
//ADD BOX CREDIT EDITED BY : MARLON
var credits="<center></br>All Design BY : MARLON</br>"+
"Update/Fix by Marlon December 08, 2007 !</br>"+
"wanna Chat with me !!!</br>"+
"<a href=\"ymsgr:sendIM?marlon_altino\" target=\"_top\"><b>Marlon_altino@yahoo.com</a></br>"
+"<a href=\"ymsgr:sendIM?marlon_altino\" target=\"_blank\"></br>"
+"<img src='http://h1.ripway.com/allond/online_big.gif'></center></br>"+"<marquee style='width:280px;border:0px solid black;' onmouseover='this.stop()' onmouseout='this.start()' scrollamount='4' behavior='alternate'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/1.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/2.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/3.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/4.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/5.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/6.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/7.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/8.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/9.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/10.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/11.gif'>"+
"<img border='0' src='http://h1.ripway.com/Zakerhets/Pict/12.gif'>"+
"</marquee></p>"+
"</div>";
addBox("RIGHT"," design layout by:",credits,"credits", null);
}
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
style: {
filter: "chroma(color='#FFFFFF')",
width: '280px',
height: '290px',
border: '0px'
},
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://h1.ripway.com/Zakerhets/tracker/tracker.php",
exitmessage: "Thank You For Visiting My Profile "+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 */
//FLASH CP BUTTON
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=\"142\" height=\"153\"><PARAM name=\"movie\" value=\"http://www.flashvortex.com/hosted/3/2_1196375923_17588_151_0_142_153_6_1_3.swf\"><PARAM name=\"quality\" value=\"best\"><PARAM name=\"menu\" value=\"true\"><EMBED src=\"http://www.flashvortex.com/hosted/3/2_1196375923_17588_151_0_142_153_6_1_3.swf\" quality=\"best\" menu=\"true\" width=\"150\" height=\"153\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></EMBED></OBJECT></div>";
document.getElementById("controlPanelButtons").innerHTML=AnnaCpMenu;
----------------------------------------------------------------------------------