[quote=Da BucKz]share ksini kode'a bsa?????[/quote]
ney sob...
[spoiler]// FEATURED VIEWER
function friendscaption() {
var friends = document.getElementById("content_2").getElementsByTagName("div")[0];
var caption =
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><div title=\"header=["+pageViewerFName+"] body=[PeRsOn wHo i WanT tO MeeT mOsT]offsetx=[-180]\"><div id='AUTOFEATUREPIC'></div></div></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='http://www.friendster.com/user.php'><div title=\"header=["+pageViewerFName+"] body=[PeRsOn wHo i WanT tO MeeT mOsT]offsetx=[-180]\">"+pageViewerFName+"</div></a></li>"+
"<li>My beloved fans</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/41197498'><div title=\"header=[Mas Hanan] body=[kamar mandi dalam..]offsetx=[-180]\">"+
"<img src='http://photos.friendster.com/photos/89/47/41197498/1_721238905l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/41197498'><div title=\"header=[Hanan] body=[sabar mas karyo..]offsetx=[-180]\">HUanan</div></a></li>"+
"<li>sabar mas..rak yo ketemu!!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/49489499'><div title=\"header=[Amex] body=[tukang pukul nich!!]offsetx=[-180]\">"+
"<img src='http://photos.friendster.com/photos/99/49/49489499/1_873917193l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/49489499'><div title=\"header=[mas Amy] body=[suGali alim..]offsetx=[-180]\">Amycom'z</div></a></li>"+
"<li>hayuuh..nyante wae mas..ojo serius bgt nuh!!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/ID FF 3'><div title=\"header=[mas Putu] body=[bakul bakso..]offsetx=[-180]\">"+
"<img src='http://photos-p.friendster.com/photos/85/05/40345058/1_483245474l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/ID FF 3'><div title=\"header=[Putu] body=[pejuang asmara..wakwaks..]offsetx=[-180]\">PUTUT</div></a></li>"+
"<li>buruan kanwen dab!!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/30763798'><div title=\"header=[Bagas] body=[broker..koran kalee!!]offsetx=[-180]\">"+
"<img src='http://photos-p.friendster.com/photos/89/73/30763798/1_987141785l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/30763798'><div title=\"header=[baGas] body=[ayo muleh..gek party,,]offsetx=[-180]\">BAGAS><BAGUS</div></a></li>"+
"<li>HuFF..punk rock??</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/36430810'><div title=\"header=[kotrekz] body=[rewo2...]offsetx=[-180]\">"+
"<img src='http://photos-810.friendster.com/e1/photos/01/80/36430810/1_364083857l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/36430810'><div title=\"header=[kotrekz] body=[tukang gebug lokalisasi..]offsetx=[-180]\">COOTREX'Z</div></a></li>"+
"<li>garukkan mas..bubar-bubar!!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>";
var caption2=
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/41197498'><div title=\"header=[Mas Hanan] body=[kamar mandi dalam]offsetx=[-180]\">"+
"<img src='http://photos.friendster.com/photos/89/47/41197498/1_721238905l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/41197498'><div title=\"header=[Mas Hanan] body=[sabar mas karyo..]offsetx=[-180]\">NAMA FF 1</div></a></li>"+
"<li>yb udah ya udahlah mas..</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/49489499'><div title=\"header=[Amex] body=[suGali alim..]offsetx=[-180]\">"+
"<img src='http://photos.friendster.com/photos/99/49/49489499/1_873917193l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/49489499'><div title=\"header=[Amex] body=[suGali alim..]offsetx=[-180]\">NAMA FF 2</div></a></li>"+
"<li>hayuuh..nyante wae mas..ojo serius bgt nuh!!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/40345058'><div title=\"header=[Putu] body=[pejuang asmara..wakwaks..]offsetx=[-180]\">"+
"<img src='http://photos-p.friendster.com/photos/85/05/40345058/1_483245474l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/40345058'><div title=\"header=[Putu] body=[pejuang asmara..wakwaks..]offsetx=[-180]\">NAMA FF 3</div></a></li>"+
"<li>buruan kanwen dab!!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/30763798'><div title=\"header=[baGas] body=[broker..koran kalee!!]offsetx=[-180]\">"+
"<img src='http://photos-p.friendster.com/photos/89/73/30763798/1_987141785l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/30763798'><div title=\"header=[baGas] body=[broker..koran kalee!!]offsetx=[-180]\">NAMA FF 4</div></a></li>"+
"<li>HuFF..punk rock??</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
"<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/36430810'><div title=\"header=[kotrekz] body=[tukang gebug lokalisasi..]offsetx=[-180]\">"+
"<img src='http://photos-810.friendster.com/e1/photos/01/80/36430810/1_364083857l.jpg'></a></div></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/36430810'><div title=\"header=[kotrekz] body=[tukang gebug lokalisasi.]offsetx=[-180]\">NAMA FF 5</div></a></li>"+
"<li>garukkan mas..bubar-bubar!!</li>"+
"</ul></td>"+
"</tr></tbody></table></div>";
if (pageViewerID==41197498 || pageViewerID==49489499 || pageViewerID==40345058 || pageViewerID==30763798 || pageViewerID==36430810) {friends.innerHTML = caption2;}
else {friends.innerHTML = caption;}
}window.onload = function() {friendscaption();}
if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();};
function viewer() {
if(pageViewerID!="") AUTOFEATUREPIC.init();
}
if (typeof AUTOFEATUREPIC == "undefined") { AUTOFEATUREPIC = {}; }
AUTOFEATUREPIC = {
photo: [],
init: function() {
if(document.getElementById("AUTOFEATUREPIC") != null) {
this.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,AUTOFEATUREPIC.viewer,null);
}
},
viewer: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === null) {
alert("ooPs .. eRRoR OccuReD ! BeTTeR LucK neXt tiMe ..");return;
}else if (htm) {
try {
var targetPhoto = htm.match(/<profile_photo>[\S\s]+?<\/profile_photo>/gim)[0].replace(/<[\S\s]+?>/gim, "");
var targetName = htm.match(/<firstname>[\S\s]+?<\/firstname>/gim)[0].replace(/<[\S\s]+?>/gim, "");
var targetEmail = htm.match(/<email>\b[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}\b<\/email>/gim)[0].replace(/<[\S\s]+?>/gim, "");
this.photo = document.createElement("DIV");
this.photo.align = "center";
this.photo.appendChild(document.createElement("a"));
this.photo.getElementsByTagName("a")[0].href = "/"+pageViewerID;
this.photo.getElementsByTagName("a")[0].target = "_blank";
this.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img"));
this.photo.getElementsByTagName("img")[0].src = targetPhoto;
this.photo.appendChild(document.createElement("br"));
this.photo.appendChild(document.createElement("span"));
this.photo.getElementsByTagName("span")[0].className = "q";
this.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a"));
this.photo.appendChild(document.createElement("br"));
this.photo.appendChild(document.createElement("span"));
this.photo.getElementsByTagName("span")[1].className = "q";
document.getElementById("AUTOFEATUREPIC").appendChild(this.photo);
}catch(e) {}
}
},
ajaxRequest: function(url,func,handler) {
var httprequest = window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
httprequest.onreadystatechange = function() {
if (httprequest.readyState == 4) {
if (httprequest.status == 200) {
func(httprequest.responseText,handler);
}
}
};
httprequest.open("GET", url, true);
httprequest.send(null);
}
};[/spoiler]