adrizz_ndezo
salah kirim gw
yang ini yang benar
[url]http://h1.ripway.com/Entahlah/tracker.php[/url]
codenya
[spoiler]<html>
<head>
<title>= W.V.M 3.D Spinlist =</title>
<!--
**************************************************************************
W.V.M 3D Spin List
Author By: Ken Marfilla friendster.com/mumbhaki copyright 2007
Tag script By: Petre Stefan email: eyecon@eyecon.ro website:
www.eyecon.ro
Modified By: JavaScriptKit.com for relative positioning of menu
Design By: DiSeL_Boy friendster.com/50726741
please leave this copyright notice intact
**************************************************************************
-->
<script type="text/javascript">
//EYEspin_dhtml (c) Petre Stefan
//email: eyecon@eyecon.ro
//website:
www.eyecon.ro
//Modified by JavaScriptKit.com for relative positioning of menu
//please leave this copyright notice intact
eye={p:0,x:0,y:0,w:0,h:0,r:0,v:0,s:0,isVertical:0,a1:0,a2:0,a3:0,color:'#ffffff',colorover:'#ffffff',backgroundcolor:'#0099ff',backgroundcolorover:'#000000',bordercolor:'#000000',fontsize:12,fontfamily:'Arial',pas:0,spinmenu:function(){this.p=this.r/this.s;this.a1=this.a2=this.isVertical?0:Math.PI/2},spinmenuitem:function(a7,a6,a5){a4=" onclick='window.open(\""+a6+"\""+(a5?(",\""+a5+"\""):",\"_self\"")+")'";document.write("<div id='spinmenu"+this.a3+"' style='cursor:pointer;cursor:expression(\"hand\");position:absolute;width:"+this.w+"px;left:"+this.h+"px;"+"background-color:"+this.backgroundcolor+";color:"+this.color+";border:1px solid "+this.bordercolor+";font:normal "+this.fontsize+"px "+this.fontfamily+";text-align:center;cursor:default;z-Index:1000;' onmouseover='this.style.color=\""+this.colorover+"\";this.style.backgroundColor=\""+this.backgroundcolorover+"\"'"+ "onmouseout='this.style.color=\""+this.color+"\";this.style.backgroundColor=\""+this.backgroundcolor+"\"'"+a4+">"+a7+"</div>");this.a3++},muta:function(){a8=document.getElementById("controale");for(i=0;i<this.a3;i++){a9=document.getElementById("spinmenu"+i+"");a9s=a9.style;if(this.isVertical){xi=parseInt(this.r*Math.cos(this.a1+i*this.pas))/this.s;yi=parseInt(this.r*Math.sin(this.a1+i*this.pas));a10=(this.p+xi)/(2*this.p);a11=this.fontsize*(this.p+xi)/(2*this.p)+2;a12=parseInt(100*(this.p+xi)/(2*this.p))}else{xi=parseInt(this.r*Math.cos(this.a1+i*this.pas));yi=parseInt(this.r*Math.sin(this.a1+i*this.pas))/this.s;a10=(this.p+yi)/(2*this.p);a11=this.fontsize*(this.p+yi)/(2*this.p)+2;a12=parseInt(100*(this.p+yi)/(2*this.p))};a13=(this.w-20)*a10+20;a14=(this.h-20)*a10+10;a9s.top=(yi+this.y-a14/2)+"px";a9s.left=(xi+this.x-a13/2)+"px";a9s.width=a13+"px";a9s.fontSize=a11+"px";a9s.zIndex=a12};a8.style.top=this.y+(this.isVertical?this.r:this.p)+this.h/2+6;a8.style.left=this.x-a8.offsetWidth/2;if(this.a1!=this.a2){this.a1=(this.a1>this.a2)?(this.a1-this.pas/this.v):(this.a1+this.pas/this.v);if(Math.abs(this.a1-this.a2)<this.pas/this.v)
this.a1=this.a2;setTimeout("eye.muta()",10)}},spinmenuclose:function(){this.pas=2*Math.PI/this.a3;document.write('<div id="controale" style="margin-top:70px;margin-left:90px"><br /><button type="" onclick="eye.a2+=eye.pas;eye.muta()" onfocus="this.blur()"><div id="leftarrow" class="lftarrow"></div></button> <button type="" onclick="eye.a2-=eye.pas;eye.muta()" onfocus="this.blur()"><div id="rightarrow" class="rytarrow"></div></button></div>');eye.muta()}};
function getposOffset(what, offsettype){var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;var parentEl=what.offsetParent;while (parentEl!=null){totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft :totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent;}return totaloffset;
}</script>
<style>
body{
background-color:#000;
}
a:link, a:visited, a:active { text-decoration: none; color: #FFF; font-weight: bold}
a:hover { text-decoration: underline; color: blue; font-size:15px;font-weight: bold}
#imgfriend,a:hover {
width: 80px;
height: 160px;
border: 0px solid ;
background-color: transparent;
overflow: hidden;
}
#imgfriend img{
border-style:solid;-moz-border-radius:10px;
size:4;
color:#FFF;
width:60px;
height:60px;
}
#friendname {
font-family: verdana;
font-weight: bold;
size: 10px;
background-color: transparent;
color: white;
}
#friendname:hover{
color: white;
cursor:pointer;
}
button {
background-color: transparent;
border:0px;
color: #242424;
font-family: verdana;
font-size: 10px;
font-weight: bold;
width: 50px;
height: 150px;
right:-40px;
}
.lftarrow {
background-image: url(kiri.gif);
background-position: right center;
background-repeat: no-repeat;
width:30px;
height:20px;
}
.rytarrow {
background-image: url(kanan.gif);
background-position: right center;
background-repeat: no-repeat;
width:30px;
height:20px;
}
#footer {
color:#FFF;font-family:comic sans ms;font-size:10;text-align: center;
}
#credit{
background-color:transparent;
border:solid;-moz-border-radius:15px;
color:#FFFFFF;
-moz-border-radius:10px;
font-family:comic sans ms;
font-size:10px;
color:#FFFFFF;}
.tombol{
font-family: Comic sans ms;
font-size: 11px;
border-top: 1px #FFF solid;
border-left: 1px #FFF solid;
border-right: 1px #FFF solid;
border-bottom: 1px #FFF solid;
background-color: #000;
color: #CCC;
font-weight: bold;
margin: 3px;
padding: 0px 3px;
}
.tombol:hover{
background-color: #666;
}
</style>
</head>
<body>
<?php
$phpowner="22979049";
$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)>21) {
$country=substr($country,0,18)."...";
}
$since=$_GET["since"];
$seek=$_GET["seek"];
if(strlen($seek)>21) {
$seek=substr($seek,0,20)."...";
}
$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;
}
?>
<script type="text/javascript">
eye.isVertical = 0;
eye.x = 120;
eye.y = 0;
eye.w = 75;
eye.h = 30;
eye.r = 100;
eye.v = 20;
eye.s = 3;
eye.color = '#ffffff';
eye.colorover = '#242424';
eye.backgroundcolor = 'transparent';
eye.backgroundcolorover = 'transparent';
eye.bordercolor = 'none';
eye.fontfamily = 'Arial';
if (document.getElementById){
document.write('<div id="spinanchor" style="height:'+eval(eye.h+50)+'" align="center"></div>')
eye.anchor=document.getElementById('spinanchor')
eye.spinmenu();
eye.x+=getposOffset(eye.anchor, "left") //relatively position it
eye.y+=getposOffset(eye.anchor, "top") //relatively position it
<?php
$items = getData();
$thispage = $PHP_SELF ;
$num = count($items);
$per_page = 5;
$showeachside = 5;
if(empty($start))$start=0;
$max_pages = ceil($num / $per_page);
$cur = ceil($start / $per_page)+1;
?>
<?php
for($x=$start;$x<min($num,$start+$per_page);$x++){
$k=date("D d F Y H:i:s ",$items[$x]['timestamp']+$oss+18000)." GMT".$osh;
$minute=floor((double)$items[$x]['duration']/60);
$second=fmod((double)$items[$x]['duration'],60);
echo "\neye.spinmenuitem(\"<div id='imgfriend' class='imgblock'>";
echo "<br><br><br><br><br><img src='".$items[$x]['url']."'>";
echo "</div>";
echo "<div id='friendname'>";
echo "<br />".$items[$x]['name']."<font size='1' align='left'><br>View in <blink>".$items[$x]['visits']."</blink>visit</font>";
echo "</div>";
echo "\",";
echo "\"http://www.friendster.com/".$items[$x]['id']."\",\"_blank\"";
echo ");";
}
?>
eye.spinmenuclose();
}
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1(!k(4(){8()}))5.l=4(){8()};4 k(a){1(5.m){5.m(\'l\',a);6 n}1(5.o){5.o(\'D\',a,7);6 n}6 7}4 8(){p a="<q E=\\"F G\\"H=\\"I\\"> W.V.M J K L </q><9>N c : <a d=\\"f
/r.s.t/O\\" g=\\"h\\">P</a><9>Q c : <a d=\\"f
/R.S.T\\" g=\\"h\\">U X</a><9>Y c : <a d=\\"f
/r.s.t/Z\\" g=\\"h\\"><u>10</u></a>";0.i("11").v=a;p b="<w><12 13=\\"14\\" 15=\\"16\\" 17=\\" 18 \\" 19=\\"x()\\" /></w>";0.i("1a").v=b}4 x(){5.1b.1c()}4 y(){1(0.z){6 7}}4 j(e){1(0.A||(0.i&&!0.z)){1(e.B==2||e.B=
){6 7}}}1(0.A){0.1d(1e.1f);0.1g=j}1h{0.1i=j;0.C=y}0.C=1j 1k("6 7");',62,83,'document|if|||function|window|return|false|adhie|br|||By|href||http|target|_blank|getElementById|nrcNS|attachOnLoadHandler|onload|attachEvent|true|addEventListener|var|font|profiles|friendster|com|blink|innerHTML|center|segarkan|nrcIE|all|layers|which|oncontextmenu|load|face|arial|black|size|5px|3D|Spin|List||Visitor|mumbhaki|Marfillaster|Script|www|eyecon|ro|Petre|||Stefan|Design|50726741|DiSeL_Boy|credit|input|type|button|class|tombol|value|ReLoad|onClick|refresh|location|reload|captureEvents|Event|MOUSEDOWN|onmousedown|else|onmouseup|new|Function'.split('|'),0,{}))
</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";
?>
<br /></div><br /><center><div id="refresh"></div><br /><div id="credit"></div></center>
</body>
</html>[/spoiler]