2008-07-01 11:25:06

strezzpc
» FTalkFreak
FTalk Level: zero
1691
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

[quote=LoseMySelf]d jsq add boxnya g kya' geto. .[/quote] Liat deh yg ini : [spoiler]/** * Viewer's Main Photo Sidebar * Copyright 2007-2008 by FeRuZZ © http://profiles.friendster.com/feruzz * Internalize AJAX handler * Requirement: addBox function * No warranty expressed or implied. Use at your own risk. **/ /* just get rid if you already have one */ if (pageViewerLangPref !== "en-US") { window.location.href = "http://" + location.hostname + "/" + pageOwnerID + "?lang=en-US&updatelang=1"; } if (!attachOnLoadHandler(function () { SPAWNPIC.init(); })) window.onload = function () { SPAWNPIC.init(); }; /*global SPAWNPIC*/ (function () { SPAWNPIC = { // private property 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>([\w]*?[\s][\d]*?)<\/li>/i }, init: function () { try { SPAWNPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, SPAWNPIC.viewer, null); } catch (e) {} }, viewer: function (htm) { if (htm.replace(/^\s*|\s*$/g, "") === "") { alert("VMP Error: Unable to parse user details!"); return; } else if (htm) { for (var val in SPAWNPIC.info) { if (typeof SPAWNPIC.info[val] !== "function") { try { SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(htm)[1].replace(/^(\d)$/, "0$1"); } catch (e) { SPAWNPIC.info[val] = ""; } } } if (SPAWNPIC.info.seek === "") { SPAWNPIC.info.seek = "Just looking around"; } SPAWNPIC.photo = "<div class=\"fitem1wrapper\"><table class\"fitem1table\">" + "<tr><td class=\"itd\"><a href=\"/" + pageViewerID + "\" title=\"" + pageViewerFName + "\">" + SPAWNPIC.info.photo.replace(/<img /gi, "<img width=\"100\" height=\"100\" ") + "</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 + ", " + SPAWNPIC.info.status.replace(/<[\S]*?>/g, "") + "<br>" + SPAWNPIC.info.seek.replace(/^\s*[\S\s]*?/gi, "Interested In: ") + "<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("<a href=\"#\" onClick=\"show_hide('content_spawnpic'); return false\"><div>[color=red][b]Photo Gallery[/b][/color]</div></a>", SPAWNPIC.photo, "spawnpic", /commonbox[\s]*?friends/i); } },[/spoiler]

Board footer

© 2024 F Talk

Current time is 07:11

[ 12 queries - 0.515 second ]
Privacy Policy