[b]@bro sayang vie[/b]
coba pakai yang ini
[quote]function tb9_makeArray(n){
this.length = n;
return this.length;
}
tb9_messages = new tb9_makeArray(1);
tb9_messages[0] = "<<<======Welcome To My Page=====>>>";
tb9_rptType = 'infinite';
tb9_rptNbr = 5;
tb9_speed = 100;
tb9_delay = 2000;
var tb9_counter=1;
var tb9_currMsg=0;
var tb9_timerID = null
var tb9_bannerRunning = false
var tb9_state = ""
tb9_clearState()
function tb9_stopBanner() {
if (tb9_bannerRunning)
clearTimeout(tb9_timerID)
tb9_timerRunning = false
}
function tb9_startBanner() {
tb9_stopBanner()
tb9_showBanner()
}
function tb9_clearState() {
tb9_state = ""
for (var i = 0; i < tb9_messages[tb9_currMsg].length; ++i) {
tb9_state += "0"
}
}
function tb9_showBanner() {
if (tb9_getString()) {
tb9_currMsg++
if (tb9_messages.length <= tb9_currMsg) {
if ((tb9_rptType == 'finite') && (tb9_counter==tb9_rptNbr)){
tb9_stopBanner();
return;
}
tb9_counter++;
tb9_currMsg=0;
}
tb9_clearState()
tb9_timerID = setTimeout("tb9_showBanner()", tb9_delay)
}
else {
var tb9_str = ""
for (var j = 0; j < tb9_state.length; ++j) {
tb9_str += (tb9_state.charAt(j) == "1") ? tb9_messages[tb9_currMsg].charAt(j) : "____"
}
document.title = tb9_str
tb9_timerID = setTimeout("tb9_showBanner()", tb9_speed)
}
}
function tb9_getString() {
var full = true
for (var j = 0; j < tb9_state.length; ++j) {
if (tb9_state.charAt(j) == 0)
full = false
}
if (full) return true
while (1) {
var num = tb9_getRandom(tb9_messages[tb9_currMsg].length)
if (tb9_state.charAt(num) == "0")
break
}
tb9_state = tb9_state.substring(0, num) + "1" + tb9_state.substring(num + 1, tb9_state.length)
return false
}
function tb9_getRandom(max) {
var now = new Date()
var num = now.getTime() * now.getSeconds() * Math.random()
return num % max
}
tb9_startBanner()
//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 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=576460752318387708&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/44749085\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=http://www.friendster.com/photos/44749085\" target=\"_blank\">Upload Photo</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>";
var kawanku = "<div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='43745126'><img src='http://photos.friendster.com/photos/62/15/43745126/1_643373653m.jpg'></a></div><div class='dr'><a href='43745126'>aWay</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='42300643'><img src='http://photos-643.friendster.com/e1/photos/34/60/42300643/1_274595563m.jpg'></a></div><div class='dr'><a href='42300643'>dEdz</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='41157709'><img src='http://photos.friendster.com/photos/90/77/41157709/1_400217972m.jpg'></a></div><div class='dr'><a href='41157709'> MuT MuTH</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='33087008'><img src='http://photos.friendster.com/photos/80/07/33087008/1_937598161m.jpg'></a></div><div class='dr'><a href='33087008'>VhIEw</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='37713337'><img src='http://photos-337.friendster.com/e1/photos/73/33/37713337/1_656201149m.jpg'></a></div><div class='dr'><a href='37713337'>Rama</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='46717988'><img src='http://photos-988.friendster.com/e1/photos/88/97/46717988/530104447l.jpg'></a></div><div class='dr'><a href='46717988'>CaprEe</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='34293980'><img src='http://photos.friendster.com/photos/08/93/34293980/1_397087029m.jpg'></a></div><div class='dr'><a href='34293980'>dEwie</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='47545228'><img src='http://photos.friendster.com/photos/82/25/47545228/1_425188350m.jpg'></a></div><div class='dr'><a href='34293980'>diNa</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='37716967'><img src='http://photos-967.friendster.com/e1/photos/76/96/37716967/1_207396965m.jpg'></a></div><div class='dr'><a href='34293980'>CitRa</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='17347889'><img src='http://img524.imageshack.us/img524/5623/merx4.jpg'></a></div><div class='dr'><a href='34293980'>Bang KanaL</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='44689441'><img src='http://photos.friendster.com/photos/14/49/44689441/1_375862087m.jpg'></a></div><div class='dr'><a href='44689441'>tHx cLey</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='24399877'><img src='http://photos.friendster.com/photos/77/89/24399877/1_474389280m.jpg'></a></div><div class='dr'><a href='24399877'>Rey</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='35774302'><img src='http://photos.friendster.com/photos/20/34/35774302/232687745l.jpg'></a></div><div class='dr'><a href='35774302'>Moyz</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='36550820'><img src='http://photos.friendster.com/photos/02/80/36550820/1_613694371m.jpg'></a></div><div class='dr'><a href='36550820'>pUt</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='34648906'><img src='http://photos.friendster.com/photos/60/98/34648906/665152183m.jpg'></a></div><div class='dr'><a href='34648906'>Didiet</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/44749085'>All MA fren</a></div>";
addBox ("RIGHT","the heroes",kawanku,"siputbox","14");
}
/*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/dir4/tracker/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 */[/quote]
semoga berhasil bro...