[quote=- AdiYaT -]ini bang trcaker.phpnya[/quote]
coba ganti ama yg ini :
[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 (renigade@mediaone.net)
//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"];
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 ..