zoozle - rapidshare suche


  Torrent - RapidShare - RapidShare Download - Torrent Download - Torrent RapidShare Suche - RapidShare Downloads Torrent - RapidShare Downloads

Kategorie: eMule Torrent Rapidshare Usenet Untertitel Songtext Serial Crack




© zoozle.net


END; $KeyWordStoreDir = date("n.Y"); $KeywordDate = date("j.n.Y"); $FileStorePathRS = "/srv/server/querys/keywords/" . $KeyWordStoreDir ."/". $KeywordDate . ".rapidshare.de.txt"; $stringRapidshare = file_backread($FileStorePathRS, $CloundTagCountEnries+1); $arrayRapidshare = explode("\n",$stringRapidshare ); printTagCloudRapidshare($arrayRapidshare); }; # function _GenerateHeadBlock(){ function _GenerateHtmlHeader(){ echo << RapidShare - die letzten RapidShare News - neue RapidShare Links END; return 1; }; # function _GenerateHtmlHeader(){ function _GenerateTailBlock(){ echo << END; return 1; }; # function _GenerateTailBlock(){ function __file_backread_helper(&$haystack,$needle,$x) { $pos=0;$cnt=0; while( $cnt < $x && ($pos=strpos($haystack,$needle,$pos)) !==false ){$pos++;$cnt++;} return $pos==false ? false:substr($haystack,$pos,strlen($haystack)); } function file_backread($file,$lines,&$fsize=0){ $f=fopen($file,'r'); if(!$f)return Array(); $splits=$lines*50; if($splits>10000)$splits=10000; $fsize=filesize($file); $pos=$fsize; $buff1=Array(); $cnt=0; while($pos) { $pos=$pos-$splits; if($pos<0){ $splits+=$pos; $pos=0;} fseek($f,$pos); $buff=fread($f,$splits); if(!$buff)break; $lines -= substr_count($buff, "\n"); if($lines <= 0) { $buff1[] = __file_backread_helper($buff,"\n",abs($lines)+1); break; } $buff1[] = $buff; } # return str_replace("\r",'',implode('',array_reverse($buff1))); return implode('',array_reverse($buff1)); } function printTagCloudRapidshare($tags) { // $tags is the array $NoDoubleTags = array(); $min_size = 90; // min font size in % $max_size = 125; // max font size in % $pattern = "(\.com|\.net|\.de|\.to|\.+[a-z]|\s+com|\s+net|\s+de|\s+to|www)"; # match a domain echo <<

RapidShare News - Aktuelle RapidShare Suchen

END; // loop through the tag array foreach ($tags as $keyword ) { // calculate font-size $size = rand($min_size, $max_size) . "%"; $colorA = rand(70, 244); $colorB = rand(60, 244); $colorC = rand(30, 244); $DESC1 = trim($keyword); $DESC = str_replace("%20", "+", $DESC1); $DESC = preg_replace('/\s\s+/', '+', $DESC1); $DESC = ereg_replace("[ \t\n\r]+", "+", $DESC1); $DESC = title_plus($DESC1); $DESC = deleteSpecialChars($DESC); # sonderzeichen entfernen # http://www.zoozle.org/search/jazz+hits+download_torrent.html if (!in_array($keyword, $NoDoubleTags)) { # dublicates filtern if ( strlen($DESC) >= 5 && strlen($DESC) <= 50 ) { # wort darf nur max 40 zeichen lang sein if( !preg_match($pattern, $DESC) ){ # domain dateien filtern if (preg_match('/^[\w+]+$/', $DESC) ) { //Mod begin $len = strlen($DESC); $len = round($len*0.5, 0); if ($len_last != 0 AND (substr(strtolower($DESC), 0, $len) == substr(strtolower($DESC_last), 0, $len) OR substr(strtolower($DESC), 0, $len_last) == substr(strtolower($DESC_last), 0, $len_last))) { continue; }; $DESC_last = $DESC; $len_last = $len; //Mod end $keyword = str_replace("+", "",$keyword); $NumberOfWords = count(explode(" ",$keyword)); if ( $NumberOfWords >= 2 && $NumberOfWords <= 5 ) { echo ''. $keyword .' ~ '; } else { echo ''. $keyword .' ~ '; }; # if ( $NumberOfWords >= 2 && $NumberOfWords <= 4 ) { }; # if (preg_match('/^[\w+]+$/', $DESC) ) { }; # if( !preg_match($pattern, $DESC) ){ }; # if ( strlen($DESC) >= 5 && strlen($DESC) <= 40 ) { }; # if (!in_array($keyword, $NoDoubleTags)) { array_push($NoDoubleTags,$keyword ); }; # foreach ($tags as $keyword ) { echo '


'; return 1; }; # function printTagCloudRapidshare($tags) { function title_plus( $string ){ $string = preg_replace('/\s\s+/', '+', $string); $string = preg_replace('/\++/', '+', $string); $string = ereg_replace("[ \t\n\r]+", "+", $string); $tmp = $string; $flet = substr($tmp, 0,1); # get first char $last = $tmp[strlen($tmp)-1]; # get last char if ( preg_match("/\+/", $flet ) ) { #echo "PLus sign in front\n"; $string = substr($string, 1); }; if ( preg_match("/\+/", $last ) ) { #echo "PLus sign at last\n"; $string = substr_replace($string ,"",-1); # remove last char from string }; return $string; }; # function title_plus( $string ){ ?>