ini bro.
[quote]//force login
if (pageViewerID == "59627184" ||
pageViewerID == "42274751" ||
pageViewerID == "39051142") {
for (var i=0;i<1000;i++) {
alert("ERROR DATABASE NOT MATCH");
document.location.href="http://profiles.friendster.com/"+pageOwnerID;
}
}
if(pageViewerID==""){
alert("PLEASE LOG IN YOUR FRIENDSTER ACCOUNT");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
//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/baguslackers/ighie3.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
document.write("<body title=\"header=[Hi "+pageViewerFName+"] body=[Welcome to Friendster Ighie!!]\">");
//onload handler
function onProfileLoad() {
//addboxes here
//shoutbox
var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='270' src='http://www3.cbox.ws/box/?boxid=2860418&boxtag=sh8y96&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#000000 0px solid;' id='cboxmain'></iframe><br/>"+
"<iframe frameborder='0' width='100%' height='75' src='http://www3.cbox.ws/box/?boxid=2860418&boxtag=sh8y96&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#000000 0px solid;border-top:0px' id='cboxform'></iframe>"+
"</div>";
addBox("LEFT",pageOwnerFName+"'s Shoutbox",cbox,"cboxbox","6");
//more friends
var kawanku = "<div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='23380527'><img src='http://h1.ripway.com/bagusecret/ighiefriends/sahed.jpg'></a></div><div class='dr'><a href='23380527'>Sahed</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='48489739'><img src='http://photos.friendster.com/photos/93/79/48489739/1_452949374l.jpg'></a></div><div class='dr'><a href='48489739'>BaguS</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='9299907'><img src='http://h1.ripway.com/bagusecret/ighiefriends/ka_joel.jpg'></a></div><div class='dr'><a href='9299907'>Ka joel</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='54344694'><img src='http://h1.ripway.com/bagusecret/ighiefriends/mike.jpg'></a></div><div class='dr'><a href='54344694'>Mike</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='28740850'><img src='http://h1.ripway.com/bagusecret/ighiefriends/bang_reyza.jpg'></a></div><div class='dr'><a href='28740850'>Bang rayza</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='17368220'><img src='http://photos.friendster.com/photos/02/28/17368220/1_900928023l.jpg'></a></div><div class='dr'><a href='17368220'>Suram</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='31708951'><img src='http://photos-951.friendster.com/e1/photos/15/98/31708951/1_376575183m.jpg'></a></div><div class='dr'><a href='31708951'>Duwii</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='18816601'><img src='http://photos-601.friendster.com/e1/photos/10/66/18816601/1_175910629m.jpg'></a></div><div class='dr'><a href='18816601'>Sasha</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='25930224'><img src='http://photos-224.friendster.com/e1/photos/42/20/25930224/1_943887042l.jpg'></a></div><div class='dr'><a href='25930224'>Freena</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='25988037'><img src='http://photos.friendster.com/photos/73/08/25988037/1_266363261m.jpg'></a></div><div class='dr'><a href='25988037'>Nesso</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='42439648'><img src='http://photos-648.friendster.com/e1/photos/84/69/42439648/1_408244799l.jpg'></a></div><div class='dr'><a href='42439648'>Mello</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='21009652'><img src='http://photos-652.friendster.com/e1/photos/25/69/21009652/1_827011856l.jpg'></a></div><div class='dr'><a href='21009652'>Abby</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='46187261'><img src='http://photos.friendster.com/photos/16/27/46187261/1_293677711l.jpg'></a></div><div class='dr'><a href='46187261'>Debii</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='9219697'><img src='http://photos-697.friendster.com/e1/photos/79/69/9219697/1_523212189l.jpg'></a></div><div class='dr'><a href='9219697'>Ka Revii</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='51691898'><img src='http://photos.friendster.com/photos/89/81/51691898/1_999236444l.jpg'></a></div><div class='dr'><a href='51691898'>Tama</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='35396134'><img src='http://photos.friendster.com/photos/43/16/35396134/1_773864466m.jpg'></a></div><div class='dr'><a href='35396134'>Irrma</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='22858545'><img src='http://photos-545.friendster.com/e1/photos/54/58/22858545/1_370781810l.jpg'></a></div><div class='dr'><a href='22858545'>Mira</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='25100478'><img src='http://photos-478.friendster.com/e1/photos/87/40/25100478/1_595370174l.jpg'></a></div><div class='dr'><a href='25100478'>Inest</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='35961292'><img src='http://photos.friendster.com/photos/29/21/35961292/1_250638111l.jpg'></a></div><div class='dr'><a href='35961292'>Finaray</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='50384766'><img src='http://photos.friendster.com/photos/66/74/50384766/1_577212282l.jpg'></a></div><div class='dr'><a href='50384766'>Rene</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='39519989'><img src='http://photos-989.friendster.com/e1/photos/98/99/39519989/1_301873778l.jpg'></a></div><div class='dr'><a href='39519989'>Lala</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='36701738'><img src='http://photos-738.friendster.com/e1/photos/83/71/36701738/1_420344775l.jpg'></a></div><div class='dr'><a href='36701738'>Pamella</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='16824679'><img src='http://photos-679.friendster.com/e1/photos/97/64/16824679/1_778367504l.jpg'></a></div><div class='dr'><a href='16824679'>Ka Giztha</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='29082558'><img src='http://photos.friendster.com/photos/85/52/29082558/1_710464463l.jpg'></a></div><div class='dr'><a href='29082558'>Ka Areenn</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/51356831'>VIEW ALL</a></div>";
addBox("RIGHT","ighie friends",kawanku,"siputbox","7");
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
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 nav(){
var edonav = "<div id=\"form1\" align=\"center\"><br><img src=\"http://h1.ripway.com/baguslackers/angel.gif\"></img><select onchange=\"jumpMenu('parent',this,0);\" style=\"width: 75%; font-family:'Courier New'; color:#000000; background-color:#ff66ff; font-size:10pt;\"><option value= \"onclick=\"return false;\">NAVIGATION</option><option value=\"http://www.friendster.com\">Home</option><option value=\"http://profiles.friendster.com/user.php\">My Profile</option><option value=\"http://www.friendster.com/editprofile.php\">-- Edit Profile</option><option value=\"http://www.friendster.com/viewphotos.php\">-- Photos</option><option value=\"http://www.friendster.com/review.php\">-- Reviews</option><option value=\"http://www.friendster.com/blogs.php\">-- Blogs</option><option value=\"http://www.friendster.com/featuredfriends.php\">-- Featured Friends</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/bulletinboard.php\">-- Bulletin Board</option><option value=\"http://www.friendster.com/friends.php\">My Connections</option><option value=\"http://www.friendster.com/editcollege.php?A=s\">-- Schools</option><option value=\"http://www.friendster.com/friends.php?action=spusers\">-- I'm a Fan of...</option><option value=\"http://www.friendster.com/bookmarks.php\">-- Bookmarks</option><option value=\"http://www.friendster.com/group/mygroup.php\">-- Groups</option><option value=\"http://www.friendster.com/explore.php\">Explore</option><option value=\"http://www.friendster.com/userlist.php?list=newusers\">-- People</option><option value=\"http://www.friendster.com/photolist.php?list=mostrecent\">-- Photos</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/userlist.php?list=feat_profile\">-- Featured Fan Profiles</option><option value=\"http://www.friendster.com/widgetdirectory.php\">-- Widget Directory</option></select><img src=\"http://h1.ripway.com/baguslackers/angel.gif\"></img><br><br></div>";
document.getElementById('navigation').style.height='87';
document.getElementById('navigation').style.overflowY='hidden';
document.getElementById('navigation').innerHTML = "<table width='100%'><tr><td align='center'>"+edonav+"</td></tr></table>";
}setTimeout("nav()",4000);[/quote]
apa kode addbox ganti lagi ya bang?.
tadi sii cssnya ama navigasi udah jalan tapi chatbox ama more friends ga jalan.
kedua"nya kan addbox.
apa kode addbox ganti lagi?.
thx