bro andha saiakan coba code di bawah ini.
[quote]//force log in
if(pageViewerID==""){
alert("YOUR TEXT HERE");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
//enter page
var myplace = document.location.href;
if (myplace == "http://profiles.friendster.com/user.php?uid=999999"){
}
else if (myplace == "http://profiles.friendster.com/user.php?uid=999999"){
}
else {
location.href = "http://h1.ripway.com/xxxxxx/enter.html";
}[/quote]
kok tiba2 fs saia masuk ke ripway.truss kok di suruh log in lagi??
knp ya???
saia takut ilang data yang ada di ripway saia gmn nihh broo..
bantu saia sangat...
satu lagi brooo...plz help me.....bro andha..
broo..kok sebagian code yaia yang di dalam ini gag jalan semua ya.apa ada yang salah broo..??
[quote]//onload handler
function onProfileLoad() {
//addboxes here
//slide photo gallery
var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=2305843009214555659&site=widget-e7.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/57382852\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=57382852\" target=\"_blank\">Upload Photo Fo Me</b></a></div>";
document.getElementById('content_1').style.height='100%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
//more friends
var kawanku = "<div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='36205559'><img src='http://img20.imageshack.us/img20/2336/amelyt5.jpg'></a></div><div class='dr'><a href='USERID'>aMeL</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='46362152'><img src='http://img47.imageshack.us/img47/1315/anakmamapu7.jpg'></a></div><div class='dr'><a href='USERID'>AnaK</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='45515410'><img src='http://img47.imageshack.us/img47/1228/duhhhmm0.jpg'></a></div><div class='dr'><a href='USERID'>aduhh</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='55223368'><img src='http://img20.imageshack.us/img20/6417/aninnlm7.jpg'></a></div><div class='dr'><a href='USERID'>AnIn</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='39402822'><img src='http://img20.imageshack.us/img20/9250/belltucknyahhj8.jpg'></a></div><div class='dr'><a href='USERID'>bell</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='43006296'><img src='http://img20.imageshack.us/img20/5074/brokenpy6.jpg'></a></div><div class='dr'><a href='USERID'>broken</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='40054653'><img src='http://img441.imageshack.us/img441/2114/carieske8.jpg'></a></div><div class='dr'><a href='USERID'>cries</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='6331720'><img src='http://img441.imageshack.us/img441/5854/ceciliawitand2.jpg'></a></div><div class='dr'><a href='USERID'>Cecilia</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='52846954'><img src='http://img179.imageshack.us/img179/3707/dtiqashpt7.jpg'></a></div><div class='dr'><a href='USERID'>dtiqash</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='53385350'><img src='http://img441.imageshack.us/img441/8766/diahcweetzbm1.jpg'></a></div><div class='dr'><a href='USERID'>diah</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='13669327'><img src='http://img98.imageshack.us/img98/3627/dyaanyy8.jpg'></a></div><div class='dr'><a href='USERID'>Dyaan</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='27649018'><img src='http://img179.imageshack.us/img179/9333/dyltetchantv2.jpg'></a></div><div class='dr'><a href='USERID'>dyl</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='18082519'><img src='http://img142.imageshack.us/img142/2652/ekaseptianiqg8.jpg'></a></div><div class='dr'><a href='USERID'>septiani</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='26208771'><img src='http://img179.imageshack.us/img179/6758/ethaluthubv4.jpg'></a></div><div class='dr'><a href='USERID'>ethaluthu</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='26208771'><img src='http://img98.imageshack.us/img98/8123/emiliarh6.jpg'></a></div><div class='dr'><a href='USERID'>emilia</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='52077589'><img src='http://img179.imageshack.us/img179/8120/emptyheartpd3.jpg'></a></div><div class='dr'><a href='USERID'>hearth</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='0773964'><img src='http://img98.imageshack.us/img98/5378/fajrinnamk4.jpg'></a></div><div class='dr'><a href='USERID'>fajrinna</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='35939642'><img src='http://img179.imageshack.us/img179/1049/fathfathiact8.jpg'></a></div><div class='dr'><a href='USERID'>fathfathia</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='42588634'><img src='http://img142.imageshack.us/img142/5719/iloveu4everiq0.jpg'></a></div><div class='dr'><a href='USERID'>ilove</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='54340035'><img src='http://img98.imageshack.us/img98/8543/intanncy9.jpg'></a></div><div class='dr'><a href='USERID'>intann</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='18697339'><img src='http://img98.imageshack.us/img98/259/ichbinsu4.jpg'></a></div><div class='dr'><a href='USERID'>ich</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='47678764'><img src='http://img98.imageshack.us/img98/3818/icutcuitzxk0.jpg'></a></div><div class='dr'><a href='USERID'>Icut</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='48840494'><img src='http://img142.imageshack.us/img142/142/ieranf1.jpg'></a></div><div class='dr'><a href='USERID'>iera</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='46452294'><img src='http://img142.imageshack.us/img142/7844/larazcb3.jpg'></a></div><div class='dr'><a href='USERID'>laraz</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='44416081'><img src='http://img142.imageshack.us/img142/66/melbapuxxxxxi5.jpg'></a></div><div class='dr'><a href='USERID'>mel</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='45480350'><img src='http://img142.imageshack.us/img142/1939/deeis5.jpg'></a></div><div class='dr'><a href='USERID'>dee</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='53924532'><img src='http://img141.imageshack.us/img141/1369/poppyuy0.jpg'></a></div><div class='dr'><a href='USERID'>poppy</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='40955731'><img src='http://img98.imageshack.us/img98/8520/renzsx1.jpg'></a></div><div class='dr'><a href='USERID'>renz</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='24696754'><img src='http://img141.imageshack.us/img141/571/superkawaiiuv3.jpg'></a></div><div class='dr'><a href='USERID'>super</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='46181113'><img src='http://img142.imageshack.us/img142/286/tovicutejy4.jpg'></a></div><div class='dr'><a href='USERID'>tovi</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/YOUROWNUSERID'>LIHAT SEMUA TEMAN GW</a></div>";
addBox("BOTTOM RIGHT","DEPOK ONLY FRIEND's",kawanku,"siputbox","7");
//flash mp3
var mp3 ="<div align='center'><embed allowScriptAccess=\"never\" src=\"http://www.mp3asset.com/swf/mp3/mp3player.swf\" menu=\"false\" quality=\"high\" width=\"265px\" height=\"270px\" name=\"index\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" flashvars=\"myid=7067691&path=2007/12/29&mycolor=0x000000&mycolor2=0x000000&mycolor3=0xFFFF00&autoplay=true&rand=0&f
&vol=100\" wmode=\"transparent\"/></embed><br /><a href=\"http://www.myspaceprodesigns.com\"></a></div></div>";
addBox("RIGHT",pageOwnerFName+"'s Flash MP3",mp3,"music","7");
//cbox
var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='305' src='http://widget-e7.slide.com/widgets/slideticker.swf' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 0px solid;' id='cboxmain'></iframe><br/>"+
"<iframe frameborder='0' width='100%' height='75' src='http://widget-e7.slide.com/widgets/slideticker.swf' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 0px solid;border-top:0px' id='cboxform'></iframe>"+
"</div>";
addBox("RIGHT",pageOwnerFName+"'s Shoutbox",cbox,"cboxbox","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);
}
}[/quote]
thx bgt sebelumnya ya brooo
Last edited by teno (2008-01-06 17:41:14)