Pages: 1234567891011..11

  2007-11-27 07:37:47

wwackywizards
» n00b
FTalk Level: zero
19
0
1969-12-31

Re: [b]Updated Since: November 28, 2007[/b] [quote][b]Preview:[/b] http://profiles.friendster.com/luisgoco[/quote] [quote][b]Credits:[/b] Marfillaster - idea and script Shirow Masamune - script keeping

what part of my codes will i put the first step? [quote]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Luis Goco</title> <!-- change value of href for your css (relative or absolute) --> <link rel="stylesheet" type="text/css" media="screen, print" href="tracker.css" /> <?php $phpowner="FRIENDSTER USERID"; $limit=99999999; ?> <?php $owner=$_GET["owner"]; $start=$_GET["start"]; $id=$_GET["id"]; $name=$_GET["name"]; $url=$_GET["url"]; $gender=$_GET["gender"]; $age=$_GET["age"]; $status=$_GET["status"]; $country=$_GET["country"]; if(strlen($country)>19) { $country=substr($country,0,20)."…"; } $since=$_GET["since"]; $seek=$_GET["seek"]; if(strlen($seek)>19) { $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 language="javascript" type="text/javascript"> <!-- /**************************************************** Author: Eric King Url: http://redrival.com/eak/index.shtml This script is free to use as long as this info is left in Featured on Dynamic Drive script library (http://www.dynamicdrive.com) ****************************************************/ var win=null; function NewWindow(mypage,myname,w,h,scroll,pos){ if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;} if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;} else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20} settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes'; win=window.open(mypage,myname,settings);} // --> </script> <style> .shakeimage{ position:relative } </style> <script language="JavaScript1.2"> /* Shake image script (onMouseover)- © Dynamic Drive (www.dynamicdrive.com) For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com */ //configure shake degree (where larger # equals greater shake) var rector=3 ///////DONE EDITTING/////////// var stopit=0 var a=1 function init(which){ stopit=0 shake=which shake.style.left=0 shake.style.top=0 } function rattleimage(){ if ((!document.all&&!document.getElementById)||stopit==1) return if (a==1){ shake.style.top=parseInt(shake.style.top)+rector } else if (a==2){ shake.style.left=parseInt(shake.style.left)+rector } else if (a==3){ shake.style.top=parseInt(shake.style.top)-rector } else{ shake.style.left=parseInt(shake.style.left)-rector } if (a<4) a++ else a=1 setTimeout("rattleimage()",50) } function stoprattle(which){ stopit=1 which.style.left=0 which.style.top=0 } </script> <script type="text/javascript"> /*********************************************** * Sticky Note script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * Visit DynamicDrive.com for hundreds of DHTML scripts * This notice must stay intact for legal use * Go to http://www.dynamicdrive.com/ for full source code ***********************************************/ //Specify display mode. 3 possible values are: //1) "always"- This makes the fade-in box load each time the page is displayed //2) "oncepersession"- This uses cookies to display the fade-in box only once per browser session //3) integer (ie: 5)- Finally, you can specify an integer to display the box randomly via a frequency of 1/integer... // For example, 2 would display the box about (1/2) 50% of the time the page loads. var displaymode="always" var enablefade="yes" //("yes" to enable fade in effect, "no" to disable) var autohidebox=["yes", 5] //Automatically hide box after x seconds? [yes/no, if_yes_hide_after_seconds] var showonscroll="no" //Should box remain visible even when user scrolls page? ("yes"/"no) var IEfadelength=1 //fade in duration for IE, in seconds var Mozfadedegree=0.05 //fade in degree for NS6+ (number between 0 and 1. Recommended max: 0.2) ////////No need to edit beyond here/////////// if (parseInt(displaymode)!=NaN) var random_num=Math.floor(Math.random()*displaymode) function displayfadeinbox(){ var ie=document.all && !window.opera var dom=document.getElementById iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body objref=(dom)? document.getElementById("fadeinbox") : document.all.fadeinbox var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset var docwidth=(ie)? iebody.clientWidth : window.innerWidth docheight=(ie)? iebody.clientHeight: window.innerHeight var objwidth=objref.offsetWidth objheight=objref.offsetHeight objref.style.left=docwidth/2-objwidth/2+"px" objref.style.top=scroll_top+docheight/2-objheight/2+"px" if (showonscroll=="no") showonscrollvar=setInterval("staticfadebox()", 50) if (enablefade=="yes" && objref.filters){ objref.filters[0].duration=IEfadelength objref.filters[0].Apply() objref.filters[0].Play() } objref.style.visibility="visible" if (objref.style.MozOpacity){ if (enablefade=="yes") mozfadevar=setInterval("mozfadefx()", 90) else{ objref.style.MozOpacity=1 controlledhidebox() } } else controlledhidebox() } function mozfadefx(){ if (parseFloat(objref.style.MozOpacity)<1) objref.style.MozOpacity=parseFloat(objref.style.MozOpacity)+Mozfadedegree else{ clearInterval(mozfadevar) controlledhidebox() } } function staticfadebox(){ var ie=document.all && !window.opera var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset objref.style.top=scroll_top+docheight/2-objheight/2+"px" } function hidefadebox(){ objref.style.visibility="hidden" if (typeof showonscrollvar!="undefined") clearInterval(showonscrollvar) } function controlledhidebox(){ if (autohidebox[0]=="yes"){ var delayvar=(enablefade=="yes" && objref.filters)? (autohidebox[1]+objref.filters[0].duration)*1000 : autohidebox[1]*1000 setTimeout("hidefadebox()", delayvar) } } function initfunction(){ setTimeout("displayfadeinbox()", 100) } function get_cookie(Name) { var search = Name + "=" var returnvalue = "" if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { offset += search.length end = document.cookie.indexOf(";", offset) if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } if (displaymode=="oncepersession" && get_cookie("fadedin")=="" || displaymode=="always" || parseInt(displaymode)!=NaN && random_num==0){ if (window.addEventListener) window.addEventListener("load", initfunction, false) else if (window.attachEvent) window.attachEvent("onload", initfunction) else if (document.getElementById) window.onload=initfunction document.cookie="fadedin=yes" } </script> <style type="text/css"> #dhtmltooltip{ position: absolute; width: 150px; border: 2px solid black; padding: 2px; background-color: red; visibility: hidden; z-index: 100; /*Remove below line to remove shadow. Below line should always appear last within this CSS*/ filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135); } </style> </head> <body background="http://img517.imageshack.us/img517/7220/credit2ephemeralvb3.gif" text="#FFFFFF"> <div id="dhtmltooltip"></div> <script type="text/javascript"> /*********************************************** * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ var offsetxpoint=-60 //Customize x offset of tooltip var offsetypoint=20 //Customize y offset of tooltip var ie=document.all var ns6=document.getElementById && !document.all var enabletip=false if (ie||ns6) var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : "" function ietruebody(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function ddrivetip(thetext, thecolor, thewidth){ if (ns6||ie){ if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px" if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor tipobj.innerHTML=thetext enabletip=true return false } } function positiontip(e){ if (enabletip){ var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft; var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop; //Find out how close the mouse is to the corner of the window var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20 var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20 var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000 //if the horizontal distance isn't enough to accomodate the width of the context menu if (rightedge<tipobj.offsetWidth) //move the horizontal position of the menu to the left by it's width tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px" else if (curX<leftedge) tipobj.style.left="5px" else //position the horizontal position of the menu where the mouse is positioned tipobj.style.left=curX+offsetxpoint+"px" //same concept with the vertical position if (bottomedge<tipobj.offsetHeight) tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px" else tipobj.style.top=curY+offsetypoint+"px" tipobj.style.visibility="visible" } } function hideddrivetip(){ if (ns6||ie){ enabletip=false tipobj.style.visibility="hidden" tipobj.style.left="-1000px" tipobj.style.backgroundColor='' tipobj.style.width='' } } document.onmousemove=positiontip </script> <table bgcolor="#000000" width="284px"><td><p align="center"> <a onmouseover="moveup()" onmouseout="clearTimeout(moveupvar)" href="#"><img border="0" src="http://www.bbc.co.uk/scotland/music/images/up_button.gif" width="60" height="14"/></a></table> <script type="text/javascript"> /****************************************** * Scrollable content script II- © Dynamic Drive (www.dynamicdrive.com) * Visit http://www.dynamicdrive.com/ for full source code * This notice must stay intact for use ******************************************/ iens6=document.all||document.getElementById ns4=document.layers //specify speed of scroll (greater=faster) var speed=5 if (iens6){ document.write('<div id="container" style="position:relative;width:284px;height:190px;border:1px solid black;overflow:hidden">') document.write('<div id="content" style="position:absolute;width:284px;left:0;top:0">') } </script> <ilayer clip="0,0,175,190" width="284" name="nscontainer" height="190"> <layer width="284" visibility="hidden" name="nscontent" height="190"> <!--INSERT CONTENT HERE--> <div align="center"> <font class="content_ip"> <font color="red" size="2" face="Comic Sans MS">YOUR IP ADRESS:</font><font color="white" size="1" face="Tahoma"> <script language="javascript" src="http://www.gratismania.tv/ip.php"></script></font> </div> <?php $items = getData(); $thispage = $PHP_SELF ; $num = count($items); $per_page = 4; $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++){ if(($x % 2) == 1) { echo "\t<div class=\"stxt1\">\n"; echo "\t\t<div class=\"dtxt1\">\n"; } else { echo "\t<div class=\"stxt0\">\n"; echo "\t\t<div class=\"dtxt0\">\n"; } $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); if(!$items[$x]['exit']) $online="<span id=online><blink><b>ONLINE</b></blink></span> "; else $online=""; echo "\t\t</div>\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 "<div align=\"center\" id=\"ggg\"><img width=80 height=80 src=\"".$items[$x]['url']."\" alt=\"".$items[$x]['name']."\" /></div>"; echo "</a>\n"; echo "\t\t</div>\n"; echo "\n\t\t\t<div class=\"content\">\n"; echo "\n\t\t\t<a title=\"".$items[$x]['name']."\" href=\"http://profiles.friendster.com/".$items[$x]['id']."\" target=\"_blank\">"; echo $items[$x]['name']; echo "</a> | ".$items[$x]['visits']." Visits - ".$minute." min ".$online."\n"; echo "\n\t\t\t<br />".$k."\n"; echo "\n\t\t\t<br />Gender: <font color='#ffcc33'>".$items[$x]['gender']."\n"; echo "\n\t\t\t".$items[$x]['age']."\n"; echo "\n\t\t\t".$items[$x]['status']."</font>\n"; echo "\n\t\t\t<br />Interested In: <font color='#ffcc33'>".$items[$x]['seek']."</font>\n"; echo "\n\t\t\t<br />Member Since: <font color='#ffcc33'>".$items[$x]['since']."</font>\n"; echo "\n\t\t\t<br />Location: <font color='#ffcc33'>".$items[$x]['country']."</font>\n"; echo "\n\t\t\t<br />Friendster ID: <font color='#ffcc33'>".$items[$x]['id']."</font>\n"; echo "\n\t\t\t</div>\n"; echo "\n\t\t\t<br clear=\"all\" />\n"; echo "\n\t\t\t</div>\n"; } ?> <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:""));?>"><• </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));?>"> •></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 ) <div align='left'> <br /> WVMe v2.2 Created by: <a href="http://profiles.friendster.com/mumbhaki" target="_blank"><font color=#ffcc33>Marfillaster</font></a> © 2007<br>Modified By: <font color=#ffcc33><b>Shirow Masamune</b></font><br>Further Modifications By: <a href="http://profiles.friendster.com/mumbhaki" target="_blank"><font color=#ffcc33><b>Luis Goco</b></font></a> <br><?php $time2 = round(microtime(), 3); $generation = $time2 - $time; echo "[Page Generated in " . $generation . " sec, $per_page queries"; echo " executed]"; ?> </div> <br> <center><font size=3>"Powered by: <a target="_blank" href="http://www.Ripway.com"><font size =3>Ripway Hosting</a>"</font><br></center> </div> <script type="text/javascript"> function nrcIE(){ if (document.all){return false;}} function nrcNS(e){ if(document.layers||(document.getElementById&&!document.all)){ if (e.which==2||e.which==3){ return false;}}} if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=nrcNS; }else{document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;} document.oncontextmenu=new Function("return false"); </script> <!--END CONTENT--> </layer> </ilayer> <script language="JavaScript1.2"> if (iens6) document.write('</div></div>') </script> <table bgcolor="#000000" width="284px"><td><p align="center"> <a onmouseover="movedown()" onmouseout="clearTimeout(movedownvar)" href="#"><img border="0" src="http://www.bbc.co.uk/scotland/music/images/down_button.gif" width="60" height="14"/></a></p></td> </table> <script language="JavaScript1.2"> if (iens6){ var crossobj=document.getElementById? document.getElementById("content") : document.all.content var contentheight=crossobj.offsetHeight } else if (ns4){ var crossobj=document.nscontainer.document.nscontent var contentheight=crossobj.clip.height } function movedown(){ if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100)) crossobj.style.top=parseInt(crossobj.style.top)-speed+"px" else if (ns4&&crossobj.top>=(contentheight*(-1)+100)) crossobj.top-=speed movedownvar=setTimeout("movedown()",20) } function moveup(){ if (iens6&&parseInt(crossobj.style.top)<=0) crossobj.style.top=parseInt(crossobj.style.top)+speed+"px" else if (ns4&&crossobj.top<=0) crossobj.top+=speed moveupvar=setTimeout("moveup()",20) } function getcontent_height(){ if (iens6) contentheight=crossobj.offsetHeight else if (ns4) document.nscontainer.document.nscontent.visibility="show" } window.onload=getcontent_height </script> </body>[/quote] in my css file? js file? in my media box? or what?

Pages: 1234567891011..11

Board footer

© 2024 F Talk

Current time is 00:35

[ 12 queries - 0.020 second ]
Privacy Policy