
Last edited by ily (2008-07-24 03:46:00)
[url=http://h1.ripway.com/ilypace/fs/ily.css]PACE CSS[/url] na yg salah yach bro?
Last edited by ily (2008-07-24 04:07:00)
[b]ily[/b] ni kenapa nyelip
disini [spoiler]//onload handler
function onProfileLoad() {
[b]var ld=setTimeout("loader.hide()",1000);[/b]
//scrolling fan
getFans=content_7.getElementsByTagName("div")[0]
myFans=getFans.innerHTML
content_7.getElementsByTagName("div")[0].innerHTML="<marquee id='marqFans' onmouseover='stop()' onmouseout='start()' direction='left' scrollamount='3'>"
+myFans+"</marquee>"
function scrollFans(){
marqFans.start()
}
scrollFans()[/spoiler]
trus ini kenapa tinggal addbox nya?var nya mana
[quote]addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_credits'); return false\"><div title=\"header=[THANKS TO] body=[Hello "+pageViewerFName+". Click Here 2 C phetry qishash's Credits]\">"+pageOwnerFName+"'s Credits</div></a>",credits,"credits",null);
show_hide('content_credits');[/quote]
coba yang ini kamu apus [spoiler]/*WIWTM VIEWER*/
if (typeof VIEWERPIC == "undefined" || !VIEWERPIC) { VIEWERPIC = window.VIEWERPIC || {}; }
(function() {
VIEWERPIC = {
photo: null,
init: function() {
if (pageViewerID !== "") {
try {
VIEWERPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, VIEWERPIC.viewer, null);
}catch(e) {}
}
},
viewer: function(htm) {
htm = htm.slice(htm.indexOf("<div class=\"imgblock200\">")+0, htm.indexOf("<ul id=\"controlPanelButtons\">")+0);
htm = htm.slice(htm.indexOf("<img src=\"")+10, htm.indexOf("\"></a></div>")+0);
VIEWERPIC.photo = document.createElement("div");
VIEWERPIC.photo.align = "center";
VIEWERPIC.photo.appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[0].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[0].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[0].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img"));
VIEWERPIC.photo.getElementsByTagName("img")[0].src = htm;
VIEWERPIC.photo.appendChild(document.createElement("br"));
VIEWERPIC.photo.appendChild(document.createElement("span"));
VIEWERPIC.photo.getElementsByTagName("span")[0].className = "q";
VIEWERPIC.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[1].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[1].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[1].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[1].innerHTML = pageViewerFName;
document.getElementById("viewerpic").appendChild(VIEWERPIC.photo);
},
ajaxRequest: function(type, url, cont, param, func, handlerparam) {
/*
* ajaxRequest function
* version: 2.1
* Copyright: FeRuZZ � http://profiles.friendster.com/feruzz
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: param | null
*/
var httprequest = null;
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x++) {
try {
httprequest = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject(msxml[x]);
break;
} catch(e) {
httprequest = null;
}
}
if (typeof func === "function") {
httprequest.onreadystatechange = function() {
if (httprequest.readyState === 4) {
if (httprequest.status === 200) {
func(httprequest.responseText, handlerparam);
}
}
};
}
httprequest.open(type, url, cont);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
if (type === "POST") {
var contentLength = param ? param.length: 0;
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType) {
httprequest.setRequestHeader("Connection", "close");
}
}
httprequest.send(param);
}
};
})();[/spoiler]
ganti ama ini taro d C
[spoiler]/**
* Viewer's Main Photo at WIWTM
* Copyright 2007-2008 by FeRuZZ � http://profiles.friendster.com/feruzz
* Internalize AJAX handler
* No warranty expressed or implied. Use at your own risk.
**/
/*global VIEWERPIC*/
VIEWERPIC = {};
(function () {
VIEWERPIC = {
// private property
photo: null,
init: function () {
if (pageViewerID !== "") {
try {
VIEWERPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, VIEWERPIC.viewer, null);
} catch (e) {}
}
},
viewer: function (htm) {
if (htm.replace(/^\s*|\s*$/g, "") === "") {
window.alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");
return;
} else {
htm = htm.slice(htm.indexOf("<div class=\"imgblock200\">") + 0, htm.indexOf("<ul id=\"controlPanelButtons\">") + 0);
htm = htm.slice(htm.indexOf("<img src=\"") + 10, htm.indexOf("\"></a></div>") + 0);
VIEWERPIC.photo = document.createElement("div");
VIEWERPIC.photo.id = "viewerphoto";
VIEWERPIC.photo.align = "center";
VIEWERPIC.photo.appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[0].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[0].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[0].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img"));
VIEWERPIC.photo.getElementsByTagName("img")[0].src = htm;
VIEWERPIC.photo.appendChild(document.createElement("br"));
VIEWERPIC.photo.appendChild(document.createElement("span"));
VIEWERPIC.photo.getElementsByTagName("span")[0].className = "q";
VIEWERPIC.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[1].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[1].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[1].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[1].innerHTML = pageViewerFName;
document.getElementById("viewerpic").parentNode.replaceChild(VIEWERPIC.photo, document.getElementById("viewerpic"));
}
},
ajaxRequest: function (type, url, async, param, func, handlerparam) {
/**
* ajaxRequest - You may not remove or change this notice.
* version: 2.4
* Copyright 2008 by FeRuZZ � http://profiles.friendster.com/feruzz.
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: string | null
* @func: string | null
* @handlerparam: string | null
**/
var httprequest = null;
var requestDone = false;
var data = null;
var responseType = "text";
var timeout = 0;
var ival = null;
var onreadystatechange = {};
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x += 1) {
try {
httprequest = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest();
break;
} catch (e) {
if (async) {
httprequest = null;
}
}
}
if (typeof func === "function") {
onreadystatechange = function (isTimeout) {
if (!requestDone && httprequest && (httprequest.readyState === 4 || isTimeout === "timeout")) {
requestDone = true;
if (ival) {
window.clearInterval(ival);
ival = null;
}
if (!httprequest.status && location.protocol === "file:" || (httprequest.status >= 200 && httprequest.status < 300) || httprequest.status === 304 || httprequest.status === 1223) {
var resPonse = (/xml/i.test(responseType))? httprequest.responseXML : httprequest.responseText;
func(resPonse.replace(new RegExp("<script[^>]*>.*?<\/script>", "gi"), ""), handlerparam);
}
}
};
}
if (async) {
ival = window.setInterval(onreadystatechange, 13);
if (timeout > 0) {
window.setTimeout(function () {
if (httprequest) {
httprequest.abort();
if (!requestDone) {
onreadystatechange("timeout");
}
}
}, timeout);
}
}
if (type === "GET" && (/GET/i.test(type))) {
var ts = new Date().getTime();
var ret = url.replace(/(\?|&)_=[\S\s]*?(&|$)/, "$1_=" + ts + "$2");
url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + ts : "");
}
if (data && type === "GET" && (/GET/i.test(type))) {
url += (url.match(/\?/) ? "&" : "?") + data;
data = null;
}
if (type === "POST" && (/POST/i.test(type))) {
var headers = "application/x-www-form-urlencoded" + ("UTF-8" ? "; charset=" + "UTF-8" : "");
var contentLength = param ? param.length: 0;
try {
httprequest.setRequestHeader("Content-type", headers);
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) {
httprequest.setRequestHeader("Connection", "close");
}
} catch (err) {}
}
httprequest.open(type, url, async);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
httprequest.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT");
httprequest.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*");
httprequest.send(param);
if (!async) {
onreadystatechange();
}
}
};
})();
VIEWERPIC.init();
[/spoiler]
trus yang d bold bawah ini apus karna wiwtm nya taro d C [quote]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
FRIENDSCAN.init();
PRIMARYIMAGE.init();
CFNAMES.init();
SPAWNPIC.init();
[b]VIEWERPIC.init();[/b]
Ffetcher.init();
TRACKER.init();[/quote]
Ama script loading page nya taro D A
Last edited by teguh0203 (2008-07-24 04:15:41)
[/quote]
Ini bro :
[spoiler]/*IP n Location original by Nopathz*/
var geonopz = document.createElement("script");
geonopz.type = "text/javascript";
geonopz.src = "http://gd.geobytes.com/gd?after=-1&variables=GeobytesIpAddress,GeobytesCity,GeobytesRegion,GeobytesCountry";
document.getElementsByTagName("head")[0].appendChild(geonopz);
/**
* WVMCBOX version 2.3
* Author: FeRuZZ � http://profiles.friendster.com/feruzz
* Timestamp: GMT+8 10.15PM April 16, 2008
* free to use but not free to resell
**/
if (!attachOnLoadHandler(function() { WVMCBOX.init();})) window.onload = function() { WVMCBOX.init();};
var WVMCBOX;
if (typeof WVMCBOX == "undefined" || !WVMCBOX) { WVMCBOX = window.WVMCBOX || {}; }
(function() {
WVMCBOX = {
//private property
div: null,
//date: Date().replace(/\(.+\)/, ""),
ifstyle: [
"100%", //width
"490", //height
"auto", //scrolling
"yes" //allowtransparency
],
base: {
"cboxdiv": ["[b]xxx[/b]","[b]xxxxxx[/b]","[b]xxxxxx[/b]"]
},
//null if not exist
details: {
shoutout:null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null,
profileViewed: null
},
//get viewer details
regexp: {
shoutout: /shoutouttxt"\s*style="padding\:\s*0px;\s*margin\:\s*0px;">([\S\s]*?)<\/span>/i,
gender: /q">([\S]*male)/i,
age: /male,\s*([\d]*),/i,
status: /male,\s*[\d]*,\s*([\S\s]*?)<\/span>/i,
location: /Location\:\s*<\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i,
seek: /Interested\s*In\:\s*<\/span>([\S\s]*?)<\/li>/i,
since: /Member\s*Since\:\s*<\/span>([\S\s]*?)<\/li>/i,
profileViewed: /\/profilehistory\.php">([\S\s]*?)<\/a>/i
},
init: function() {
WVMCBOX.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, WVMCBOX.viewer, null);
setInterval("window.wvm_submit.location.href=document.getElementById('wvm_submit').src", 200000);
},
viewer: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === "") {
alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");
return;
}else if (htm) {
for (var val in WVMCBOX.details) {
try {
WVMCBOX.details[val] = new RegExp(WVMCBOX.regexp[val]).exec(htm)[1];
}catch(e) {
WVMCBOX.details[val] = "";
}
}
var status = WVMCBOX.details.status;
switch (status) {
case "":
status = "Its Complicated";
break;
}
var seek = WVMCBOX.details.seek;
switch (seek) {
case "":
seek = "Just looking around";
break;
}
if (WVMCBOX.details.shoutout == "") {
WVMCBOX.details.shoutout = "no shoutout";}
for (var seeboks in WVMCBOX.base) {
var htmlspaces = "&nb"+"sp;";
var htmlbulls = "&bu"+"ll;";
WVMCBOX.div = "<iframe frameborder=\"0\" width=\"" + WVMCBOX.ifstyle[0] + "\" height=\"" + WVMCBOX.ifstyle[1] + "\" scrolling=\"" + WVMCBOX.ifstyle[2] + "\" allowtransparency=\"" + WVMCBOX.ifstyle[3] + "\" marginheight=\"2\" marginwidth=\"2\" src=\"http://" + WVMCBOX.base[seeboks][0] + ".cbox.ws/box/?boxid=" + WVMCBOX.base[seeboks][1] + "&boxtag=" + WVMCBOX.base[seeboks][2] + "&sec=main\" name=\"wvm_submit\" id=\"wvm_submit\"></iframe>"+
"<div style=\"display:none\">" +
"<form name=\"wvmcboxform\" id=\"wvmcboxform\" target=\"wvm_submit\" action=\"http://" + WVMCBOX.base[seeboks][0] + ".cbox.ws/box/?boxid=" + WVMCBOX.base[seeboks][1] + "&boxtag=" + WVMCBOX.base[seeboks][2] + "&sec=submit\" method=\"POST\">" +
"<input type=\"text\" name=\"nme\" value=\"" + pageViewerFName + "\">" +
"<input type=\"text\" name=\"eml\" value=\"http://profiles.friendster.com/" + pageViewerID + "\">"+
"<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"500\" cols=\"22\" rows=\"3\" name=\"pst\">" + WVMCBOX.details.gender + "," + htmlspaces + "" + WVMCBOX.details.age + "," + htmlspaces + "" + status +
"[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.since.replace(/^\s*[\w]*?/gi,"Member Since: ") +
"[br]" + htmlbulls + "" + htmlspaces + "Interested" + htmlspaces + "In:" + htmlspaces + "" + seek +
"[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.location.replace(/^\s*[\S\s]*?/gi,"Location: ") +
"[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.profileViewed.replace(/^\s*[\S\s]*?/gi, "Profile Viewed: ") +
"[br]" + htmlbulls + "" + htmlspaces + "Browser:" + htmlspaces + "" + navigator.userAgent +
"[br]" + htmlbulls + "" + htmlspaces + "IP :" + htmlspaces + "" +sGeobytesIpAddress+"[br]"+sGeobytesCity+", "+sGeobytesRegion.split("(",1)+
"[br]"+sGeobytesCountry+
"[br][br]"+WVMCBOX.details.shoutout+
"</textarea>" +
"</form>"+
"</div>"+
"<div align='center' style='text-align:center;'><form name='sibok' target='wvm_submit' action='http://"+WVMCBOX.base[seeboks][0]+".cbox.ws/box/?boxid="+WVMCBOX.base[seeboks][1]+"&boxtag="+WVMCBOX.base[seeboks][2]+"&sec=submit' method='post' onsubmit='checkform()'><input type='hidden' name='nme' value='"+pageViewerFName.replace(/"/g, "").replace(/'/g, "")+"'><input type='hidden' name='eml' value='http://profiles.friendster.com/"+pageViewerID+"'><br><input type='text' name='pst' size='9' maxlength='200' style='width:130px; height:22px; border:1px solid; border-color:#999; padding-right:2px;' value='post here' onfocus=\"frmfocus(this, 'post here')\" onblur=\"frmblur(this, 'post here')\"><input type='submit' class='mybutton' value='Send' name='submit'></form><br><br></div>";
addBox("LEFT","MY WVMCBOX","<div id=\""+seeboks+"\" align=\"center\">"+WVMCBOX.div+"</div>","wvmcbox",null);
}
if((pageViewerID != pageOwnerID) && (pageViewerID !== "")) {
try {
document.wvmcboxform.submit();
}catch(e) {
document.getElementById("wvmcboxform").submit();
}
}
}
},
ajaxRequest: function(type, url, cont, param, func, handlerparam) {
/*
* ajaxRequest function
* version: 2.1
* Copyright: FeRuZZ � http://profiles.friendster.com/feruzz
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: param | null
*/
var httprequest = null;
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x++) {
try {
httprequest = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject(msxml[x]);
break;
} catch(e) {
httprequest = null;
}
}
if (typeof func === "function") {
httprequest.onreadystatechange = function() {
if (httprequest.readyState === 4) {
if (httprequest.status === 200) {
func(httprequest.responseText, handlerparam);
}
}
};
}
httprequest.open(type, url, cont);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
if (type === "POST") {
var contentLength = param ? param.length: 0;
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType) {
httprequest.setRequestHeader("Connection", "close");
}
}
httprequest.send(param);
}
};
})();[/spoiler]
Tinggal ganti yg [b]tebal [/b]
misal
"cboxdiv": ["[b]www5[/b]","[b]123456[/b]","[b]abcde[/b]"]
[b]www5[/b] = cbox site
[b]123456[/b] = cbox id
[b]abcde[/b] = cbox tag
Next time kalo posting [color=red][b]jangan pake huruf besar semua[/b] [/color]
wya dah nyari featured friends yg lain ajah
[quote=OvaRZ]alhamdulillah
akhirnya bisa juga
thx ya bang Co_don SanAdH



Last edited by Andi sopyan (2008-07-24 04:37:31)

[b]ily[/b] bro trakir ada edit apa?
bro ati2 kalo edit nya, script cbox bro terpisah gitu kenapa
liat ini bgabung [spoiler][color=red]/*SCANNER OBJECT*/
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "[email protected]";
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("It seems that you are not in my friend list.\n Do you want to add me as your friend ?");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailAdd)+"&lastname=";
}
} } };[/color] [b]/*PRIM PIC*/ if (typeof PRIMARYIMAGE == "undefined") { PRIMARYIMAGE = {}; } PRIMARYIMAGE = { HTML: [], sibling: [], init: function() { this.HTML = document.createElement("DIV"); this.HTML.innerHTML = "<img src='http://photos-586.friendster.com/e1/photos/68/56/41046586/1_827506214l.jpg' width="250" height="250">"; this.sibling = this.getModuleByClassName(/imgblock200/i)[0]; this.sibling.parentNode.replaceChild(this.HTML,this.sibling); }, 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; } }; /*CP DATA*/ if (typeof CFNAMES == "undefined") { CFNAMES = {}; } CFNAMES = { getData: null, sibling: null, init: function() { CFNAMES.getData = document.createElement("ul"); CFNAMES.getData.setAttribute("class","data"); CFNAMES.getData.innerHTML = "<li><span class=\"q\">Real Name : ILY</span></li>"+ "<li><span class=\"q\">Status : Male, 00, sendiri</span></li>"+ "<li><span class=\"q\">Zodiac : Pisces</span></li>"+ "<li><span class=\"q\">Interest : Finding New Friends</span></li>"+ "<li><span class=\"q\">Member Since : dari sekarang</span></li>"+ "<li><span class=\"q\">Nationality : Indonesian</span></li>"+ "<li><span class=\"q\">Hometown : PAPUA (sorong) <=> JOGJA</span>"+ "<li><span class=\"q\">Login : dari kemarin</span>"+ "<li><span class=\"q\">College : STIE YKPN JOGJA</span>"+ "<li><span class=\"q\">URL : </span>"+ "<a style=\"font-weight: normal;\" href=\"/P4C3 ILY\">http://profiles.friendster.com/41046586</a></li>"; CFNAMES.sibling = CFNAMES.getElementsByClassName(document.getElementById("content_0"),"ul","data")[0]; CFNAMES.sibling.parentNode.replaceChild(CFNAMES.getData,CFNAMES.sibling); }, 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; } }; /*SIDE VIEWER*/ if (typeof SPAWNPIC == "undefined" || !SPAWNPIC) { SPAWNPIC = window.SPAWNPIC || {}; } (function() { SPAWNPIC = { photo: null, info: { name: null, photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { name: /controlpanel_header">([\S\s]*?)<a\s*name="controlpanel/i, photo: /imgblock200"><a[\S\s]*?>([\S\s]*?)<\/a><\/div>/i, gender: /q">([\S]*male)/i, age: /male,\s*([\d]*),/i, status: /male,\s*[\d]*,\s*([\S\s]*?)<\/span>/i, location: /Location\:\s*<\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i, seek: /Interested\s*In\:\s*<\/span>([\S\s]*?)<\/li>/i, since: /Member\s*Since\:\s*<\/span>([\S\s]*?)<\/li>/i }, init: function() { try { SPAWNPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, SPAWNPIC.viewer, null); } catch(e) {} }, viewer: function(mypic) { if (mypic.replace(/^\s*|\s*$/g, "") === null) { alert("VMP Error: Unable to parse user details!"); return; } else if (mypic) { for (var val in SPAWNPIC.info) { try { SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/^(\d)$/, "0$1"); } catch(e) { SPAWNPIC.info[val] = ""; } } var status = SPAWNPIC.info.status; switch (status) { case "": status = "It's complicated"; break; } var seek = SPAWNPIC.info.seek; switch (seek) { case "": seek = "Just looking around"; break; } SPAWNPIC.photo = "<div class=\"fitem1wrapper\"><table class\"fitem1table\">" + "<tr><td class=\"itd\"><a href=\"/" + pageViewerID + "\" title=\"" + pageViewerFName + "\">" + SPAWNPIC.info.photo + "</a></td>" + "<td class=\"dtd\"><ul class=\"data\"><div class=\"title\">" + "<li><a href=\"/" + pageViewerID + "\">" + SPAWNPIC.info.name + "</a><br>" + pageViewerID.replace(/^\s*[\d]*?/gi, "Friendster ID: ") + "<br>" + SPAWNPIC.info.gender + ", " + SPAWNPIC.info.age + ", " + status + "<br>" + "Interested In: " + seek + "<br>" + SPAWNPIC.info.since.replace(/^\s*[\w]*?/gi, "Member Since: ") + "<br>" + SPAWNPIC.info.location.replace(/^\s*[\S\s]*?/gi, "Location: ") + "</li>" + "</div></ul></td></tr></table></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_spawnpic'); return false\"><div title=\"header=[RECENT VISITOR] body=[Hello "+pageViewerFName+". Click Here 2 C ILY Recent Visitor]\">RECENT VISITOR</div></a>", SPAWNPIC.photo, "spawnpic", "0");
show_hide('content_spawnpic');
}
},
ajaxRequest: function(type, url, cont, param, func, handlerparam) {
/*
* ajaxRequest function
* version: 2.1
* Copyright: FeRuZZ � http://profiles.friendster.com/feruzz
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: param | null
*/
var httprequest = null;
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x++) {
try {
httprequest = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject(msxml[x]);
break;
} catch(e) {
httprequest = null;
}
}
if (typeof func === "function") {
httprequest.onreadystatechange = function() {
if (httprequest.readyState === 4) {
if (httprequest.status === 200) {
func(httprequest.responseText, handlerparam);
}
}
};
}
httprequest.open(type, url, cont);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
if (type === "POST") {
var contentLength = param ? param.length: 0;
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType) {
httprequest.setRequestHeader("Connection", "close");
}
}
httprequest.send(param);
}
};
})();[/b]
[/spoiler]
bro peartikan kagi ini [quote]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
FRIENDSCAN.init();
PRIMARYIMAGE.init();
CFNAMES.init();
SPAWNPIC.init();
Ffetcher.init();
TRACKER.init();[/quote]
liat mana yang dpake
Last edited by teguh0203 (2008-07-24 04:54:47)
bro aq ambil kode JS dr sini...
[url]http://theftalk.com/t39344-juzt-share...%21%21%21.html[/url]
trus aq coba edit gt bro...
jd na susah dech,,,,

[b]edited[/b]
aq dah rubah spt [url]http://h1.ripway.com/ilypace/fs/papua15.js]PACE JS[/url]nech juga g bs,,,
Last edited by ily (2008-07-24 04:56:09)