Para DEwa N Dewi FS newbie Prob HEre !!!
[quote][quote]var ymessenger;
try {ymessenger = document.createElement("div");}
catch (e) {ymessenger = document.createElement("<div>");}
ymessenger.innerHTML = "<br><a href='ymsgr:sendim?frans212_co_ok_fs'><img src='http://opi.yahoo.com/online?u=frans212_co_ok_fs&m=g&t=2'></a>";
ymessenger.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(ymessenger);
//LAYOUT
var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "http://h1.ripway.com/frans212/avril.css";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
//CGP
var java = document.createElement("script");
java.type = "text/javascript";
java.src = "http://h1.ripway.com/chibib0/CGP/CGP.js";
document.getElementsByTagName("head")[0].appendChild(java);
function onProfileLoad() {
Ffetcher.init();
addBox("RIGHT",pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","8");
var media="<div align=\"center\"><object width='90%' height='200'><param name='movie' value='http://www.loudfusion.com/mp3_players/managed/plr_5/player.swf''></param><embed src='http://www.loudfusion.com/mp3_players/managed/plr_5/player.swf'' type='application/x-shockwave-flash' width='90%' height='200'></embed></object></div>";
addBox("RIGHT","Now Playing",media,"utube","8");
var cbox="<div align=\"center\" id=\"cboxdiv\"><iframe frameborder='0' width='100%' height='300' src='http://www2.cbox.ws/box/?boxid=1531983&boxtag=6740&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br/>"+
"<form name='cbox' method='post' target='sbox' action='http://www2.cbox.ws/box/?boxid=1531983&boxtag=6740&sec=form'>"+
"<input type='hidden' name='nme' value='"+pageViewerFName+"'>"+
"<input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'>"+
"<hr><textarea style='overflow:hidden' class='cboxMsgArea' cols='40' rows='4' name='pst'></textarea><br>"+
"<input type='submit' class='cboxButtons' value='Send' target='sbox' name='sub'>"+
"<input type='reset' class='cboxButtons' value='Clear' maxlength='25'><br></form></div>";
addBox("RIGHT","Post Message here",cbox,"chtbox","8");
var getObj="<div align=\"center\"><embed allowScriptAccess=\"never\" saveEmbedTags=\"true\" src=\"http://www.polldaddy.com/poll.swf\" FlashVars=\"93413\" quality=\"high\" wmode=\"transparent\" bgcolor=\"#ffffff\" width=\"100%\" height=\"355\" name=\"beta3\" salign=\"tl\" scale=\"autoscale\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed></div>";
addBox("RIGHT",pageOwnerFName+"'s Poll", getObj, "poll", "8");
}
function movingD() {
var marqueeTestiComments = document.getElementById('content_publiccomments_1_7').innerHTML;
var liwzdarD = document.getElementById('content_publiccomments_1_7');
liwzdarD.innerHTML ="<marquee id=\"marquee\" direction=\"up\" height=\"300\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+marqueeTestiComments+"<marquee>";
}
window.onload = function() {movingD();}[/quote]
de sene ngg ada MaSLAH
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
//iframe css
style: {
filter: "chroma(color='#FFFFFF')",
width: '300px',
height: '315px',
border: '0px',
overflow: 'auto'
},
//iframe attributes
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://mumbhaki.x10hosting.com/friendster/tracker/tracker.php",
display: 10, //rows per page
/*do not edit below this line*/
/*
WVMv3.1.1
by marfillaster, copyright 2007 friendster.com/mumbhaki
credits: feruzz, 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: "cgwvm",
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><\/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=\"cgwvm\" src=\"about:blank\" style=\"display:none\" />";
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=0",true,null, "parseDETAILS",null);
}
};
function parseDETAILS(htm) {
if(!htm) {
alert("WVM Error: Unable to parse your details! Tracker will not update");
//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+"&img="+TRACKER.details.photo+"&gen="+TRACKER.details.gender+"&age="+TRACKER.details.age+"&stat="+TRACKER.details.status+"&loc="+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();
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 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
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 randOrd(){
return (Math.round(Math.random())-0.5);
}
if (typeof Ffetcher == "undefined") { Ffetcher = {}; }
Ffetcher = {
friends: new Array(),
pages: null,
maxfriends: null,
container: null,
cached: new Array(),
display: 10,
base_domain: "http://profiles.friendster.com",
init: function() {
var num=document.links;
for(var x=0;x<num.length;x++) {
if (num[x].href.match(/\/friends\/[\d]+?/)) {
var t=/\(([\d]+?)\)/;
this.maxfriends=t.exec(num[x].innerHTML)[1];
break;
}
}
this.pages=Math.floor(this.maxfriends/30);
var htm="<div id='fcontainer'></div>";
addBox("LEFT","Friends",htm,"frbox","6");
document.getElementById("content_frbox").innerHTML+="<div class='viewall'><a href='javascript: void(Ffetcher.more())'>Fetch More Friends</a></div>";
this.container=document.getElementById("fcontainer");
this.fetch(0);
},
fetch: function(page) {
document.getElementById("frbox").childNodes[0].innerHTML="Friends Loading... Pls wait...";
processAjaxRequest("GET",this.base_domain+"/friends/"+pageOwnerID+"/"+page,true,null, "parseFriends",page);
},
show: function() {
this.container.innerHTML="";
this.friends.sort(randOrd);
for(var x=0;x<this.display;x++) {
this.container.innerHTML+=this.friends[x];
}
},
more: function() {
if(this.cached.length<(this.pages+1)) {
var temp;
do {
temp=Math.ceil(Math.random()*(this.pages));
}while(this.cached.toString().indexOf(":"+temp+":")!=-1);
this.fetch(temp);
}
else {
this.show();
}
}
};
function parseFriends(htm,page) {
if(!htm){
Ffetcher.fetch(page);
return;
}
var r= /search1\x22>[\S\s]+?paginglinksmodule\x22>([\S\s]+?)<div class=\x22paginglinksmodule/;
var temp=r.exec(htm)[1];
temp=temp.match(/<div class="flogriditem">[\S\s]+?<\/div>\n<\/div><\/div>/g);
for(var x=0;x<temp.length;x++) {
temp[x]=temp[x].replace("samsg_icon.gif>","samsg_icon.gif />");
temp[x]=temp[x].replace(/<a /g,"<a target=_blank ");
if(!temp[x].match("nophoto")) Ffetcher.friends.push(temp[x]);
}
Ffetcher.cached.push(":"+page+":");
document.getElementById("frbox").childNodes[0].innerHTML="Friends ";
Ffetcher.show();
}
{
alert ('Welcome ! Pls Stand-Bye While I Loaded It')
}
/*END MISC FUNCTIONS*/
/*OTHER JS CODES BELOW THIS MESSAGE*/
////Moving Testi & Comments Box
if ( ! attachOnLoadHandler(function () { movingTestiComm();}))
window.onload = function () { movingTestiComm();};
function movingTestiComm() {
var marqueeTestiComments = document.getElementById("content_18").innerHTML;
document.getElementById("content_18").innerHTML ="<marquee direction='up' height='300' scrollamount='2' onMouseOver='stop()' onMouseOut='start()'>"+
marqueeTestiComments+"</marquee>";
}
document.write('<OBJECT ID="Rainbow" width="0" height="0" CLASSID="CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F" CODEBASE="#VERSION=2,0,0,0"></OBJECT>');
document.write('<OBJECT ID="TruVoice" width="0" height="0"CLASSID="CLSID:B8F2846E-CE36-11D0-AC83-00C04FD97575" CODEBASE="#VERSION=6,0,0,0"></OBJECT>');
var Char;
var UsedChars;
var CharID;
var CharACS;
var CharLoaded;
var LoadReq;
var HideReq;
UsedChars = "Char";
CharID = "Char";
CharACS = "";
CharLoaded = false;
Window_OnLoad();
function Window_OnLoad() {
Rainbow.Connected = true;
CharLoaded = LoadLocalChar(CharID, CharACS);
if (!CharLoaded) {
CharLoaded = LoadLocalChar(CharID, "");
}
if (CharLoaded) {
SetCharObj();
}
CheckLoadStatus();
}
function LoadLocalChar(CharID, CharACS) {
Rainbow.RaiseRequestErrors = false;
if (CharACS == "") {
LoadReq = Rainbow.Characters.Load(CharID);
}
else {
LoadReq = Rainbow.Characters.Load(CharID, CharACS);
}
Rainbow.RaiseRequestErrors = true;
if (LoadReq.Status != 1) {
return(true);
}
return(false);
}
function SetCharObj() {
Char = Rainbow.Characters.Character(CharID);
Char.LanguageID = 0x409;
}
function CheckLoadStatus() {
if (!CharLoaded) {
LoadError();
return(false);
}
window.status = "";
AgentIntro();
return(true);
}
function LoadError() {
var strMsg;
window.status = "";
strMsg = "Error Loading Character: " + CharID + "\n";
strMsg = strMsg + "This Microsoft Agent Script requires the character(s):\n";
strMsg = strMsg + UsedChars;
alert(strMsg);
}
function InitAgentCommands() {
Char.Commands.RemoveAll();
}
function AgentIntro() {
InitAgentCommands();
Char.MoveTo(0, 0);
Char.Show();
Char.MoveTo(900, 500);
Char.Play("Announce");
Char.Speak(pageViewerFName+"...WELCOME...FEEL At HOME PO...Have a GOOD TIME !..Your USER ID is...."+pageViewerID);
Char.Speak("Hi, Udah Mkan Lom...");
Char.Play("Greet");
Char.Speak("Woii....Woiii");
Char.Speak("Jgn Lupa Add Commentna Ya");
Char.Play("GetAttention");
Char.Play("GetAttentionContinued");
Char.Play("GetAttentionReturn");
Char.Speak("Kamu Pasti Mau Khn");
Char.Play("GestureRight");
Char.Speak("Mau dunks");
Char.MoveTo(10, 500);
Char.Play("GestureLeft");
Char.Speak("Asik lohh Di sini");
Char.MoveTo(10, 200);
Char.Speak("Gw Bisa Terbang Ke MAna Aza");
Char.MoveTo(600, 200);
Char.Play("DoMagic1");
Char.Play("DoMagic2");
Char.Play("GestureUp");
Char.Speak("Bahkan W bisa belajar Sihir Dari Mr ffxRans");
Char.Play("Pleased");
Char.MoveTo(0, 500);
Char.Play("Read");
Char.Play("WriteContinued");
Char.Speak("KamU mau Ngg Jadi tmen Spesial MrffxRans Ku, "+pageViewerFName);
Char.Play("WriteReturn");
Char.MoveTo(500, 500);
Char.Play("Think");
Char.Think("Kmu Mau Ya");
Char.Think("Klo Ngg Mau W sumpahin Jomlo Loe");
Char.Play("Uncertain");
Char.Speak("\\Chr=\"Whisper\"\\Very Simple Treasure, try to Watch ME Alwayz Here !.");
Char.Play("Wave");
Char.Speak("SEE you Later and NOT Goodbye..."+pageViewerFName);
Char.Play("Wave");
Char.Hide();
}
function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(14)
if ( ! attachOnLoadHandler(function () { movingC();}))
function movingC() {
var marqueeMoreAbout = document.getElementById('content_moreabout_1_5').innerHTML;
var liwzdarC = document.getElementById('content_moreabout_1_5');
liwzdarC.innerHTML ="<marquee id=\"marquee\" direction=\"up\" height=\"300\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+marqueeMoreAbout+"<marquee>";
}
window.onload = function() {movingC();}
if (!attachOnLoadHandler(function() { mainVpic();})) window.onload = function() { mainVpic();};
function mainVpic() {
if(pageViewerID!="") SPAWNPIC.init();
}
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
photo: [], li: [], ul: [],
info: {
name: null, photo: null, status: null, since: null, location: null
},
regexp: {
name: /controlpanel_header">([^@]+?)<a\s+name="controlpanel/i,
photo: /imgblock200"><a[^@]*?>([^@]+?)<\/a><\/div>/i,
status: /data">([^@]+?)<\/span><\/li>/i,
since: /Since\:\s+<\/span>([^@]+?)<\/li>/i,
location: /Location\:\s+<\/span>([^@]+?)<\/li>/i
},
init: function() {
this.ajaxRequest("/"+pageViewerID,"SPAWNPIC.viewer",null);
},
viewer: function(ph) {
if (ph.replace(/^\s*|\s*$/g,"") === "") {
alert("VMP Error: Unable to parse the photo!");
return;
}else if (ph) {
for (val in this.info) {
try {
this.info[val] = new RegExp(this.regexp[val]).exec(ph)[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("Hello "+this.info.name,this.photo,"spawnpic",/friends/i,"above");
}
},
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(head,code,id,sibling,x) {
this.li = document.createElement("LI");
if (!head) head = "";
else head = "<h2>"+head+"</h2>";
this.li.innerHTML = "<div class=\"commonbox "+id+"\" id=\""+id+"\">"+
head+
"<div id=\"content_"+id+"\">"+
code+
"</div>"+
"</div>";
if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(this.li);
else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(this.li);
else if (x == "above") {
this.ul = this.getModuleByClassName(sibling)[0];
this.ul.parentNode.parentNode.insertBefore(this.li,this.ul.parentNode);
}
},
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;
}
};
/*END OF OTHER JS CODES*/[/quote]
Kenapa Sebagian Besar JS Code AQ yg Dibawah : /*OTHER JS CODES BELOW THIS MESSAGE*/
ngg ada yg jalan kenapa ???
Why.............
Buat Bang KAnal....
Mbak Anna
Bang Kher
Bang Ndut
Bang GEmbel
Bang KAshMeer
Bang Dhey
Bang TA
Bang ForMateed
Bang YanStufid
Bang dan Mbak Yang Aku Udah Lupa....(kelamaan Ngg OL)
wkwkwkwkw
mohon Pencerahan