.. mpe pgi kah?
[/spoiler]
[b]bang noph[/b]
sudah saya ganti bang
bisa tolong abang lyad fs saya
[/quote]
bro .. keknya phpnya jg masi yang versi lama yah ....
jadi klo ada visitor yang data "Interested In" nya kosong (kayak gue) .. dia gak ngerecord ...
bentar .. gue coba pake ID satu lagi deh ..
edited ..
tuh kan ... klo pake id satu lagi yang punya data lengkap langsung kerecord ...
Last edited by nopathz (2008-11-03 08:09:34)
owh ya btw buka fs saya lama ga bang??
Last edited by - AdiYaT - (2008-11-03 08:09:32)
owh ya btw buka fs saya lama ga bang??[/quote]
coba copas tracker.php nya .. biar gue modif ...
[b]bang nophz[/b]
ini bang trcaker.phpnya
[spoiler]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>WVM Visitors</title>
<script type="text/javascript" src="contentslider.js"></script>
<SCRIPT>
<!--
function doBlink() {
var blink = document.all.tags("BLINK")
for (var i=0; i<blink.length; i++)
blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : ""
}
function startBlink() {
if (document.all)
setInterval("doBlink()",1000)
}
window.onload = startBlink;
// -->
</SCRIPT>
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade ([email protected])
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which=
) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
<!-- change value of href for your css (relative or absolute) -->
<link rel="stylesheet" type="text/css" media="screen, print" href="tracker.css" />
<!--
/*#######################################################################################
Friendster Tracker version 2.3.5 Slider Feature
Created by: Marfillaster,
Version by: ChibibO http://chibibo.elementfx.com
Credits to: Shirow Masamune and Shakiro at friendstertalk.com, dynamicdrive.com
License: GNU General Public License, version 2
See http://www.gnu.org/licenses/gpl.html for the full license.
Privacy Policy: Same as friendster.com
Disclaimer: this program is for educational purposes only
the author and editor will not be responsible for any damage that this program will cause
The program and the site is not affiliated with Friendster.com
########################################################################################*/
-->
<?php
$phpowner="20488250";
$limit=1000;
?>
<?php
$owner=$_GET["owner"];
$start=$_GET["start"];
$id=$_GET["id"];
$name=$_GET["name"];
if(strlen($name)>15) {
$name=substr($name,0,15)."�";
}
$url=$_GET["url"];
$gender=$_GET["gender"];
$age=$_GET["age"];
$status=$_GET["status"];
if(strlen($status)>46) {
$status=substr($name,0,0)."Its Complicated";
}
$country=$_GET["country"];
if(strlen($country)>19) {
$country=substr($country,0,18)."�";
}
$since=$_GET["since"];
$seek=$_GET["seek"];
if(strlen($seek)>15) {
$seek=substr($seek,0,14)."�";
}
$exit=$_GET["exit"];
$mydata =getData();
$osh=$_GET["osh"];
$oss=$_GET["oss"];
if(!$exit){
if(!empty($id) && $owner==$phpowner && !empty($gender) && !empty($age) && !empty($status) && !empty($country) && !empty($since) && !empty($seek)) {
$myitem=checkExist($mydata,$id,$exit);
if($myitem['item'])
appendData($myitem['array'],$id,$name,$url,time(),$age,$gender,$status,$country,$since,$seek,0,$myitem['item']['duration'],$myitem['item']['visits'],$limit);
else appendData($myitem,$id,$name,$url,time(),$age,$gender,$status,$country,$since,$seek,0,0,0,$limit);
}
}
else {
if (!empty($id) && $owner==$phpowner && !empty($gender) && !empty($age) && !empty($status) && !empty($country) && !empty($since) && !empty($seek)) {
$myitem=checkExist($mydata,$id,$exit);
if($myitem['item']) {
$s=time()- $myitem['item']['timestamp'];
if ($s<0) $s=0;
appendData($myitem['array'],$id,$name,$url,time(),$age,$gender,$status,$country,$since,$seek,1,
$myitem['item']['duration']+$s,(int)($myitem['item']['visits'])+1,$limit);
}
}
}
function checkExist($da,$valme,$e) {
if(empty($da)){
return $da;
}
for($y=0;$y<count($da);$y++){
if($y>2) {
if(!$da[$y]['exit']) {
$da[$y]['exit']=1;
}
if($da[$y]['duration']<1) {
unset($da[$y]);
}
}
if($da[$y]['id']==$valme) {
$t=$da[$y];
unset($da[$y]);
$da = array_values($da);
return array(
"array" => $da,
"item" => $t
);
}
}
return $da;
}
function appendData($da,$a_id,$a_name,$a_url,$a_timestamp,$a_age,$a_gender,$a_status,$a_country,$a_since,$a_seek,$a_exit,$a_duration,$a_visits,$a_limit) {
if(!is_array($da)){
$da=array(
array(
"id" => $a_id,
"name" => $a_name,
"url" => $a_url,
"timestamp" => $a_timestamp,
"age" => $a_age,
"gender" => $a_gender,
"status" => $a_status,
"country" => $a_country,
"since" => $a_since,
"seek" => $a_seek,
"exit" => $a_exit,
"duration" => $a_duration,
"visits" => $a_visits
)
);
}
else {
array_unshift($da,
array(
"id" => $a_id,
"name" => $a_name,
"url" => $a_url,
"timestamp" => $a_timestamp,
"age" => $a_age,
"gender" => $a_gender,
"status" => $a_status,
"country" => $a_country,
"since" => $a_since,
"seek" => $a_seek,
"exit" => $a_exit,
"duration" => $a_duration,
"visits" => $a_visits
)
);
if(count($da)>$a_limit) array_pop($da);
}
saveData($da);
return;
}
function saveData($d) {
if (file_exists("mv.txt")) unlink("mv.txt");
$file = fopen("mv.txt", "w") or exit("Unable to open file!");
fclose($file);
$temp="";
for($x=0;$x<count($d);$x++) {
$temp=$temp.$d[$x]['id']."&".$d[$x]['name']."&".$d[$x]['url']."&".$d[$x]['timestamp']."&".$d[$x]['age']."&".$d[$x]['gender']."&".$d[$x]['status']."&".$d[$x][
'country']."&".$d[$x]['since']."&".$d[$x]['seek']."&".$d[$x]['exit']."&".$d[$x]['duration']."&".$d[$x]['visits']."\r";
}
$file = fopen("mv.txt", "a+") or exit("Unable to open file!");
fwrite($file,$temp);
fclose($file);
return;
}
function getData() {
$a="";
$temp="";
$file = fopen("mv.txt", "r") or exit("Unable to open file!");
while(!feof($file))
{
$temp=$temp.fgets($file);
}
fclose($file);
$j=explode("\r",$temp);
foreach ($j as $val) {
$c=explode("&",$val);
if(count($c)>3) {
if ($a==""){
$a=array(
array(
"id" => $c[0],
"name" => $c[1],
"url" => $c[2],
"timestamp" => $c[3],
"age" => $c[4],
"gender" => $c[5],
"status" => $c[6],
"country" => $c[7],
"since" => $c[8],
"seek" => $c[9],
"exit" => $c[10],
"duration" => $c[11],
"visits" => $c[12]
)
);
}
else {
array_push($a,
array(
"id" => $c[0],
"name" => $c[1],
"url" => $c[2],
"timestamp" => $c[3],
"age" => $c[4],
"gender" => $c[5],
"status" => $c[6],
"country" => $c[7],
"since" => $c[8],
"seek" => $c[9],
"exit" => $c[10],
"duration" => $c[11],
"visits" => $c[12]
)
);
}
}
}
return $a;
}
?>
</head>
<body>
<?php
$items = getData();
$thispage = $PHP_SELF ;
$num = count($items);
$per_page = 10;
$showeachside = 5;
if(empty($start))$start=0;
$max_pages = ceil($num / $per_page);
$cur = ceil($start / $per_page)+1;
?>
<div id="slider1" class="contentslide"><div class="opacitylayer">
<?php
for($x=$start;$x<min($num,$start+$per_page);$x++){
if(($x % 2) == 1) {
echo "\t<div class=\"contentdiv\"><div class=\"stxt1\">\n";
echo "\t\t<div class=\"dtxt1\">\n";
}
else {
echo "\t<div class=\"contentdiv\"><div class=\"stxt0\">\n";
echo "\t\t<div class=\"dtxt0\">\n";
}
$k=date("l M d, Y h:i A",$items[$x]['timestamp']+$oss+18000)." GMT".$osh;
$minute=floor((double)$items[$x]['duration']/60);
$second=fmod((double)$items[$x]['duration'],60);
if(!$items[$x]['exit']) $online="<span id=online><img src='http://img179.imageshack.us/img179/2899/onlinenoweg9.gif' class='onlinenow'></span> ";
else $online="<span id=\"offline\"><img src='http://i104.photobucket.com/albums/m168/chibib0/wvm/offline.gif' class='onlinenow'></span>";
echo "\t\t</div>\n";
echo "\n\t\t\t<center>".$k."</center><br />\n";
echo "\t\t<div class=\"imgblock\">\n";
echo "\t\t\t\t\t<a title=\"".$items[$x]['name']."\" href=\"http://profiles.friendster.com/".$items[$x]['id']."\" target=\"_blank\">";
echo "<center><img src=\"".$items[$x]['url']."\" alt=\"".$items[$x]['name']."\" /></center>";
echo "</a>\n";
echo "\t\t</div>\n";
echo "\n\t\t\t<div class=\"content\">\n";
echo "\n\t\t\tName: <span id=\"namef\"><a title=\"".$items[$x]['name']."\" href=\"http://profiles.friendster.com/".$items[$x]['id']."\"
target=\"_blank\"> ".$items[$x]['name']."</a></span>\n";
echo "\n\t\t\t<br />".$items[$x]['gender']." ,\n";
echo "\n\t\t\t".$items[$x]['age'].", \n";
echo "\n\t\t\t".$items[$x]['status']."\n";
echo "\n\t\t\t<br />Interested In: ".$items[$x]['seek']."\n";
echo "\n\t\t\t<br />Member Since: ".$items[$x]['since']."\n";
echo "\n\t\t\t<br />Location: ".$items[$x]['country']."\n";
echo "\n\t\t\t<br />Total Visits: ".$items[$x]['visits']." visit(s) in ".$minute." min\n";
echo "\t\t\t\t\t<br />".$online." | <span id=\"misc\"><a href=\"http://www.friendster.com/sendmessage.php?uid=".$items[$x]['id']."\" target=\"_blank\" title=\"Send A Message\"><img style=\"border:0;width:17px;height:12px\" src=\"http://images.friendster.com/images/samsg_icon.gif\"></img>";
echo "</a>";
echo "<a ";
echo "href=\"http://www.friendster.com/sendmessage.php?uid=".$items[$x]['id']."&action=sendsmile\" ";
echo "target=\"_blank\" title=\"Send A Smile\"><img style=\"border:0;width:17px;height:13px\" ";
echo "src=\"http://images.friendster.com/images/sas_icon.gif\"></img>";
echo "</a>";
echo "<a ";
echo "href=\"http://www.friendster.com/comments.php?uid=".$items[$x]['id']."\" ";
echo "target=\"_blank\" title=\"Give A Comment\"><img style=\"border:0;width:17px;height:13px\" ";
echo "src=\"http://i104.photobucket.com/albums/m168/chibib0/wvm/comments.png\"></img>";
echo "</a>";
echo "<a ";
echo "href=\"http://www.friendster.com/bookmarks.php?action=add&uid=".$items[$x]['id']."\" ";
echo "target=\"_blank\" title=\"Bookmark It?\"><img style=\"border:0;width:17px;height:13px\" ";
echo "src=\"http://i104.photobucket.com/albums/m168/chibib0/wvm/bookmark.png\"></img>";
echo "</a></span><br />\n";
echo "\n\t\t\t</div></div>\n";
echo "\n\t\t\t<br clear=\"all\" />\n";
echo "\n\t\t\t</div>\n";
}
?>
</div></div>
<div class="pagination" id="paginate-slider1"></div>
<script type="text/javascript">
//Edit this if you want to: ContentSlider("slider_ID", [autorotate_miliseconds], [custompaginatelinkstext], [customnextlinktext])
ContentSlider("slider1", 3000, "", "<span style='font-size:0px'>Next</span>")
</script>
<div id="footer" class="stxt<?php print($perpage%2);?>">
<span class="strong">
<?php
if(($start-$per_page) >= 0)
{
$next = $start-$per_page;
?>
<a title="First Page" name="lnk" href="<?php print("$thispage");?>">...</a>
<?php
}
?>
<?php
if(($start-$per_page) >= 0) {
$next = $start-$per_page;
?>
<a title="Previous Page" name="lnk" href="<?php print("$thispage".($next>0?("?start=").$next:""));?>">Previous </a>
<?php
}
?>
<?php
$eitherside = ($showeachside * $per_page);
if($start+1 > $eitherside)print (" .... ");
$pg=1;
for($y=0;$y<$num;$y+=$per_page)
{
$class=($y==$start)?"pageselected":"";
if(($y > ($start - $eitherside)) && ($y < ($start + $eitherside)))
{
?>
<a title="Page <?php print($pg);?>" name="lnk" class="<?php print($class);?>" href="<?php
print("$thispage".($y>0?("?start=").$y:""));?>"><?php print($pg);?></a>
<?php
}
$pg++;
}
if(($start+$eitherside)<$num)print (" .... ");
?>
<?php
if($start+$per_page<$num)
{
?>
<a title="Next Page" name="lnk" href="<?php print("$thispage?start=".max(0,$start+$per_page));?>"> Next</a>
<?php
}
?>
<?php
if($start+$per_page<$num)
{
?>
<a title="Last Page" name="lnk" href="<?php print("$thispage?start=".$per_page*($max_pages-1));?>">...</a>
<?php
}
?>
<br />
</span>
Page <?php print($cur);?> of <?php print($max_pages);?> ( <?php print($num);?> total records )
<br /><?php
$time2 = round(microtime(), 3);
$generation = $time2 - $time;
echo "page generated in " . $generation . " sec, $per_page queries";
echo "<br>";
?>
<div id="copyright">
<center>
WVMe by <a href="http://profiles.friendster.com/mumbhaki" target="_blank">Marfillaster</a><br>Version 2.3.5(Slider Feature) by: <a href="http://profiles.friendster.com/chibib0" target="_blank">ChibibO</a><br><blink><b>Grab your own!</b></blink> @ <a
href="http://chibibo.elementfx.com" target="_blank">Chibibo.ElementFx.com</a><br />
</center>
</div>
</div>
</body>
</html>[/spoiler]
) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
<!-- change value of href for your css (relative or absolute) -->
<link rel="stylesheet" type="text/css" media="screen, print" href="tracker.css" />
<!--
/*#######################################################################################
Friendster Tracker version 2.3.5 Slider Feature
Created by: Marfillaster,
Version by: ChibibO http://chibibo.elementfx.com
Credits to: Shirow Masamune and Shakiro at friendstertalk.com, dynamicdrive.com
License: GNU General Public License, version 2
See http://www.gnu.org/licenses/gpl.html for the full license.
Privacy Policy: Same as friendster.com
Disclaimer: this program is for educational purposes only
the author and editor will not be responsible for any damage that this program will cause
The program and the site is not affiliated with Friendster.com
########################################################################################*/
-->
<?php
$phpowner="20488250";
$limit=1000;
?>
<?php
$owner=$_GET["owner"];
$start=$_GET["start"];
$id=$_GET["id"];
$name=$_GET["name"];
if(strlen($name)>15) {
$name=substr($name,0,15)."�";
}
$url=$_GET["url"];
$gender=$_GET["gender"];
if(empty($gender)) {
$gender="...";
}
$age=$_GET["age"];
if(empty($age)) {
$age="...";
}
$status=$_GET["status"];
if(empty($status)) {
$status="...";
}
if(strlen($status)>46) {
$status=substr($name,0,0)."Its Complicated";
}
$country=$_GET["country"];
if(strlen($country)>19) {
$country=substr($country,0,18)."...";
}
if(empty($country)) {
$country="...";
}
$since=$_GET["since"];
$seek=$_GET["seek"];
if(strlen($seek)>15) {
$seek=substr($seek,0,14)."...";
}
if(empty($seek)) {
$seek="...";
}
$exit=$_GET["exit"];
$mydata =getData();
$osh=$_GET["osh"];
$oss=$_GET["oss"];
if(!$exit){
if(!empty($id) && $owner==$phpowner && !empty($gender) && !empty($age) && !empty($status) && !empty($country) && !empty($since) && !empty($seek)) {
$myitem=checkExist($mydata,$id,$exit);
if($myitem['item'])
appendData($myitem['array'],$id,$name,$url,time(),$age,$gender,$status,$country,$since,$seek,0,$myitem['item']['duration'],$myitem['item']['visits'],$limit);
else appendData($myitem,$id,$name,$url,time(),$age,$gender,$status,$country,$since,$seek,0,0,0,$limit);
}
}
else {
if (!empty($id) && $owner==$phpowner && !empty($gender) && !empty($age) && !empty($status) && !empty($country) && !empty($since) && !empty($seek)) {
$myitem=checkExist($mydata,$id,$exit);
if($myitem['item']) {
$s=time()- $myitem['item']['timestamp'];
if ($s<0) $s=0;
appendData($myitem['array'],$id,$name,$url,time(),$age,$gender,$status,$country,$since,$seek,1,
$myitem['item']['duration']+$s,(int)($myitem['item']['visits'])+1,$limit);
}
}
}
function checkExist($da,$valme,$e) {
if(empty($da)){
return $da;
}
for($y=0;$y<count($da);$y++){
if($y>2) {
if(!$da[$y]['exit']) {
$da[$y]['exit']=1;
}
if($da[$y]['duration']<1) {
unset($da[$y]);
}
}
if($da[$y]['id']==$valme) {
$t=$da[$y];
unset($da[$y]);
$da = array_values($da);
return array(
"array" => $da,
"item" => $t
);
}
}
return $da;
}
function appendData($da,$a_id,$a_name,$a_url,$a_timestamp,$a_age,$a_gender,$a_status,$a_country,$a_since,$a_seek,$a_exit,$a_duration,$a_visits,$a_limit) {
if(!is_array($da)){
$da=array(
array(
"id" => $a_id,
"name" => $a_name,
"url" => $a_url,
"timestamp" => $a_timestamp,
"age" => $a_age,
"gender" => $a_gender,
"status" => $a_status,
"country" => $a_country,
"since" => $a_since,
"seek" => $a_seek,
"exit" => $a_exit,
"duration" => $a_duration,
"visits" => $a_visits
)
);
}
else {
array_unshift($da,
array(
"id" => $a_id,
"name" => $a_name,
"url" => $a_url,
"timestamp" => $a_timestamp,
"age" => $a_age,
"gender" => $a_gender,
"status" => $a_status,
"country" => $a_country,
"since" => $a_since,
"seek" => $a_seek,
"exit" => $a_exit,
"duration" => $a_duration,
"visits" => $a_visits
)
);
if(count($da)>$a_limit) array_pop($da);
}
saveData($da);
return;
}
function saveData($d) {
if (file_exists("mv.txt")) unlink("mv.txt");
$file = fopen("mv.txt", "w") or exit("Unable to open file!");
fclose($file);
$temp="";
for($x=0;$x<count($d);$x++) {
$temp=$temp.$d[$x]['id']."&".$d[$x]['name']."&".$d[$x]['url']."&".$d[$x]['timestamp']."&".$d[$x]['age']."&".$d[$x]['gender']."&".$d[$x]['status']."&".$d[$x][
'country']."&".$d[$x]['since']."&".$d[$x]['seek']."&".$d[$x]['exit']."&".$d[$x]['duration']."&".$d[$x]['visits']."\r";
}
$file = fopen("mv.txt", "a+") or exit("Unable to open file!");
fwrite($file,$temp);
fclose($file);
return;
}
function getData() {
$a="";
$temp="";
$file = fopen("mv.txt", "r") or exit("Unable to open file!");
while(!feof($file))
{
$temp=$temp.fgets($file);
}
fclose($file);
$j=explode("\r",$temp);
foreach ($j as $val) {
$c=explode("&",$val);
if(count($c)>3) {
if ($a==""){
$a=array(
array(
"id" => $c[0],
"name" => $c[1],
"url" => $c[2],
"timestamp" => $c[3],
"age" => $c[4],
"gender" => $c[5],
"status" => $c[6],
"country" => $c[7],
"since" => $c[8],
"seek" => $c[9],
"exit" => $c[10],
"duration" => $c[11],
"visits" => $c[12]
)
);
}
else {
array_push($a,
array(
"id" => $c[0],
"name" => $c[1],
"url" => $c[2],
"timestamp" => $c[3],
"age" => $c[4],
"gender" => $c[5],
"status" => $c[6],
"country" => $c[7],
"since" => $c[8],
"seek" => $c[9],
"exit" => $c[10],
"duration" => $c[11],
"visits" => $c[12]
)
);
}
}
}
return $a;
}
?>
</head>
<body>
<?php
$items = getData();
$thispage = $PHP_SELF ;
$num = count($items);
$per_page = 10;
$showeachside = 5;
if(empty($start))$start=0;
$max_pages = ceil($num / $per_page);
$cur = ceil($start / $per_page)+1;
?>
<div id="slider1" class="contentslide"><div class="opacitylayer">
<?php
for($x=$start;$x<min($num,$start+$per_page);$x++){
if(($x % 2) == 1) {
echo "\t<div class=\"contentdiv\"><div class=\"stxt1\">\n";
echo "\t\t<div class=\"dtxt1\">\n";
}
else {
echo "\t<div class=\"contentdiv\"><div class=\"stxt0\">\n";
echo "\t\t<div class=\"dtxt0\">\n";
}
$k=date("l M d, Y h:i A",$items[$x]['timestamp']+$oss+18000)." GMT".$osh;
$minute=floor((double)$items[$x]['duration']/60);
$second=fmod((double)$items[$x]['duration'],60);
if(!$items[$x]['exit']) $online="<span id=online><img src='http://img179.imageshack.us/img179/2899/onlinenoweg9.gif' class='onlinenow'></span> ";
else $online="<span id=\"offline\"><img src='http://i104.photobucket.com/albums/m168/chibib0/wvm/offline.gif' class='onlinenow'></span>";
echo "\t\t</div>\n";
echo "\n\t\t\t<center>".$k."</center><br />\n";
echo "\t\t<div class=\"imgblock\">\n";
echo "\t\t\t\t\t<a title=\"".$items[$x]['name']."\" href=\"http://profiles.friendster.com/".$items[$x]['id']."\" target=\"_blank\">";
echo "<center><img src=\"".$items[$x]['url']."\" alt=\"".$items[$x]['name']."\" /></center>";
echo "</a>\n";
echo "\t\t</div>\n";
echo "\n\t\t\t<div class=\"content\">\n";
echo "\n\t\t\tName: <span id=\"namef\"><a title=\"".$items[$x]['name']."\" href=\"http://profiles.friendster.com/".$items[$x]['id']."\"
target=\"_blank\"> ".$items[$x]['name']."</a></span>\n";
echo "\n\t\t\t<br />".$items[$x]['gender']." ,\n";
echo "\n\t\t\t".$items[$x]['age'].", \n";
echo "\n\t\t\t".$items[$x]['status']."\n";
echo "\n\t\t\t<br />Interested In: ".$items[$x]['seek']."\n";
echo "\n\t\t\t<br />Member Since: ".$items[$x]['since']."\n";
echo "\n\t\t\t<br />Location: ".$items[$x]['country']."\n";
echo "\n\t\t\t<br />Total Visits: ".$items[$x]['visits']." visit(s) in ".$minute." min\n";
echo "\t\t\t\t\t<br />".$online." | <span id=\"misc\"><a href=\"http://www.friendster.com/sendmessage.php?uid=".$items[$x]['id']."\" target=\"_blank\" title=\"Send A Message\"><img style=\"border:0;width:17px;height:12px\" src=\"http://images.friendster.com/images/samsg_icon.gif\"></img>";
echo "</a>";
echo "<a ";
echo "href=\"http://www.friendster.com/sendmessage.php?uid=".$items[$x]['id']."&action=sendsmile\" ";
echo "target=\"_blank\" title=\"Send A Smile\"><img style=\"border:0;width:17px;height:13px\" ";
echo "src=\"http://images.friendster.com/images/sas_icon.gif\"></img>";
echo "</a>";
echo "<a ";
echo "href=\"http://www.friendster.com/comments.php?uid=".$items[$x]['id']."\" ";
echo "target=\"_blank\" title=\"Give A Comment\"><img style=\"border:0;width:17px;height:13px\" ";
echo "src=\"http://i104.photobucket.com/albums/m168/chibib0/wvm/comments.png\"></img>";
echo "</a>";
echo "<a ";
echo "href=\"http://www.friendster.com/bookmarks.php?action=add&uid=".$items[$x]['id']."\" ";
echo "target=\"_blank\" title=\"Bookmark It?\"><img style=\"border:0;width:17px;height:13px\" ";
echo "src=\"http://i104.photobucket.com/albums/m168/chibib0/wvm/bookmark.png\"></img>";
echo "</a></span><br />\n";
echo "\n\t\t\t</div></div>\n";
echo "\n\t\t\t<br clear=\"all\" />\n";
echo "\n\t\t\t</div>\n";
}
?>
</div></div>
<div class="pagination" id="paginate-slider1"></div>
<script type="text/javascript">
//Edit this if you want to: ContentSlider("slider_ID", [autorotate_miliseconds], [custompaginatelinkstext], [customnextlinktext])
ContentSlider("slider1", 3000, "", "<span style='font-size:0px'>Next</span>")
</script>
<div id="footer" class="stxt<?php print($perpage%2);?>">
<span class="strong">
<?php
if(($start-$per_page) >= 0)
{
$next = $start-$per_page;
?>
<a title="First Page" name="lnk" href="<?php print("$thispage");?>">...</a>
<?php
}
?>
<?php
if(($start-$per_page) >= 0) {
$next = $start-$per_page;
?>
<a title="Previous Page" name="lnk" href="<?php print("$thispage".($next>0?("?start=").$next:""));?>">Previous </a>
<?php
}
?>
<?php
$eitherside = ($showeachside * $per_page);
if($start+1 > $eitherside)print (" .... ");
$pg=1;
for($y=0;$y<$num;$y+=$per_page)
{
$class=($y==$start)?"pageselected":"";
if(($y > ($start - $eitherside)) && ($y < ($start + $eitherside)))
{
?>
<a title="Page <?php print($pg);?>" name="lnk" class="<?php print($class);?>" href="<?php
print("$thispage".($y>0?("?start=").$y:""));?>"><?php print($pg);?></a>
<?php
}
$pg++;
}
if(($start+$eitherside)<$num)print (" .... ");
?>
<?php
if($start+$per_page<$num)
{
?>
<a title="Next Page" name="lnk" href="<?php print("$thispage?start=".max(0,$start+$per_page));?>"> Next</a>
<?php
}
?>
<?php
if($start+$per_page<$num)
{
?>
<a title="Last Page" name="lnk" href="<?php print("$thispage?start=".$per_page*($max_pages-1));?>">...</a>
<?php
}
?>
<br />
</span>
Page <?php print($cur);?> of <?php print($max_pages);?> ( <?php print($num);?> total records )
<br /><?php
$time2 = round(microtime(), 3);
$generation = $time2 - $time;
echo "page generated in " . $generation . " sec, $per_page queries";
echo "<br>";
?>
<div id="copyright">
<center>
WVMe by <a href="http://profiles.friendster.com/mumbhaki" target="_blank">Marfillaster</a><br>Version 2.3.5(Slider Feature) by: <a href="http://profiles.friendster.com/chibib0" target="_blank">ChibibO</a><br><blink><b>Grab your own!</b></blink> @ <a
href="http://chibibo.elementfx.com" target="_blank">Chibibo.ElementFx.com</a><br />
</center>
</div>
</div>
</body>
</html>[/spoiler]
coba dulu yah ...
jangan lupa backup dulu ..
- EDITED -
udah saya ganti bang
perubahannya bisa kita lyad dmn bang??
Last edited by - AdiYaT - (2008-11-03 08:26:51)
[i]bro Don[/i]
[spoiler]boleh juga tuh .. tapi bentar lagi gw off dulu ... nanti malem baru dilanjut .. itu juga klo ada yang nemenin ...
[/spoiler]
Last edited by nopathz (2008-11-03 08:32:17)
...thanks bipor!!
&vol=100&pat=2\" width=\"270\" height=\"310\" name=\"myflashfetish\" align=\"middle\"type=\"application/x-shockwave-flash\" /><br /></a></div></div>";
addBox("LEFTT","<a href=\"#\" onClick=\"show_hide('content_music'); return false\"><div>..::Klik Kumpulan Musik::..</div></a>",mp3,"music",null);
show_hide('content_music');
/***************
* RADIO *
***************/
var code="<center><object width=\"275\" height=\"310\">"+
"<param name=\"movie\" value=\"http://kodelagu.net/radio.swf\">"+
"<param name=\"wmode\" value=\"transparent\"><embed src=\"http://kodelagu.net/radio.swf\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"275\" height=\"310\"></object><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_music'); return false\"><div>..::Klik Radio::..</div></a>",mp3,"music",null);
show_hide('content_music');
/***************
* CHATTING *
***************/
var chat = "<br><!-- Begin ShoutMix - http://www.shoutmix.com -->"+"<iframe title=\"edhu\" src=\"http://www2.shoutmix.com/?edhu\" width=\"100%\" height=\"400\" frameborder=\"0\" scrolling=\"auto\">"+"<a href=\"http://www2.shoutmix.com/?edhu\">View shoutbox</a>"+"</iframe>"+"<!-- End ShoutMix --><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_chating'); return false\"><div>..::Klik untuk Chat BOX::..</div></a>",chat,"chating",null);
show_hide('content_chating');
/*****************
*CREDITS *
*****************/
var credits="<center></br>http://www.fileave.com</br>"+
"http://www.slide.com</br>"+
"http://www.stormloader.com</br>"+
"http://www.google.com</br>"+
"http://www.ripway.com</br>"+
"http://www.friendster.com</br>"+
"http://www.musikfs.com</br>"+
"http://www.photobucket.com</br>"+
"http://www.flashfetish.com</br>"+
"http://theftalk.com</br>"+
"http://www.blibs.com</br></br></center>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_box_ke6'); return false\"><div> ..::CrEdiT's::..</div></a>",credits,"box_ke6",null);
show_hide('content_box_ke6');
/*---------------------- THANK'S TO ---------------------*/
var thank="<center></br>TuhaN yAnG MaHa EsA</br>"+
"Bang KanaL</br>"+
"sasuyasori</br>"+
"Bang Nopathz</br>"+
"sahabat_peterpan</br>"+
"parlay</br>"+
"Freeya</br>"+
"Kherminator</br>"+
"Ferruz</br>"+
"And AnaK-anak FTI </br></br></center>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_box_ke7'); return false\"><div> ..::ThAnK's::..</div></a>",thank,"box_ke7",null);
show_hide('content_box_ke7');
/************
VIDEO
************/
var video ="<div align='center'><embed src='http://www.youtube.com/watch?v=mUJxHGV3cl8' type='application/x-shockwave-flash' width='425'height='344'></embed></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_box_ke4'); return false\"><div>"+pageOwnerFName+" VidEo</div></a>",video,"box_ke4",null);
show_hide('content_box_ke4');
/***************
* AQUARIUM *
***************/
var code="<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" type=\"application/x-shockwave-flash\" width=\"400px\" height=\"348px\" id=\"InsertWidget_9f342db6-0c65-4527-8c5b-9946d2c1fd0a\" align=\"middle\"><param name=\"movie\" value=\"http://widgetserver.com/syndication/flash/wrapper/InsertWidget.swf\"/><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"menu\" value=\"false\" /><param name=\"flashvars\" value=\"r=2&appId=9f342db6-0c65-4527-8c5b-9946d2c1fd0a\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /> <embed src=\"http://widgetserver.com/syndication/flash/wrapper/InsertWidget.swf\" name=\"InsertWidget_9f342db6-0c65-4527-8c5b-9946d2c1fd0a\" width=\"400px\" height=\"348px\" quality=\"high\" menu=\"false\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" align=\"middle\" allowScriptAccess=\"sameDomain\" flashvars=\"r=2&appId=9f342db6-0c65-4527-8c5b-9946d2c1fd0a\" /></object>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_DIV299'); return false\"><div title=\"header=[Piaraanya Fisherman] body=[Dilarang ngasi makan sembarangan !!!]\">::..Aquarium::..</div></a>",code,"DIV299",null);
show_hide("content_DIV299");
/***************
* IP ADDRES *
***************/
var pengumuman="<div align='center' id='peringatan'>"+
"<center>uhuy.. <font color=blue>"+pageViewerFName+"</font>...!!! your UID <font color=blue>"+pageViewerID+"</font>....<br>"+Date()+"<br><img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/112.gif' alt='Apply images this way.'><br><img src='http://www.wieistmeineip.de/ip-address/?size=300x100' alt='Apply images this way.'><br><center><font color=blue>"+pageViewerFName+"</font>,,,Enjoy your visit comment please!!<br>Just It <font color=blue>"+pageViewerFName+"</font>...."+"</div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_peringatan'); return false\">..::INFO::..</a>" ,pengumuman,"peringatan","1");
show_hide('content_peringatan');
/***************
* UNTUK WEB *
***************/
var code="<br><iframe src='http://photos-228.friendster.com/e1/photos/82/24/31644228/1_901733240l.jpg' frameborder='no' width='560px' height='450px' overflow='auto'></iframe><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_forum'); return false\">..::Gue Banget::..</a>",code,"forum","6");
show_hide("content_webbox");
/***************
* UNTUK WEB *
***************/
var code="<br><iframe src='http://photos-228.friendster.com/e1/photos/82/24/31644228/1_435683883l.jpg' frameborder='no' width='560px' height='450px' overflow='auto'></iframe><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_forum'); return false\">..::Nemahelmities::..</a>",code,"forum","6");
show_hide("content_Webbox");
/***************
* MIRC *
***************/
var header="<div>irc</div>";
var code="<a href=\"irc://irc.freenode.net/#mootools\"><img src=\"http://mirc.cachefly.net/images/indexlogo.gif\" /></a>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_forum'); return false\">..::MIRC::..</a>",code,"forum","6");
show_hide("content_mirc");
/***************
* TV OnLine *
***************/
var tvdee="<div align='center'>"+
"<iframe src='http://h1.ripway.com/deeucul/tv/' width='508' height='470' scrolling='no' marginwidth='0' marginheight='0' allowTransparency='true' frameborder='0'></iframe>"+
"</div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_tvbox'); return false\"><div title=\"header=[..:: Online TV ::..] body=[Tempatnya Nonton Tv]\">..:: Online TV ::..<div>",tvdee,"tvbox","6");
show_hide("content_tvbox");
/***************
* WAKTU SHOLAT *
***************/
var sholat="<div align=\"center\"><iframe src=\"http://www.islamicfinder.org/prayer_service.php?country=jordan&city=amman&state=11&zipcode=&latitude=31.9500&longitude=35.9333&timezone=2&HanfiShafi=1&pmethod=1&fajrTwilight1=10&fajrTwilight2=10&ishaTwilight=&ishaInterval=30&dhuhrInterval=1&maghribInterval=1&dayLight=1&page_background=000000&table_background=333333&table_lines=FFFFFF&text_color=FFFFFF&link_color=FFFFFF&prayerFajr=Fajr&prayerSunrise=Sunrise&prayerDhuhr=Dhuhr&prayerAsr=Asr&prayerMaghrib=Maghrib&prayerIsha=Isha&lang=&frameWidth=400&tableForm=horizontal\" frameborder=0 width=400 height=120 marginwidth=0 marginheight=0 scrolling=\"no\"> </iframe></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_sholat'); return false\"><div>..::WAKTU SHOLAT::..</div></a>",sholat,"sholat","1");
show_hide('content_sholat');
/***************
* CHAT BOX *
***************/
var xat ="<div align=\"center\"><embed src='http://www.xatech.com/web_gear/chat/chat.swf' quality='high' width='540' height='405' name='chat' FlashVars='id=36295562' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://xat.com/update_flash.shtml\'></embed></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_xatbox'); return false\"><div>..::CHAT BOX::..</div></a>",xat,"xatbox",1);
show_hide('content_xatbox');
/***************
* TEMAN ANDA *
***************/
var temenkamu = "<div align=\"center\"><iframe height='300' frameborder='0' allowtransparency='yes' scrolling='auto' width='100%' src='http://www.friendster.com/friends.php' marginheight='1' marginwidth='3'></iframe>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_temenkamu'); return false\"><div>..::TEMAN ANDA::..</div></a>",temenkamu,"temenkamu",null);
show_hide('content_temenkamu');
/*****************
ULTAH
******************/
addBox("LEFT","Detect my friends birthday","<div align='center'><iframe src='http://www.friendster.com/friends.php?action=bdays&tab=bd' style=\"border:none;width:425px;height:300px;background:#CCC;-moz-border-radius:15px;overflow-x:hidden;overflow-y:auto;\" id=\"bdays\"></iframe><br /><br /><input type=\"button\" class=\"tombol\" value=\":: Refresh ::\" onclick=\"Reload('bdays');\"></div>","bdays",null);
/***************
* ADD BOX *
***************/
addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_tracker'); blur(); return false\">..::Pengunjung Hari ini::..</div></center></a>",TRACKER.div.innerHTML,"tracker",null);
var ephemeral = "<div style='background:url() no-repeat scroll center;'><a href='http://www.friendster.com/info/index.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>About Us</b></font></a> | <a href='http://www.friendster.com/info/contacts.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Contact Us</b></a></font> | <a href='http://www.friendster.com/affiliate.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Promote My Profile</b></font></a> | <a href='http://www.friendster.com/custhelp.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Help</b></font></a> | <a href='http://www.friendster.com/info/tos.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Terms of Service</b></font></a> | <a href='http://www.friendster.com/info/privacy.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Privacy Policy</b></font></a><br><br><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Copyright 2002-2007 Friendster, Inc. All rights reserved. U.S. Patent No. 7,069,308, 7,117,254 & 7,188,153</b></font></div>";
document.getElementById('footer_container').style.height='50';
document.getElementById('footer_container').style.width='800';
document.getElementById('footer_container').style.overflow='auto';
document.getElementById('footer_container').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>";
var code= "<div align='center'><a href='http://www.friendster.com'><br><img src='http://photos-228.friendster.com/e1/photos/82/24/31644228/36927916656132l.jpg'></a></br><br><input type='button' value='Message' onClick=\"top.location.href='http://www.friendster.com/messages.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MESSAGE]\"><input type='button' value='Settings' onClick=\"top.location.href='http://www.friendster.com/editaccount.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SETTINGS]\"><input type='button' value='Help' onClick=\"top.location.href='http://www.friendster.com/custhelp.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HELP]\"><input type='button' value='Log Out' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[LOG OUT]\"></br><input type='button' value='Home' onClick=\"top.location.href='http://www.friendster.com'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HOME]\"><input type='button' value='My Profile' onClick=\"top.location.href='http://profiles.friendster.com/user.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY PROFILE]\"><input type='button' value='My Connections' onClick=\"top.location.href='http://www.friendster.com/friends.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY CONNECTIONS]\"><input type='button' value='Explore' onClick=\"top.location.href='http://friendster.com/explore.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[EXPLORE]\"><input type='button' value='Search' onClick=\"top.location.href='http://www.friendster.com/gallery.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SEARCH]\"><input type='button' value='Jobs' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php?country=PH&target=jobs'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[JOBS]\"><input type='button' value='Invite' onClick=\"top.location.href='http://www.friendster.com/invite.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[INVITE]\"></br></br></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_navi'); return false\"><div title=\"header=[NAVIGATION] body=[Hello "+pageViewerFName+". Click Here 4 Navigation]\">"+pageOwnerFName+"'s Navigation Panel</div></a>",code,"navi","0");
show_hide('content_navi');
}
/*************************
SCANNER OBJECT
*************************/
/*CONFIRMATION*/
if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "[email protected]";
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("Welcome to Nemahelmities friendster....");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode=19e54d1ff4f7cbbcf8819420c2e564&uid=31644228&id=&[email protected]&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />";
}
}
}
};
/****************************
* ADDER *
*****************************/
var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);
function afa() {
var eadd = "[email protected]";
var k = document.getElementById("controlPanelButtons").innerHTML;
var a = k.slice(k.indexOf("authcode="));
var m = a.slice(9,39);
document.getElementById("addme").innerHTML = "<img src=\"http://www.friendster.com/addfriendrequest.php?confirm=1&authcode=19e54d1ff4f7cbbcf8819420c2e564&uid=31644228&id=&[email protected]&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />";
}
if (!attachOnLoadHandler(function() { afa();})) window.onload = function() { afa();};
/**********************
CP DATA
***********************/
if (typeof CFNAMES == "undefined") { CFNAMES = {}; }
CFNAMES = {
getData: new Array(),
elements: {
mainid: document.getElementById("content_0"),
maintag: "UL",
mainclass: "data"
},
init: function() {
this.getData = "<li><span>Real Name : Nemahelmities</span><br></li>"+
"<li><span>Status : Male, 19, sendirian</span><br></li>"+
"<li><span>Zodiac : virgo</span><br></li>"+
"<li><span>Best FRIENDS : "+pageViewerFName+"</span><br></li>"+
"<li><span>Member Since : I Forgot</span><br></li>"+
"<li><span>Country : Indonesia <img src='http://www.fileden.com/files/2007/3/15/887906/favicon.gif'/></span><br></li>"+
"<li><span>Hometown : Medan City</span><br></li>"+
"<li><span>Login : Tak Terduga</span><br></li>"+
"<li><span>College : GembeL Naik JabaTan</span><br></li>"+
"<li><span>Hotlink :</span><a style=\"font-weight: normal;\" href=\"/bajolgoreng\"> http://profiles.friendster.com/nemahelmities</a><br/></li>";
this.getElementsByClassName(this.elements.mainid,this.elements.maintag,this.elements.mainclass)[0].innerHTML = this.getData;
},
getElementsByClassName: function(oElm, strTagName, strClassName) {
var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for(var i=0; i<arrElements.length; i++){
oElement = arrElements[i];
if(oRegExp.test(oElement.className)){
arrReturnElements.push(oElement);
}
}
return (arrReturnElements);
}
};
/****************************
FRIENDS RANDOMIZER
*****************************/
if (typeof Ffetcher == "undefined") { Ffetcher = {}; }
Ffetcher = {
friends: new Array(),
pages: null,
maxfriends: null,
container: null,
cached: new Array(),
display: 10,
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' class='boxcontent'></div>";
addBox("LEFT","Randomized Friends",htm,"frbox","6");
document.getElementById("content_frbox").innerHTML+="<div class='viewall'><a href='javascript: void(Ffetcher.more())'>More Random 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",TRACKER.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="<a href=\"#\" onClick=\"show_hide('content_frbox'); return false\"><div>"+pageOwnerFName+"\'s Randomized Friends</div></a>";
show_hide('content_frbox');
Ffetcher.show();
}
function randOrd(){
return (Math.round(Math.random())-0.5);
}
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
style: {
filter: "chroma(color='#FFFFFF')",
width: '300px',
height: '520px',
border: '0px',
overflow: 'hidden'
},
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://h1.ripway.com/toxytku/tracker/tracker.php",
/*do not edit below this line*/
/*
WVMv2.1
by marfillaster, copyright 2007 friendster.com/mumbhaki
credits: feruzz, renalvir(pimped), nopathz, 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: "wvmtemp",
details: {
photo: null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null
},
regexp: {
photo: /imgblock200"[\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() {
getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" src=\"about:blank\" style=\"display:none\"></iframe>";
var d= new Date();
var sec=invert(d.getTimezoneOffset()*60);
var hr=invert(d.getTimezoneOffset()/60);
this.timedetails="oss="+sec+"&osh="+hr;
var ifsrc=this.phplink+"?"+this.timedetails;
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="<center><iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe></center>";
if(pageViewerID!=pageOwnerID) if(pageViewerID!="")this.getDETAILS();
},
getDETAILS: function() {
processAjaxRequest("GET",this.base_domain+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1",true,null, "parseDETAILS",null);
},
sendExit: function() {
document.getElementById(this.iframeid).src=this.phplink+this.param+"&exit=1";
alert(this.exitmessage);
}
};
function parseDETAILS(htm) {
if(!htm) {
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+"&url="+TRACKER.details.photo.replace(/m.jpg/gi,"t.jpg")+"&gender="+TRACKER.details.gender+"&age="+TRACKER.details.age+"&status="+TRACKER.details.status+"&country="+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();
if(pageViewerID!=pageOwnerID) if(pageViewerID!="") document.write("<body onbeforeunload='TRACKER.sendExit()'>");
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 OBJECT*/
/*MISC FUNCTIONS*/
function urlencode(txt) {
return txt.replace(/ /g,"%20").replace(/'/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E");
}
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 getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp(searchClass);
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
Ffetcher.init();
}
/*END MISC FUNCTIONS*/
Ffetcher.init();
/*MISC FUNCTIONS*/
function urlencode(txt) {
return txt.replace(/ /g,"%20").replace(/'/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E");
}
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 getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp(searchClass);
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
/*END MISC FUNCTIONS*/
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
Default "sibling_ID" Boxes for Reference (10/19/07)
LEFT RIGHT
"0" = controlpanel "15" = meettrail
"1" = photos "2" = friends
"13" = blogs "14" = googleads
"12" = reviews "7" = fan
"6" = moreabout "8" = groups
"18" = publiccomments null = appends to last(without "")
"10" = scrapbook
*/
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 randOrd(){
return (Math.round(Math.random())-0.5);
}
/* FLOATING OBJECT (SHAKIRO214) */
dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='http://gickr.com/results4/anim_f8b2cdf7-4c00-eb94-5da4-9455bbd953ce.gif'><br><div id='mainpic'></div></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=dude;
flow.parentNode.insertBefore(river,flow);
//in this part you can change it into "frombottom" or "fromtop"
var verticalpos="frombottom"
function BoyantDiv()
{
var startX = 15;
var startY = 170;
function ml(id)
{
if (document.getElementById)
{
var wek=document.getElementById(id);
}
else if (document.all)
{
var wek=document.all[id];
}
else
{
var wek=document.layers[id];
}
if(document.layers)
{
wek.style=wek;
}
wek.sP = function(x,y) {shino(x,y);};
function shino(x,y)
{
wek.style.left=x;
wek.style.top=y;
}
wek.x = startX;
if (verticalpos=="fromtop")
{
wek.y = startY;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
wek.y = pageYOffset + innerHeight;
}
else
{
wek.y = document.body.scrollTop + document.body.clientHeight;
}
wek.y -= startY;
}
return wek;
}
window.stayTopLeft = function () {boyant();};
function boyant()
{
if (verticalpos=="fromtop"){
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset;
}
else
{
var tenten = document.body.scrollTop;
}
ftlObj.y += (tenten + startY - ftlObj.y)/8;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset + innerHeight;
}
else
{
var tenten = document.body.scrollTop + document.body.clientHeight;
}
ftlObj.y += (tenten - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
wakoko=setTimeout("stayTopLeft()", 50);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
BoyantDiv();
// CONTROLPANEL
h=document.getElementById("controlpanel_header");
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div >"+pageOwnerFName+"</div></a>";
show_hide('content_0');
// PHOTOS
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div>"+pageOwnerFName+"\'s Photo Gallery</div></a>";
show_hide('content_1');
// MOREABOUT
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>More About "+pageOwnerFName+"</div></a>";
show_hide('content_6');
// PUBLICCOMMENTS
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div>Testimonials and Comments for "+pageOwnerFName+"</div></a>";
show_hide('content_18');
function show_hide(the_box) {
if (document.getElementById(the_box)) {
if (document.getElementById(the_box).style.display == 'none') {
document.getElementById(the_box).style.display = 'block';
}
else {
document.getElementById(the_box).style.display = 'none';
}
}
}
/*global VIEWERPIC*/
VIEWERPIC = {};
(function () {
VIEWERPIC = {
// private property
photo: null,
init: function () {
if (pageViewerID !== "") {
try {
VIEWERPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, VIEWERPIC.viewer, null);
} catch (e) {}
}
},
viewer: function (htm) {
if (htm.replace(/^\s*|\s*$/g, "") === "") {
window.alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");
return;
} else {
htm = htm.slice(htm.indexOf("<div class=\"imgblock200\">") + 0, htm.indexOf("<ul id=\"controlPanelButtons\">") + 0);
htm = htm.slice(htm.indexOf("<img src=\"") + 10, htm.indexOf("\"></a></div>") + 0);
VIEWERPIC.photo = document.createElement("div");
VIEWERPIC.photo.id = "viewerphoto";
VIEWERPIC.photo.align = "center";
VIEWERPIC.photo.appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[0].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[0].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[0].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img"));
VIEWERPIC.photo.getElementsByTagName("img")[0].src = htm;
VIEWERPIC.photo.appendChild(document.createElement("br"));
VIEWERPIC.photo.appendChild(document.createElement("span"));
VIEWERPIC.photo.getElementsByTagName("span")[0].className = "q";
VIEWERPIC.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[1].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[1].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[1].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[1].innerHTML = pageViewerFName;
document.getElementById("viewerpic").parentNode.replaceChild(VIEWERPIC.photo, document.getElementById("viewerpic"));
}
},
ajaxRequest: function (type, url, async, param, func, handlerparam) {
/**
* ajaxRequest - You may not remove or change this notice.
* version: 2.4
* Copyright 2008 by FeRuZZ ?http://profiles.friendster.com/feruzz.
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: string | null
* @func: string | null
* @handlerparam: string | null
**/
var httprequest = null;
var requestDone = false;
var data = null;
var responseType = "text";
var timeout = 0;
var ival = null;
var onreadystatechange = {};
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x += 1) {
try {
httprequest = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest();
break;
} catch (e) {
if (async) {
httprequest = null;
}
}
}
if (typeof func === "function") {
onreadystatechange = function (isTimeout) {
if (!requestDone && httprequest && (httprequest.readyState === 4 || isTimeout === "timeout")) {
requestDone = true;
if (ival) {
window.clearInterval(ival);
ival = null;
}
if (!httprequest.status && location.protocol === "file:" || (httprequest.status >= 200 && httprequest.status < 300) || httprequest.status === 304 || httprequest.status === 1223) {
var resPonse = (/xml/i.test(responseType))? httprequest.responseXML : httprequest.responseText;
func(resPonse.replace(new RegExp("<script[^>]*>.*?<\/script>", "gi"), ""), handlerparam);
}
}
};
}
if (async) {
ival = window.setInterval(onreadystatechange, 13);
if (timeout > 0) {
window.setTimeout(function () {
if (httprequest) {
httprequest.abort();
if (!requestDone) {
onreadystatechange("timeout");
}
}
}, timeout);
}
}
if (type === "GET" && (/GET/i.test(type))) {
var ts = new Date().getTime();
var ret = url.replace(/(\?|&)_=[\S\s]*?(&|$)/, "$1_=" + ts + "$2");
url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + ts : "");
}
if (data && type === "GET" && (/GET/i.test(type))) {
url += (url.match(/\?/) ? "&" : "?") + data;
data = null;
}
if (type === "POST" && (/POST/i.test(type))) {
var headers = "application/x-www-form-urlencoded" + ("UTF-8" ? "; charset=" + "UTF-8" : "");
var contentLength = param ? param.length: 0;
try {
httprequest.setRequestHeader("Content-type", headers);
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) {
httprequest.setRequestHeader("Connection", "close");
}
} catch (err) {}
}
httprequest.open(type, url, async);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
httprequest.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT");
httprequest.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*");
httprequest.send(param);
if (!async) {
onreadystatechange();
}
}
};
})();
// end hide -->
//centered left box
if (!attachOnLoadHandler(function(){leftBoxes()})) window.onload = function(){leftBoxes()};
function leftBoxes() {
fixBox("0",null); //Cpanel
fixBox("1",null); //Photos
fixBox("6",null); //MoreAbout
fixBox("18",null); //Comments
}
function fixBox(boxID,set) {
//by xavierkym
//set "CUSTOM" | null
//if "CUSTOM" set your settings in the function below
/* Available default boxID
RIGHT BOXES
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
*/
var box;
box = parent.document.getElementById(boxID);
if (set == null) {
box.style.position = "relative";
box.style.overflow = "auto";
box.style.overflowX = "hidden";
box.style.overflowY = "hidden";
box.style.left = "160px";
box.style.width = "490px";
}
else if (set == "CUSTOM") {
box.style.position = "relative";
box.style.overflow = "hidden";
box.style.left = "160px";
box.style.width = "490px";
}
}
//centered right box
if (!attachOnLoadHandler(function(){rightBoxes()})) window.onload = function(){rightBoxes()};
function rightBoxes() {
centerBox("2","1","UP",null); //Friends di atas Photo
centerBox("7","18","DOWN",null); //Fanof di bawah Comments
centerBox("8","18","DOWN",null); //Groups di bawah Comments
}
function centerBox(boxID,sibling,insert,set) {
//by xavierkym
//insert "UP" | "DOWN"
//set default is = null
/* Available default boxID
RIGHT BOXES
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
Available default sibling
LEFT BOXES
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
*/
var baseID; var cNode; var module; var box;
baseID = document.getElementById(sibling);
cNode = baseID.parentNode;
module = document.getElementById(boxID);
box = parent.document.getElementById(boxID);
if (set == null) {
box.style.position = "relative";
box.style.overflow = "auto";
box.style.overflowY = "hidden";
box.style.overflowX = "hidden";
box.style.left = "160px";
box.style.width = "490px";
}
if (insert == "UP") {
cNode.parentNode.insertBefore(module,cNode);
}
else if (insert == "DOWN") {
cNode.appendChild(module);
}
}
function show_hide(the_box) {
if (document.getElementById(the_box)) {
if (document.getElementById(the_box).style.display == 'none') {
document.getElementById(the_box).style.display = 'block';
}
else {
document.getElementById(the_box).style.display = 'none';
}
}
}
content_0.getElementsByTagName("td")[0].innerHTML+="<div id='myCPButtons' style='background:none;margin-top:10'>"
+"<input type='button' value='Show Buttons' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>"
+"</div>"
controlPanelButtons.style.display="none"
function showButtons(){
controlPanelButtons.style.display="block"
myCPButtons.innerHTML="<input type='button' value='Hide Buttons' onclick='hideButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>"
}
function hideButtons(){
controlPanelButtons.style.display="none"
myCPButtons.innerHTML="<input type='button' value='Show Buttons' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>"
}[/spoiler]
TOLONG DONK RANDOM FRIEND AQUH KOQ NDAK JALAN YAH


Last edited by nopathz (2008-11-03 08:50:10)
...thanks bipor!![/quote]
yg ini [b].content_6[/b] ganti jdi gni bro [b][color=#ff0000]#[/color]content_6[/b]
[quote=preference]TOLONG DONK RANDOM FRIEND AQUH KOQ NDAK JALAN YAH[/quote]
cba bro truh ini [b]Ffetcher.init();[/b]
tpat d atasnya ini [b]TRACKER.init();[/b]
jdi nanti jdinya bgni kra�
[quote]Ffetcher.init();
TRACKER.init();[/quote]
[i]@ bang nopz[/i]
[spoiler]okeh bang .. saia tunggu
[/spoiler]
Last edited by Co_don SanAdH (2008-11-03 08:56:21)