[quote=ekahlicious]can u pls check this if theres sumthing wrong,.
bcoz it doesnt work,. i swer!
[b]/***********************************************
* FTweaks Generator v4.1 -
http://Chibibo.ElementFx.com
* This notice must stay intact for credit and legal use
* For support, please visit the site stated.
* Credits to: Marfillaster, Aftermath, Archer,
* Feruzz, bryan, kaleumm, Angel Deville, RenAlvir
* XavierKym
***********************************************/
var ymessenger;
try {ymessenger = document.createElement("div");}
catch (e) {ymessenger = document.createElement("<div>");}
ymessenger.innerHTML = "<br><a href='ymsgr:sendim?im_erikaj'><img src='http://opi.yahoo.com/online?u=im_erikaj&m=g&t=2'></a><br><a href='http://chibibo.elementfx.com'><img src='http://i104.photobucket.com/albums/m168/chibib0/chibibobanner.gif'></a>";
ymessenger.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(ymessenger);
if (!attachOnLoadHandler(function(){embed()})) window.onload = function(){embed()};
function embed(){
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=360287970204593465&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/13596047\" target=\"_blank\"><b>View All Photos</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=13596047\" target=\"_blank\">Upload Photo for 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>";
}setTimeout("embed()",10000);
if(pageViewerID==""){
alert("Please log in your Friendster account to view my profile");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "http://h1.ripway.com/hotchick18/layie.css";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
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","2");
var media="<div align=\"center\"><object width='100%' height='200'><param name='movie' value='http://www.youtube.com/v/HZA_s-zY5m4&rel=1'></param><embed src='http://www.youtube.com/v/HZA_s-zY5m4&rel=1' type='application/x-shockwave-flash' width='100%' height='200'></embed></object></div>";
addBox("RIGHT","Now Playing",media,"utube","2");
var cbox="<div align=\"center\" id=\"cboxdiv\"><iframe frameborder='0' width='100%' height='300' src='http://www5.cbox.ws/box/?boxid=162359&boxtag=8xm56g&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://www5.cbox.ws/box/?boxid=162359&boxtag=8xm56g&sec=submit'>"+
"<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",pageOwnerFName+"'s Chatbox",cbox,"chtbox",null);
var getObj="<div align=\"center\"><embed allowScriptAccess=\"never\" saveEmbedTags=\"true\" src=\"http://www.polldaddy.com/poll.swf\" FlashVars=\"p=292361\" quality=\"high\" wmode=\"transparent\" bgcolor=\"#ffffff\" width=\"100%\" height=\"330\" 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", null);
}
/*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://renalvir.zuiken.net/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 and AddBox Tweaks OBJECT*/
/*MISC FUNCTIONS CAUTION*/
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);
}
/*END OF MISC FUNCTIONS CAUTION*/
/*FRIEND RANDOMIZER*/
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();
}
/*END OF FRIEND RANDOMIZER*/
/*WELCOME POP-UP MESSAGE*/
{
alert ('Welcome to erika's page,. enjoy ur stay!')
}
/*END OF WELCOME POP-UP MESSAGE*/
/*POP UP MESSAGE BOX and FRIEND SCANNER*/
if (!attachOnLoadHandler(function() { qMessage();})) window.onload = function() { qMessage();};
function qMessage() {
if(pageViewerID!=pageOwnerID || pageViewerID!="") MESSENGER.init();
}
if (typeof MESSENGER == "undefined") { MESSENGER = {}; }
MESSENGER = {
linker: [],
slinker: [],
smile: "",
type: "Message",
init: function() {
var olinks=document.links;
for(var x=0; x<olinks.length;x++) {
if(olinks[x].innerHTML.match(/Send Message/)) {
olinks[x].href="javascript: void(MESSENGER.openForm(0))";
this.linker=olinks[x];
}
if(olinks[x].innerHTML.match(/Send a Smile/)) {
olinks[x].href="javascript: void(MESSENGER.openForm(1))";
this.slinker=olinks[x];
}
}
},
openForm: function(t) {
if(t) {
this.smile="?action=sendsmile";
this.type="Smile";
}
else {
this.smile="";
this.type="Message";
}
this.linker.href="#";
this.slinker.href="#";
var msgform = "<div style='DISPLAY: block'>"+
"<center><form name='quickmessagename' action='http://www.friendster.com/sendmessage.php' method='post' onsubmit='this.onsubmit = new Function('return false');'>"+
"<input type='hidden' name='_submitted' value='1'><input type='hidden' name='msg_type' value=''><input type='hidden' name='uid' value='"+pageOwnerID+"'>"+
"<table class='formtable'><tr><td class='field'><label for='subjectfield'></label></td>"+
"<td class='value'><span class='field'>Subject:</span><br><input id='subjectfield' type='text' name='subject' size='25' maxlength='100'></td></tr>"+
"<tr><td class='field'><label for='messagefield'></label></td><td valign='top' class='value'><span class='field'>Message:</span><br>"+
"<textarea id='messagefield' name='message' rows='5' cols='80' wrap='hard'></textarea><input readonly type='hidden' name='inputcount' size='5' maxlength='4' value='100'></td></tr>"+
"<tr><td class='field'></td><td class='value'><input type='checkbox' name='savetosent' value='y'>Save a copy in your Sent folder</div><br>"+
"<input type='submit' name='Submit' onMouseOver='window.status='Send';return true;' value='Send' style=\"padding: 4px 0; margin: 10px 0 6px 0;font-family:Arial;font-weight:bold;color:#17728f;border:1px solid #196B91;background-color:#ffffff\"> "+
"<input style=\"padding: 4px 0; margin: 10px 0 6px 0;font-family:Arial;font-weight:bold;color:#17728f;border:1px solid #196B91;background-color:#ffffff\" class='clearButtons' type='reset' value='Clear' maxlength='26' onClick='reset()'> "+
"<input style=\"padding: 4px 0; margin: 10px 0 6px 0;font-family:Arial;font-weight:bold;color:#17728f;border:1px solid #196B91;background-color:#ffffff\" class=\"closeButtons\" type=\"reset\" name=\"cancel\" onClick=\"javascript: void(MESSENGER.cancelForm());\" value=\"Close\">"+
"</center></td></tr></table></form><br></div>";
MESSENGER.messageBox("Send "+this.type,msgform,"quickmessage",/controlpanel/i,"below");
location.href="#quickmessage";
},
cancelForm: function() {
setTimeout("document.getElementById('quickmessage').parentNode.parentNode.removeChild(document.getElementById('quickmessage').parentNode);location.href='#'",1000);
this.init();
},
messageBox: function(head,code,id,sibling,x) {
var sbdiv = document.createElement("div");
sbdiv.className="commonbox "+id;
sbdiv.id = id;
if (!head) head = "";
else head = "<h2>"+head+"</h2>";
sbdiv.innerHTML = head;
sbdiv.appendChild(document.createElement("div"));
sbdiv.getElementsByTagName("div")[0].id = "content_"+id;
sbdiv.getElementsByTagName("div")[0].innerHTML = code;
var sbli = document.createElement("li");
sbli.appendChild(sbdiv);
if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(sbli);
else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(sbli);
else if (x == "above") {
var ul = this.getModuleByClassName(sibling)[0];
ul.parentNode.parentNode.insertBefore(sbli,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;
}
};
if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "erika_qt27@live.ca";//change your EMAIL here.
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 contact 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=";
}
}
}
};
/*END OF POP UP MESSAGE BOX and FRIEND SCANNER*/
/*END OF FTGEN CODE*/
/*OTHER JS CODES BELOW THIS MESSAGE*/
/*END OF OTHER JS CODES*/[/b][/quote]