aq udah pusing ampe ubanen gak bisa ngaplikasikan baik script aq .........plis. tlg dong sapa aja yang mau bantu
________________________________________________________________________________________________________________________________________________________________________________________
[spoiler]//force login
if(pageViewerID==""){
alert("Silahkan log in dulu sebelum liat profile aq ya!");
top.location.href="http://www.friendster.com/login.php?next=/user.php?uid=75923689";
}
//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/jumadul83/sastro.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
// for multiple js injection
scriptFolder = '
http://h1.ripway.com/jumadul83/javascript/'
var scripts = new Array()
scripts[0] = 'addfrend.js'
scripts[1] = 'friendlist.js'
scripts[2] = 'galeryslide.js'
for(x in scripts){
myscripts = document.createElement('script')
myscripts.src = scriptFolder+scripts[x]
document.getElementsByTagName('head')[0].appendChild(myscripts);
}
//loading page
var myplace = document.location.href;
if (myplace == "http://profiles.friendster.com/user.php?uid=75923689"){
}
else if (myplace == "http://profiles.friendster.com/user.php?uid=75923689"){
}
else {
location.href = "http://jumadul83.fileave.com/coba.html";
//welcome alert
if(pageViewerID=="75923689"){
alert("selamat datang di profilku "+pageViewerFName+"!" + '\n' + "kmu kok lain dari biasanaya?" + '\n' + "emang bru dapet paan?"); alert
("Tetapijangan lupa kotorin tempat Comment ya" + '\n' + "maaf klo ngganggu..." + '\n' + "Have A Nice Day!");
top.location.href="http://www.friendster.com/user.php";
}
//goodbye alert
window.onbeforeunload = function (evt) {
var message = 'makasih ya, jangan lupa mampir lagi kesini '+pageViewerFName+'';
if (typeof evt == 'undefined') {
evt = window.event;
}
if (evt) {
evt.returnValue = message;
}
return message;
}
function onProfileLoad() {
//onload handle
//Navigation sidebar or mainbar with tweaks
var header="My Navigation"
var nav="<div align='left'></div> <marquee style='width:85%px;border:2px inset #f66209; direction='left' scrollamount='2'
onmouseover='this.stop()' onmouseout='this.start()'><input type='button' value='emoh' style='background-color:transparent;border:none;font-
family:comic sans MS;font-weight:bold;font-size:12;color:#02ff0e;'onClick=\"top.location.href='http://friendster.com'\"> <input type='button'
value='Profile Enyong'style='background-color:transparent;border:none;font-family:comic sans MS;font-weight:bold;font-size:12;color:#02ff0e;'
onClick=\"top.location.href='http://profiles.friendster.com/user.php'\">
<input type='button' value='My bolo's'style='background-color:transparent;border:none;font-family:comic sans MS;font-weight:bold;font-
size:12;color:#02ff0e;' onClick=\"top.location.href='http://profiles.friendster.com/friends.php'\"> <input type='button'
value='Explore'style='background-color:transparent;border:none;font-family:comic sans MS;font-weight:bold;font-size:12;color:#02ff0e;'
onClick=\"top.location.href='http://www.friendster.com/explore.php'\"> <input type='button' value='Nyari'style='background-
color:transparent;border:none;font-family:comic sans MS;font-weight:bold;font-size:12;color:#02ff0e;'
onClick=\"top.location.href='http://friendster.com/gallery.php'\"> <input type='button' value='Undang'style='background-
color:transparent;border:none;font-family:comic sans MS;font-weight:bold;font-size:12;color:#02ff0e;'
onClick=\"top.location.href='http://friendster.com/invite.php'\"> <input type='button' value='Messages'style='background-
color:transparent;border:none;font-family:comic sans MS;font-weight:bold;font-size:12;color:#02ff0e;'
onClick=\"top.location.href='http://friendster.com/messages.php'\"> <input type='button' value='Settings'style='background-
color:transparent;border:none;font-family:comic sans MS;font-weight:bold;font-size:12;color:#02ff0e;'
onClick=\"top.location.href='http://friendster.com/editaccount.php'\"> <input type='button' value='Minggat Mas'style='background-
color:transparent;border:none;font-family:comic sans MS;font-weight:bold;font-size:12;color:#02ff0e;'
onClick=\"top.location.href='http://friendster.com/logout.php'\"> </marquee><br><div align='left'><font color=
#02ff0e><strong>Weleeeeeeeeh</font></strong> <b><font color=green><strong><blink>"+pageViewerFName+"</strong></blink></color></b><br><font
color= #02ff0e><strong>your ID is </strong></font><b><font
color=green><blink><strong>"+pageViewerID+"</strong></blink></color></font><br><strong><font color=#02ff0e>and the time and date there
is</font> <font color='green'><blink>"+Date()+"</blink></font></strong><br></div>";
document.getElementById('cpShoutoutBox').style.height='250';
document.getElementById('cpShoutoutBox').style.overflow='auto';
document.getElementById('cpShoutoutBox').innerHTML="<table width='100%'><tr><td align='center'>"+wakoko+"</td></tr></table>";
addBox(header,nav,"custombox_204",/commonbox[\s]*?controlpanel/i);
//Music Playlist
var header="My Music Playlist";
var music="<div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;">
<object type="application/x-shockwave-flash" width="435" height="270"
data="http://www.musicplaylist.us/loadplaylist/56010708/config_green/270/430/true">
<param name="bgcolor" value="#e8e8e8">
<param name="movie"
value="http://www.musicplaylist.us/loadplaylist/56010708/config_green/270/430/true">
</object>
<BR><a href="http://www.musicplaylist.us"><img src="http://www.musicplaylist.us/mc/images/create_green.jpg" border="0"/></a><a
href="http://www.musicplaylist.us/standalone/56010708" target="_blank"><img src="http://www.musicplaylist.us/mc/images/launch_green.jpg"
border="0"/></a><a href="http://www.musicplaylist.us/download/56010708"><img src="http://www.musicplaylist.us/mc/images/get_green.jpg"
border="0"/></a>
</div>
addBox(header,music,"custombox_906",/commonbox[\s]*?moreabout/i);
//CBox
var header="My Chatbox";
var cbox="<!-- Begin ShoutMix -
http://www.shoutmix.com -->
<iframe title="larendusun" src="http://www5.shoutmix.com/?larendusun" width="160" height="400" frameborder="0" scrolling="auto">
<a href="http://www5.shoutmix.com/?larendusun">View shoutbox</a>
</iframe>
<br /><a href="http://www.shoutmix.com" title="Get your own free shoutbox chat widget at ShoutMix!">ShoutMix chat widget</a><br />
<!-- End ShoutMix -->";
addBox("My ChatBox",cbox,"custombox_767",/commonbox[\s]*?publiccomments/i);
//FAKE QUICK COMMENT
function viewerscaption() {
var comments = document.getElementById("content_18").getElementsByTagName("a")[0].innerHTML="<center><HR WIDTH='80%' COLOR='#0df907'
SIZE='6'><br><font size='4'>COMMENT CEPAT</font><FORM METHOD=post ACTION='http://www.friendster.com/comments.php?uid=75923689'>Enter Monggo
Nulis Comment:<BR><TEXTAREA style='color: blue; background-image:url(http://i24.photobucket.com/albums/c7/sexylatinachica/Animated%
20Images/thRoseDrippingRed.gif)' wrap='virtual' name='Comments' rows='10' cols='60' MAXLENGTH='100'></TEXTAREA><BR><INPUT type='Submit'
VALUE='Kirim'><INPUT type='Reset' VALUE='Hapus'></FORM><br><img src='http://www.phpfreechat.net/phpincludes/pfc-demo-
data/themes/msn/smileys/msn_wink.gif'>|<img src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_cry.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_dontknow.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_eyeroll.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_embarrassed.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_party.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_angry.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_hot.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_tongue.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_think.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_sad.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_smiley.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_ooooh.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_sarcastic.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_neutral.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_weird.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_sleepy.gif'>|<img
src='http://www.phpfreechat.net/phpincludes/pfc-demo-data/themes/msn/smileys/msn_sick.gif'><br><HR WIDTH='80%' COLOR='#6699FF'
SIZE='6'></center>";
addBox(header,msg,"custombox_313",/commonbox[\s]*?scrapbook/i);
addBox("My viewers",TRACKER.div.innerHTML,"tracker","right");
//Icon under controlpanel buttons by eykalsyamim
var penyuberenang;
try {penyuberenang = document.createElement("div");}
catch (e) {penyuberenang = document.createElement("<div>");}
penyuberenang.innerHTML ="<img src='http://dl7.glitter-graphics.net/pub/33/33627qz0kw47zut.gif'>";
penyuberenang.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(penyuberenang);
//YM STATUS
var penyuberenang;
try {penyuberenang = document.createElement("div");}
catch (e) {penyuberenang = document.createElement("<div>");}
penyuberenang.innerHTML = "<a href='ymsgr:sendim?djembl1nk.g00fy_5@yahoo.com'><img src='http://opi.yahoo.com/online?
u=djembl1nk.g00fy_5@yahoo.com&m=g&t=2'></a>";
penyuberenang.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(penyuberenang);
//Replace Headers by Feruzz with blinking effect by angelldeville
//controlpanel
h=document.getElementById("controlpanel_header");
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' style='padding-top:
4px;'><center>~~jumadi ndeso~~</center></marquee>";
//Photo Gallery
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' truespeed='true' style='padding-top:
4px;'><center>potone cah ndeso</center></marquee>";
//Blogs
Headerh=document.getElementById("13").getElementsByTagName("h2")[0];
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' truespeed='true' style='padding-top:
4px;'><center>baca lo nek</center></marquee>";
//Reviews
h=document.getElementById("12").getElementsByTagName("h2")[0];
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' truespeed='true' style='padding-top:
4px;'><center>nggon opo kie</center></marquee>";
//More About Me
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' style='padding-top:
4px;'><center>tentang enyong</center></marquee>";h=document.getElementById("2").getElementsByTagName("h2")[0];
//Testimonials and Comments
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' truespeed='true' style='padding-top:
4px;'><center>nulis koment lo</center></marquee>";
//Media Box
h=document.getElementById("10").getElementsByTagName("h2")[0];
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' truespeed='true' style='padding-top:
4px;'><center>filmku</center></marquee>";
//Friends
h=document.getElementById("2").getElementsByTagName("h2")[0];
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' truespeed='true' style='padding-top:
4px;'><center>koncoku sek ...</center></marquee>";
//Fan Profiles
h=document.getElementById("7").getElementsByTagName("h2")[0];
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' truespeed='true' style='padding-top:
4px;'><center>gak patio ngefan</center></marquee>";
//wvm
h=document.getElementById("tracker").getElementsByTagName("h2")[0];
h.innerHTML="<marquee behavior='slide' scrollamount='10000' loop='9999999999' direction='up' height='32' style='padding-top:
4px;'><center>bagus kan?</center></marquee>";
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
style: {
filter: "chroma(color='#FFFFFF')",
width: '285px',
height: '550px',
border: '0px',
overflow: 'hidden'
},
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "HTTP://H1.RIPWAY.COM/JUMADUL83/TRACKER.PHP",
exitmessage: "selamat jalan "+pageViewerFName,
/*do not edit below this line*/
/*
WVMv2.1
by marfillaster, copyright 2007 friendster.com/mumbhaki
credits: feruzz, renalvir(pimped), 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>/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=\"border: 1px #000000 solid; background-color: c9c9c9; 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="+TRACK
ER.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();
/*END TRACKER OBJECT*/
/*MISC FUNCTIONS*/
function addBox (type,head,htm,id,sibling) {
//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(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);
}
}
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*/
//tracker refresher
function Reload () {
var f = document.getElementById('wvm');
f.src = f.src;
}
if (typeof PHOTORANDOMPREV == "undefined") { PHOTORANDOMPREV = {}; }
PHOTORANDOMPREV = {
photos: [], cached: [],
maxphotos: [], temp: [],
init: function() {
for (var x=0;x<document.links.length;x++) {
if (document.links[x].href.match(/\/viewphotos\.php?uid=[\d]*?&page=[\d]+?/)) {
var pagelink = /\(([\d]+?)\)/;
this.maxphotos = pagelink.exec(document.links[x].innerHTML)[1];
break;
}
}
var whichpage = 0;
this.fetch(whichpage);
},
fetch: function(page) {
this.getElementsByClassName(null,"DIV",/photos/i)[0].getElementsByTagName("h2")[0].firstChild.nodeValue = "Random Photo
Gallery with Preview";
this.ajaxRequest("http://"+location.hostname+"/viewphotos.php?
uid="+pageOwnerID+"&page="+page,"PHOTORANDOMPREV.parsephoto",page);
},
randPhoto: function() {
return (Math.round(Math.random())-0.5);
},
show: function() {
document.getElementById("photocontainer").innerHTML = "";
this.photos.sort(this.randPhoto);
for (var x=0;x < 10;x++) {
document.getElementById("photocontainer").innerHTML += this.photos[x];
}
},
more: function() {
if (this.cached.length<(Math.floor(this.maxphotos/20)+1)) {
var temp;
do {
temp = Math.ceil(Math.random()*(Math.floor(this.maxphotos/20)));
}while(this.cached.toString().indexOf(":"+temp+":") != -1);
this.fetch(temp);
}else {
this.show();
}
},
picprev: function(htm) {
document.getElementById("photoprev").innerHTML = htm.replace(/m\.jpg/gim,".jpg");
},
parsephoto: function(htm,page) {
if (htm.replace(/^\s*|\s*$/gim,"") === null) {
PHOTORANDOMPREV.fetch(page);
return;
}
this.temp = htm.replace(/\s+?/gim," ").match(/<div\s+?class="photothumb">[^@]+?<\/div><\/div>/gim);
for (var i=0;i<this.temp.length;i++) {
this.temp[i] = this.temp[i].replace(/alt/gim,"title");
this.temp[i] = this.temp[i].replace(/<a /g,"<a target=\"_blank\" ");
this.temp[i] = this.temp[i].replace(/<div\s+?class="thumbnail">/gim,"<div class=\"thumbnail\"
onMouseOver=\"PHOTORANDOMPREV.picprev(this.innerHTML)\">");
if(!this.temp[i].match("nophoto")) PHOTORANDOMPREV.photos.push(this.temp[i]);
}
var photo = document.createElement("div");
photo.id = "randomhoto";
photo.className = "boxcontent";
photo.align = "center";
photo.innerHTML = "<div id=\"photoprev\">"+this.temp[0].match(/<a[^@]+?<\/a>/)[0].replace(/m\.jpg/gim,".jpg")+"</div>"+
"<div id=\"photocontainer\"></div>";
var boxcontent = this.getElementsByClassName(document.getElementById("content_1"),"DIV","boxcontent")[0];
if (boxcontent === null) {
boxcontent.firstChild.parentNode.replaceChild(photo,boxcontent);
}else {
boxcontent.parentNode.replaceChild(photo,boxcontent);
}
var randLink = document.createElement("a");
randLink.href = "javascript:void(PHOTORANDOMPREV.more())";
randLink.appendChild(document.createTextNode("More Random Photos"));
var viewall = this.getElementsByClassName(document.getElementById("content_1"),"DIV","viewall")[0].getElementsByTagName("a")
[0];
if (viewall === null) {
viewall.firstChild.parentNode.replaceChild(randLink,viewall);
}else {
viewall.parentNode.replaceChild(randLink,viewall);
}
PHOTORANDOMPREV.cached.push(":"+page+":");
PHOTORANDOMPREV.show();
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var i=0,j=els.length;i<j;i++) {
if (new RegExp(sClass).test(els[i].className))elm.push(els[i]);
}
return elm;
},
ajaxRequest: function(url,func,handler) {
if (handler) {
handler = ","+handler;
}else {
handler = "";
}
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
if (func) {
eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4)
{"+func+"(httprequest.responseText"+handler+");}}");
}
httprequest.open("GET", url, true);
httprequest.send(null);
}
};
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "DJEMBL1NK.G00FY_5@YAHOO.COM";
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("YA AY KAYAKNYA KMU LOM JADI TMN AQ.\n MAUKAH KMU SAYA JADIKAN TEMAN?");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?
confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailAdd)+"&lastname=";
}
}
}
};
//title bar
function tb7_makeArray(n){
this.length = n;
return this.length;
}
tb7_messages = new tb7_makeArray(2);
tb7_messages[0] = "<<ˇ.¸¸.ˇ´´*`ˇˇ._S~E~L~A~M~T~~{{ * _ *}}~~D~A~T~A~N~G_.ˇˇ.¸¸.ˇ´´*`ˇˇ._.ˇˇ>>";
tb7_messages[1] = "ˇ.¸¸.ˇ´´*`ˇˇ._S~E~M~O~G~A****_____****S~E~N~A~N~G_.ˇˇ.¸¸.ˇ´´*`ˇˇ._.ˇˇ";
tb7_rptType = 'infinite';
tb7_rptNbr = 5;
tb7_speed = 200;
tb7_timeOneMsg = 6000;
tb7_minBrojRazmaka = 0;
tb7_maxBrojRazmaka = 3;
var tb7_counter=1;
var tb7_currMsg;
var tb7_stsmsg="";
var tb7_brojac = 0;
var tb7_expand = true;
var tb7_run=false
var tb7_tmpmsg="";
var tb7_spaces="";
var tb7_timer=null;
for (var i=0; i<tb7_minBrojRazmaka; i++)
tb7_spaces += "_";
for (var i=0; i<tb7_messages.length; i++){
tb7_tmpmsg="";
for (var j=0; j<tb7_messages[i].length; j++){
tb7_tmpmsg=tb7_tmpmsg+tb7_spaces+tb7_messages[i].charAt(j);
}
tb7_messages[i]=tb7_tmpmsg;
}
function tb7_settitle(){
if (!tb7_run){
clearTimeout(tb7_timer2);
return;
}
var tb7_sts = "";
if (tb7_brojac == 0)
document.title = tb7_messages[tb7_currMsg]
else{
for (var i=0; i<tb7_messages[tb7_currMsg].length; i++){
for (var j=0; j<tb7_brojac; j++)
tb7_sts += "_";
tb7_sts += tb7_messages[tb7_currMsg].charAt(i);
}
document.title = tb7_sts;
}
if (tb7_expand && (tb7_brojac >= tb7_maxBrojRazmaka))
tb7_expand=false;
if (!tb7_expand && tb7_brojac < tb7_minBrojRazmaka)
tb7_expand = true;
if (tb7_expand)
tb7_brojac++
else tb7_brojac--;
tb7_timer2 = setTimeout("tb7_settitle()", tb7_speed);
}
function tb7_coordinator(){
if (!tb7_run){
tb7_currMsg=0;
tb7_run = true;
tb7_settitle();
}
else{
if (tb7_currMsg == tb7_messages.length-1){
if ((tb7_rptType == 'finite') && (tb7_counter==tb7_rptNbr)){
clearTimeout(tb7_timer);
tb7_run = false;
return;
}
tb7_counter++;
tb7_currMsg=0;
}
else{
tb7_currMsg++;
}
}
tb7_timer = setTimeout("tb7_coordinator()",tb7_timeOneMsg);
}
tb7_coordinator();
/********************************************************************************
Viewer Pic Cursor w/ Info
by: simpleMe aka tax
first seen at
http://theftalk.com
********************************************************************************/
//Time
var currentTime = new Date();
var hours = currentTime.getHours();
var minutes = currentTime.getMinutes();
if (minutes < 10)
minutes = "0" + minutes;
var jamenit = (hours + ":" + minutes + " ");
if(hours > 11){
var ampm = ("PM");
} else {
var ampm = ("AM");
}
document.write("<div id='vpicCur' style='position:absolute; width:100; height:15;'><center><font color='red'>Hi...</font></center><br><div
id='vpic'></div><br><center><font color='red'>Logged in as :</font><br><font color='white'> "+pageViewerFName+" </font><br><font
color='red'>Last visit : </font><br><font color='white'>Today "+jamenit+ampm+"</font></center></div>");
function checkBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
bw=new checkBrowser()
//Set these variables:
fromLeft=10
fromTop=10
function cursorInit(){
oCursor=new makeCursorObj('vpicCur')
scrolled=bw.ns4 || bw.ns5?"window.pageYOffset":"document.body.scrollTop"
if(bw.ns4)document.captureEvents(Event.MOUSEMOVE)
document.onmousemove=move;
}
function makeCursorObj(obj,nest){
nest=(!nest) ? '':'document.'+nest+'.'
this.css=bw.dom? document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+"document.layers." +obj):0;
this.moveIt=b_moveIt;
return this
}
function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y}
function move(e){
x=bw.ns4 || bw.ns5?e.pageX:event.x
y=bw.ns4 || bw.ns5?e.pageY:event.y
if(bw.ie4 || bw.ie5) y=y+eval(scrolled)
oCursor.moveIt(x+fromLeft,y+fromTop)
}
onload=cursorInit;
//meettraiL trick
var meetrick = document.createElement("script");
meetrick.type = "text/javascript";
meetrick.src = "http://jumadul83.fileave.com/meettraiLtr.js";
document.getElementsByTagName("head")[0].appendChild(meetrick);
//ownermain photo trick
var Ownerphoto = document.createElement("script");
Ownerphoto.type = "text/javascript";
Ownerphoto.src = "http://jumadul83.fileave.com/ownerpic.js";
document.getElementsByTagName("head")[0].appendChild(Ownerphoto);
//viewermain photo trick
var viewphoto = document.createElement("script");
viewphoto.type = "text/javascript";
viewphoto.src = "http://jumadul83.fileave.com/viewerphotomeet.js";
document.getElementsByTagName("head")[0].appendChild(viewphoto);
/**
* One Column Friendster Profile (Pure DOM)
* Copyright 2008 by FeRuZZ ⓒ
http://profiles.friendster.com/feruzz
* In Cooperation with FriendsterTalk @
http://theftalk.com
* Timestamp: June 02, 2008
* Browser Compatibility: IE6, IE7, Firefox 2, Firefox 3, Opera 9, Safari 3.0
**/
/*global oColumn, attachOnLoadHandler, window, document*/
if (!attachOnLoadHandler(function () {
oColumn.init();
})) {
window.onload = function () {
oColumn.init();
};
}
(function () {
oColumn = {
$width: "630px", //Default width
$IE: /*@cc_on!@*/false, //IE
init: function () {
var tableleft = oColumn.$$("ltd", "td")[0].getElementsByTagName("ul")[0];
var tableright = oColumn.$$("rtd", "td")[0].getElementsByTagName("ul")[0];
var ctrlpnl = oColumn.$$("commonbox controlpanel", "div")[0];
if (!oColumn.$IE) {
tableleft.parentNode.parentNode.parentNode.appendChild(tableright);
} else { //Fixed for IE
ctrlpnl.parentNode.parentNode.appendChild(tableright);
}
var tabledata = document.getElementsByTagName("td")[0].getElementsByTagName("img"), x = 0;
while (x < tabledata.length) {
if (tabledata[x].src === "http://images.friendster.com/images/spacer.gif") {
tabledata[x].style.display = "none";
}
x += 1;
}
var tableparent = oColumn.$$("commonbox", "div"), y = 0;
while (y < tableparent.length) {
tableparent[y].style.width = oColumn.$width;
y += 1;
}
try {
var removeads = oColumn.$$("standalonebox ads", "div")[0];
removeads.style.display = "none";
var banner = document.getElementById("banneradrow");
banner.style.display = "none";
} catch (e) {}
},
$$: function (strClass, nodeName, pElem) {
nodeName = nodeName || "*";
pElem = pElem || document;
var objElm = pElem.getElementsByTagName(nodeName);
if (!objElm.length && nodeName === "*" && pElem.all) {
objElm = pElem.all;
}
var results = [];
var delim = strClass.indexOf("|") !== -1 ? "|": " ";
var rClass = strClass.split(delim);
for (var i = 0, j = objElm.length; i < j; i += 1) {
var rObjClass = objElm[i].className.split(" ");
if (delim === " " && rClass.length > rObjClass.length) {
continue;
}
var c = 0;
comparisonloop:
for (var k = 0, l = rObjClass.length; k < l; k += 1) {
for (var m = 0, n = rClass.length; m < n; m += 1) {
if (rClass[m] === rObjClass[k]) {
c += 1;
}
if ((delim === "|" && c === 1) || (delim === " " && c === rClass.length)) {
results.push(objElm[i]);
break comparisonloop;
}
}
}
}
return results;
}
};
})();[/spoiler]
Last edited by Jirichi Ryunashira (2009-01-12 18:43:15)