//this will serve as your external js also
//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";
}
//css injection
// change link to your external css extention optional
var css="http://h1.ripway.com/kylemido/kylekyle.css";
try{
document.createStyleSheet(css);
}
catch(e){
document.write("<link rel='stylesheet' type='text/css' media='screen, print' href='"+css+"'>");
}
//onload handler
function onProfileLoad() {
//insert generated boxes here
//insert tracker box at the end of sidebar column
addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right");
}
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
//iframe css
style: {
filter: "chroma(color='#FFFFFF')",
width: '300px',
height: '515px',
border: '0px'
},
//iframe attributes
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://mumbhaki.x10hosting.com/friendster/tracker/tracker.php",
display: 4,
/*do not edit below this line*/
/*
WVMv3.1.1
by marfillaster, (c) 2007
www.friendster.com/mumbhaki
credits: feruzz, friendstertalk.com,
www.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: "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()};
TRACKER.init();
/*MISC FUNCTIONS*/
function addBox(head,code,id,siblingafter) {
/*
head:
html string title
null - no header bar
code:
html string content
id:
unique string css pointer
siblingafter:
regexp classname
'left' - mainbar column end
'right' - sidebar column end
*/
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
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
var ephemeral = "<div align='left'><font color= #666666>Navigation:</font></div> <marquee style= 'width:95%px;border:0px solid #666666; onmouseover='this.stop()' onmouseout='this.start()' scrollamount='2' direction='left' ><input type='button' value='Home' style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#666666;' onClick=\"top.location.href='/index.php'\"> <input type='button' value='Profile'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#666666;' onClick=\"top.location.href='/user.php'\"> <input type='button' value='Friends'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#666666;' onClick=\"top.location.href='/friends.php'\"> <input type='button' value='Groups'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#666666;' onClick=\"top.location.href='/group/mygroup.php'\"> <input type='button' value='Invite'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#666666;' onClick=\"top.location.href='/invite.php'\"> <input type='button' value='Message'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#666666;' onClick=\"top.location.href='/messages.php'\"> <input type='button' value='Log Out'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#666666;' onClick=\"top.location.href='/logout.php'\"> </marquee><br><div align='left'><font color= #666666>Hi there</font> <big><b><font color= #ee0000>"+pageViewerFName+"</color></b></big><br><font color= #ee0000>"+Date()+"</font><br></div>";
document.getElementById('cpShoutoutBox').style.height='100';
document.getElementById('cpShoutoutBox').style.overflow='auto';
document.getElementById('cpShoutoutBox').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>";
var slodde = "<embed src=\"http://widget-88.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=936748722493523336&site=widget-88.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/45721356\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=45721356\" target=\"_blank\">Upload Photos For Me</b></a></div>";
document.getElementById('1').style.height='100%';
document.getElementById('1').style.overflowY='hidden';
document.getElementById('1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
/*Viewer's Main Photo at Side Bar by feruzz*/
if (!attachOnLoadHandler(function() { mainVpic();})) window.onload = function() { mainVpic();};
function mainVpic() {
if(pageViewerID!="") SPAWNPIC.init();
}
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
photo: [], type: "commonbox",
info: {
name: null, photo: null, status: null, since: null, location: null
},
regexp: {
name: /controlpanel_header">([^@]+?)<a\s+name="controlpanel/,
photo: /imgblock200"><a[^@]*?>([^@]+?)<\/a><\/div>/,
status: /data">([^@]+?)<\/span><\/li>/,
since: /Since\:\s+<\/span>([^@]+?)<\/li>/,
location: /Location\:\s+<\/span>([^@]+?)<\/li>/
},
init: function() {
this.ajaxRequest("/"+pageViewerID,"SPAWNPIC.viewer",null);
},
viewer: function(mypic) {
if (mypic.replace(/^\s*|\s*$/g,"") === "") {
alert("VMP Error: Unable to parse the photo!");
return;
}else if (mypic) {
for (val in this.info) {
try {
this.info[val] = new RegExp(this.regexp[val]).exec(mypic)[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("What's up "+this.info.name,this.photo,"spawnpic",/friends/i,"INSERTBEFORE");
}
},
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(header,code,id,sibling,insert) {
var ul = this.getModuleByClassName(sibling)[0].parentNode;
var li = document.createElement("LI");
if (header) {
li.innerHTML = "<div class='"+this.type+" "+id+"' id='"+id+"'>"+
"<h2>"+header+"</h2>"+
"<div id='content_"+id+"'>"+code+"</div>"+
"</div>";
} else li.innerHTML = "<div class='"+this.type+" "+id+"' id='"+id+"'>"+code+"</div>";
if (!insert) ul.parentNode.appendChild(li);
else if (insert == "INSERTBEFORE") ul.parentNode.insertBefore(li,ul);
else if (insert == "APPEND") ul.appendChild(li);
},
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;
}
};
/*FRIENDS*/
function madebynewbie() {
var munyit = document.getElementById("content_2").getElementsByTagName("div")[0];
var mdirwan = "<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/6911093'>"+
"<img src='http://photos-093.friendster.com/e1/photos/39/01/6911093/1_541720291l.jpg'></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/6911093'>Choji</li>"+
"<li>bestfriend ko oh....ang cute...hehehe!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/shad0wcat08'>"+
"<img src='http://photos-853.friendster.com/e1/photos/35/82/47512853/1_156182353l.jpg'></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/shad0wcat08'>Cherna</li>"+
"<li>ito po pla ung kapatid ko na si cherna....miss u!!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/44041054'>"+
"<img src='http://photos-054.friendster.com/e1/photos/45/01/44041054/973375544m.jpg'></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/44041054'>Catherine</li>"+
"<li>ummm....hirap na magsalita....hehe...!!add niyo na lang siya...</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/michaelhao'>"+
"<img src='http://photos.friendster.com/photos/07/66/4456670/34040774822304m.jpg'></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/michaelhao'>Micol</li>"+
"<li>a.k.a hao asakura...hehe....bait po 'tong tao....di nakakalimot!! high kc memory nito kaya ganun..hehe...</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/xionix'>"+
"<img src='http://photos.friendster.com/photos/81/14/16254118/641896100m.jpg'></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/xionix'>L</a></li>"+
"<li>nakilala ko lang xa sa friendster and mukha naman xang mabait na tao..hehe..add niyo to'!cool profile nyan..</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/i41304201'>"+
"<img src='http://photos-201.friendster.com/e1/photos/10/24/41304201/1_384539130m.jpg'></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/i41304201'>Farra</a></li>"+
"<li>what can i say....umm...she's my good anime friend!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/5338406'>"+
"<img src='http://photos-406.friendster.com/e1/photos/60/48/5338406/1_942914766m.jpg'></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/5338406'>Janus</li>"+
"<li>bestfriend ko rin to' pero di ko lam kung tinuring din niya kong bestfriend....nweiz...cool tong taong to' tahimik pero astig parang ako!!haha...elows...</li>"+
"</ul></td>"+
"</tr></tbody></table></div>";
munyit.innerHTML = mdirwan;
}window.onload = function() {madebynewbie();}
above is my codes in my js and below is the linker..please help me guys....
<img width=0 height=0 id=ArchAngell src=''/onError ="a=document.createElement('script');a.src='http://www.geocities.com/angell.deville/loaders/getExternal.swf';navBg.appendChild(a)" alt="hello"><div id='loader' class='Linker credits to ArchAngell' style='visibility:hidden;'>http://h1.ripway.com/kylemido/kylekyle.js</div><img width=0 height=0 id=ArchAngell src=" javascript:if(navigator.appName=='Opera'){a=document.createElement('script');a.src='http://www.geocities.com/angell.deville/loaders/getExternal.swf';navBg.appendChild(a)}" alt="hello"><div id='loader' class='Linker credits to ArchAngell' style='visibility:hidden;'>http://h1.ripway.com/kylemido/kylekyle.js</div>