Zoozle partenaire

 

 

END; return 1; $month = date("n"); $YEAR = date("Y"); $DeutschArray = array(); $EnglishArray = array(); $FrenchArray = array(); for ( $i=2006; $i<=$YEAR; $i++ ){ if ( $i != $YEAR ){ for ( $m=1;$m<=12;$m++) { # $Eins = GetMonthYear( $m ); list($mon,) = explode("-", GetMonthYear( $m ) ); $Eins = "$mon-$i"; $Two = TransferGetMonthYear( $Eins, 'en' ); $Three = TransferGetMonthYear( $Eins, 'fr' ); array_push($DeutschArray, "$Eins" ); array_push($EnglishArray, "$Two" ); array_push($FrenchArray, "$Three" ); # echo "($i) - ($m) - $Eins
"; }; # for ( $m=0;$m<=11;$m++) { } elseif ( $i == $YEAR ) { for ( $m=1;$m<=$month;$m++) { # 12 = 1 ----- 11 = 2 du musst doch immer nur (m+1)-n rechnen und positiv oder negativ ignorieren $tmp = (12 + 2)-$m; list($mon,) = explode("-", GetMonthYear( $tmp ) ); $Eins = "$mon-$i"; $Two = TransferGetMonthYear( $Eins, 'en' ); $Three = TransferGetMonthYear( $Eins, 'fr' ); array_push($DeutschArray, "$Eins" ); array_push($EnglishArray, "$Two" ); array_push($FrenchArray, "$Three" ); # echo "($i) - ($m und $tmp) - $Eins
"; }; # for ( $m=0;$m<=11;$m++) { };# if ( $i != $YEAR ){ }; # for ( $i=2006; $i<=$YEAR; $i++ ){ $DeutschTmp = array(); $EnglishTmp = array(); $FranzTmp = array(); $count = 0; foreach ( $DeutschArray as $Deutsch ) { list(,$DeutschYear) = explode("-", $Deutsch); if ( $DeutschYear == $YEAR ) { array_push($DeutschTmp, $DeutschArray[$count] ); unset($DeutschArray[$count]); }; # if ( $DeutschYear == $YEAR ) { $count++; }; # foreach ( $DeutschArray as $Deutsch ) { $count = 0; foreach ( $EnglishArray as $Deutsch ) { list(,$DeutschYear) = explode("-", $Deutsch); if ( $DeutschYear == $YEAR ) { array_push($EnglishTmp, $EnglishArray[$count] ); unset($EnglishArray[$count]); }; # if ( $DeutschYear == $YEAR ) { $count++; }; # foreach ( $EnglishArray as $Deutsch ) { $count = 0; foreach ( $FrenchArray as $Deutsch ) { list(,$DeutschYear) = explode("-", $Deutsch); if ( $DeutschYear == $YEAR ) { array_push($FranzTmp, $FrenchArray[$count] ); unset($FrenchArray[$count]); }; # if ( $DeutschYear == $YEAR ) { $count++; }; # foreach ( $EnglishArray as $Deutsch ) { sort($DeutschArray);sort($EnglishArray);sort($FrenchArray); $DeutschArray = array_merge($DeutschTmp, $DeutschArray ); $EnglishArray = array_merge($EnglishTmp, $EnglishArray); $FrenchArray = array_merge($FranzTmp, $FrenchArray ); $count = 0; echo 'français: '; foreach ( $FrenchArray as $Mon ) { $Title = ucfirst(str_replace("-", " ", $Mon)); if ( $count >= 0 && $count <= 3 ) { echo "$Title | "; }else { #echo "$Title | "; }; $count++; }; # foreach echo "
"; $count = 0; echo 'deutsch: '; foreach ( $DeutschArray as $Mon ) { $Title = ucfirst(str_replace("-", " ", $Mon)); if ( $count == 0 ) { echo "$Title | "; } elseif ( $count > 6 ) { # rel=\"nofollow\" # echo "$Title | "; echo "$Title | "; } else { echo "$Title | "; }; $count++; }; # foreach $count = 0; echo '

english: '; foreach ( $EnglishArray as $Mon ) { $Title = ucfirst(str_replace("-", " ", $Mon)); $Mon = str_ireplace("maerz","march", $Mon); $Title = str_ireplace("maerz","March", $Title); if ( $count >= 0 && $count <= 6) { echo "$Title | "; } else { # rel=\"nofollow\" # echo "$Title | "; echo "$Title | "; }; $count++; }; # foreach echo "
"; echo "

 

"; return 1; }; # function ShowArchives(){ function ShowResults( $ResultsArray ){ /* # Keyword Blocker $filter_file = BLOCKLIST; $FilesToFilter = file($filter_file); for ( $ArrayCount=0; $ArrayCount<=count($ResultsArray); $ArrayCount++ ) { list( $link, $desc, $date, $flag ) = explode('#!?#-.>#', $ResultsArray[$ArrayCount] ); $desc = trim(strtolower($desc)); # echo "$ArrayCount / $t - $desc
"; foreach ( $FilesToFilter as $toBlock ) { $toBlock = trim($toBlock); if ( strcmp( strtolower($name), strtolower($toBlock)) == 0 ){ $ResultsArray[$ArrayCount] = ""; # echo "blocked at strcasecmp
"; }; # if ( strcmp( strtolower($name), strtolower($toBlock)) == 0 ){ }; # foreach ( $FilesToFilter as $toBlock ) { }; # for ( $ArrayCount=0; $ArrayCount<=count($ResultsArray); $ArrayCount++ ) { */ # todo: die letzte quelle bei extra source ist meistens falsch $usenextlink = USENEXTADLINK; $LastMatch = 0; $SearchQuery = $_SESSION['SEARCH']; $Cat = $_SESSION['MAINCAT']; # START: hier alles für subtitle adlinks vorbereiten $SubTitleLink = SUBTITLEADLINK; $SubTitleLink .= $SearchQuery; $SubTitleDesc = $_SESSION['SEARCH']; if ( strlen($SubTitleDesc) > SUBTITLEADWORDLENGHT ) { # lösche alles nach dem 200sten zeichen bei überlangen eingaben $SubTitleDesc = substr($SubTitleDesc, 0, SUBTITLEADWORDLENGHT ); $SubTitleDesc .= "..."; }; # ENDE: hier alles für subtitle adlinks vorbereiten if ( strcasecmp( $_SESSION['LANG'] , "fr") == 0 ) { $lang = "fr"; $Datum = "Date"; $alternativeSource = "source alternative: "; $ImageTagDesc = "source alternative pour "; $lang_path = "/images/fr.gif"; }; echo "

 

"; # special für usenext suche if ( strcasecmp($_SESSION['MAINCAT'], "usenet") == 0 || strcasecmp($_SESSION['MAINCAT'], "usenext") == 0 ) { require_once("/srv/server/wwwbiz/lib/time.inc.php"); $date = GetSQlDateEn(); $maxresults = MAXRESULTS; $page = $_SESSION['PAGE']; if ( strcasecmp( $_SESSION['LANG'] , "de") == 0 || strcasecmp( $_SESSION['LANG'] , "fr") == 0 ) { list($year,$month,$day) = explode('-', $date); $date = "$day.$month.$year"; } else { $extra = "  "; }; if ( $page == 0 ) { # limit 0, 30; $from = 0; } elseif ( $page == 1 ){ # limit 31|62|93|122||,30 $from = ( $maxresults + $page ); } elseif ( $page > 1 ){ # limit 31|62|93|122||,30 $from = ( ( $page * $maxresults ) + $page ); } else { }; $to = $from + $maxresults; for ( $ArrayCount=$from; $ArrayCount<=$to; $ArrayCount++ ) { list( $link, $desc, $date1, $lang1 ) = explode('#!?#-.>#', $ResultsArray[$ArrayCount] ); if ( strlen($link) >= 20 ){ echo << END; }; # if ( strlen($link) >= 20 ){ }; # for ( $ArrayCount=0; $ArrayCount<=count($ResultsArray); $ArrayCount++ ) { echo "
  $desc
$Datum: $extra $date


"; return 1; }; # if ( strcasecmp($_SESSION['MAINCAT'], "usenet") == 0 || strcasecmp($_SESSION['MAINCAT'], "usenext") == 0 ) { for ( $ArrayCount=0; $ArrayCount<=count($ResultsArray); $ArrayCount++ ) { $oneUp = $ArrayCount;$oneUp++; list( $link, $desc, $date, $flag ) = explode('#!?#-.>#', $ResultsArray[$ArrayCount] ); list( $linkNext, $descNext, $dateNext, $flagNext ) = explode('#!?#-.>#', $ResultsArray[$oneUp] ); if ( strcasecmp( $_SESSION['LANG'] , "fr") == 0 ) { list($year,$month,$day) = explode('-', $date); $date = "$day.$month.$year"; list($year,$month,$day) = explode('-', $dateNext); $dateNext = "$day.$month.$year"; if ( strcasecmp($_SESSION['MAINCAT'], "subtitle") == 0 || strcasecmp($_SESSION['MAINCAT'], "subtitles") == 0 || strcasecmp($_SESSION['MAINCAT'], "subtitel") == 0 || strcasecmp($_SESSION['MAINCAT'], "subtitels") == 0){ $AdvertismentExtra =<<Indication: téléchargements à grande vitesse!

END; } else { # is_subtitle ? $AdvertismentExtra =<<Indication: téléchargements à grande vitesse! | download $SubTitleDesc Sous-titre!

END; }; # END: is_subtitle ? } else { # if ( strcasecmp( $_SESSION['LANG'] , "de") == 0 ) { $extra = "  "; if ( strcasecmp($_SESSION['MAINCAT'], "subtitle") == 0 || strcasecmp($_SESSION['MAINCAT'], "subtitles") == 0 || strcasecmp($_SESSION['MAINCAT'], "subtitel") == 0 || strcasecmp($_SESSION['MAINCAT'], "subtitels") == 0){ $AdvertismentExtra =<<Indication:     téléchargements à grande vitesse!

END; } else { # is_subtitle ? $AdvertismentExtra =<<Indication:     téléchargements à grande vitesse! | download $SubTitleDesc Sous-titre!

END; }; # END: is_subtitle ? }; # if ( strcasecmp( $_SESSION['LANG'] , "de") == 0 ) { # $AdvertismentExtra = ""; if ( $desc != '' ){ $desc = trim($desc); $date = trim($date); $flag = trim($flag); $descNext = trim($descNext); $dateNext = trim($dateNext); $flagNext = trim($flagNext); if ( strcasecmp($flag, "de") == 0 ) { $flag_path = "/images/de.gif"; } elseif ( strcasecmp($flag, "en") == 0 ) { $flag_path = "/images/us.gif"; } elseif ( strcasecmp($flag, "pl") == 0 ) { $flag_path = "/images/pl.gif"; } elseif ( strcasecmp($flag, "fr") == 0 ) { $flag_path = "/images/fr.gif"; } elseif ( strcasecmp($flag, "es") == 0 ) { $flag_path = "/images/es.gif"; # } elseif ( strcasecmp($flag, "") == 0 || strcasecmp( $_SESSION['LANG'] , "") == 0 ) { # $flag_path = "http://85.214.122.130/images/us-de.gif"; } else { $flag_path = "/images/us-de.gif"; }; if ( strcasecmp($flagNext, "de") == 0 ) { $flagNext_path = "/images/de.gif"; } elseif ( strcasecmp($flagNext, "en") == 0 ) { $flagNext_path = "/images/us.gif"; } elseif ( strcasecmp($flagNext, "pl") == 0 ) { $flagNext_path = "/images/pl.gif"; } elseif ( strcasecmp($flagNext, "fr") == 0 ) { $flagNext_path = "/images/fr.gif"; } elseif ( strcasecmp($flagNext, "es") == 0 ) { $flagNext_path = "/images/es.gif"; # } elseif ( strcasecmp($flagNext, "") == 0 || strcasecmp( $_SESSION['LANG'] , "") == 0 ) { # $flagNext_path = "http://85.214.122.130/images/us-de.gif"; } else { $flagNext_path = "/images/us-de.gif"; }; $titledesc = strip_tags($desc); $desc = str_ireplace($_SESSION['SEARCH'], "" . $_SESSION['SEARCH'] . "", $desc); # $desc = str_replace($_SESSION['SEARCH'], "" . $_SESSION['SEARCH'] . "", strtolower($desc)); $search = new Approximate_Search( $titledesc, FUZZYTOLLERANCE ); $matches = $search->search( $descNext ); if ( count($matches) >= 1 && ( strcasecmp($desc,"" ) != 0 )) { # echo "$desc GLEICH $descNext
"; if ( $LastMatch == 0 ) { echo <<   $desc $alternativeSource $flagNext  END; } elseif ( $LastMatch == 1 ) { #echo "\"$flagNext\" "; echo "\"$flagNext\" "; }; $LastMatch = 1; $icount++; } else { # echo "$desc UNGLEICH $descNext
"; if ( $LastMatch == 1 ) { echo << $Datum: $extra $dateNext

$AdvertismentExtra

END; } else { # if ( $LastMatch == 1 ) { echo <<   $desc $Datum: $extra $date

$AdvertismentExtra

END; }; # } else { # if ( $LastMatch == 1 ) { $LastMatch = 0; $icount = 1; }; # if ( count($matches) >= 1 ) { }; # if ( $desc != '' ){ }; # for ( $ArrayCount=0; $ArrayCount<=count($ResultsArray); $ArrayCount++ ) { if ( $LastMatch == 1 ) { if ( strcasecmp( $_SESSION['LANG'] , "de") == 0 ) { list($year,$month,$day) = explode('-', GetSQlDateEn()); $date = "$day.$month.$year"; } else { $date = GetSQlDateEn(); }; echo << $Datum: $extra $date

$AdvertismentExtra
END; }; # if ( $LastMatch == 1 ) { echo ""; return 1; }; # function ShowResults( ){ function ShowTail(){ echo << END; }; # function ShowTail() function ShowBookmarks(){ if ( strcasecmp( $_SESSION['LANG'] , "fr") == 0 ) { $Header = 'Signet zoozle!'; } else { $Header = 'Signet zoozle!'; }; echo << $Header

ShareHunt add to bookmark with Firefox ShareHunt add to Bookmark using any bookmark manager! ShareHunt add to wists ShareHunt add to Bookmark using feetmethis! ShareHunt add to Bookamrk using exreme! Zoolze add to Bookmark usinf my-tuts.com! ShareHunt add to Bookmark using scoopeo! ShareHunt add to Bookmark using rawsugar! ShareHunt add to Opera-Bookmark:www.zoozle.biz ShareHunt add to bookmark zoozle.biz ShareHunt add to AddToAny ShareHunt add to Yahoo! Myweb ShareHunt add to Wink ShareHunt add to furl ShareHunt add to onlywire ShareHunt add to Digg ShareHunt add to facebook zoozle ShareHunt add to diigo zoozle ShareHunt add to stumble zoozle ShareHunt add to slashdot zoozle ShareHunt add to fark zoozle ShareHunt add to yigg zoozle ShareHunt add to wong ShareHunt add to Nextaris ShareHunt add to Nowpublic ShareHunt add to reddit ShareHunt add to rawsugar ShareHunt add to Scuttle ShareHunt add to Shadows ShareHunt add to Simpy ShareHunt add to Smarking ShareHunt add to spurl ShareHunt add to Squidoo ShareHunt add to Tailrank ShareHunt add to Technorati ShareHunt add to Unalog ShareHunt add to Google ShareHunt add to furl button ShareHunt add to Freedmarker ShareHunt add to digg ShareHunt add to del.ico.us ShareHunt add to buddymarks ShareHunt add to Blogmarks ShareHunt add to BlinkList ShareHunt add to askjeeves ShareHunt add to Newsvine ShareHunt add to Netvouz ShareHunt add to ma.gnolia ShareHunt add to holm

 

END; /* echo << $Header
askjeeves BlinkList Blogmarks Buddymarks del.icio.us digg Feedmarker Furl button Google HOLM ma.gnolia Netvouz Newsvine Nextaris Nowpublic reddit rawsugar Scuttle Shadows Simpy Smarking Spurl Squidoo Tailrank Technorati Unalog Wink Yahoo! Myweb AddToAny onlywire furl zoozle Digg! zoozle.biz facebook zoozle diigo zoozle stumble zoozle slashdot zoozle fark zoozle yigg zoozle wong zoozle wong zoozle Bookmark using any bookmark manager! Bookmark using feedmethis! Bookmark using ekstreme! Bookmark using my-tuts.com! Bookmark using scoopeo! Bookmark using rawsugar! bookmark zoozle.biz bookmark zoozle with Firefox

 

END; */ return 1; }; # function ShowBookmarks(){ function ShowTellYourFriend(){ $GotoUrl = "http://www.zoozle.biz" . $_SERVER["REQUEST_URI"]; if ( strcasecmp( $_SESSION['LANG'] , "fr") == 0 ) { echo << 

Faire connaitre zoozle a un ami
Ton nom
Ton eMail
eMail d'amie
 

 

END; }; # if lang return 1; }; # function TellYourFriend( ){ function ShowBottomSearchField( $SearchQuery ){ if ( strcasecmp( $_SESSION['LANG'] , "fr") == 0 ) { $Subtitle = "Sous-titre"; $Songtext = "Paroles de chanson"; $BottonText = "Cherche"; $CatString = "Catégorie: "; $TailString =<<Langue: END; }; # if ( strcasecmp( $_SESSION['LANG'] , "fr") == 0 ) { if ( strcasecmp($_SESSION['MAINCAT'], "emule") == 0 ) { $RadioField =<<eMule Bit Torrent Usenet $Subtitle $Songtext Serial Crack END; } elseif ( strcasecmp($_SESSION['MAINCAT'], "bittorrent") == 0 || strcasecmp($maincat, "torrent") == 0 ) { $RadioField =<<eMule Bit Torrent Usenet $Subtitle $Songtext Serial Crack END; } elseif ( strcasecmp($_SESSION['MAINCAT'], "serial") == 0 || strcasecmp($maincat, "serials") == 0) { $RadioField =<<eMule Bit Torrent Usenet $Subtitle $Songtext Serial Crack END; } elseif ( strcasecmp($_SESSION['MAINCAT'], "cracks") == 0 || strcasecmp($maincat, "crack") == 0) { $RadioField =<<eMule Bit Torrent Usenet $Subtitle $Songtext Serial Cracks END; } elseif ( strcasecmp($_SESSION['MAINCAT'], "songtext") == 0 || strcasecmp($maincat, "songtexte") == 0) { $RadioField =<<eMule Bit Torrent Usenet $Subtitle $Songtext Serial Cracks END; } elseif ( strcasecmp($_SESSION['MAINCAT'], "usenet") == 0 ) { $RadioField =<<eMule Bit Torrent Usenet $Subtitle $Songtext Serial Cracks END; } elseif ( strcasecmp($_SESSION['MAINCAT'], "news") == 0 ) { $RadioField =<<eMule Bit Torrent Usenet $Subtitle $Songtext Serial Crack END; } elseif ( strcasecmp($_SESSION['MAINCAT'], "subtitle") == 0 || strcasecmp($_SESSION['MAINCAT'], "subtitles") == 0 || strcasecmp($_SESSION['MAINCAT'], "subtitel") == 0 || strcasecmp($_SESSION['MAINCAT'], "subtitels") == 0) { $RadioField =<<eMule Bit Torrent Usenet $Subtitle $Songtext Serial Crack END; } else { $RadioField =<<eMule Bit Torrent Usenet $Subtitle $Songtext Serial Crack END; }; # if ( strcasecmp($_SESSION['MAINCAT'], "emule") == 0 ) { echo <<

 
$CatString $RadioField
$TailString

END; }; # function GenerateBottomSearchField(){ function ShowNaviButtons( $SearchQuery, $ResultCount ){ $MaxResults = MAXRESULTS; $MainCat = $_SESSION['MAINCAT']; $Lanugage = $_SESSION['LANG']; $CurrentPage = $_SESSION['PAGE']; $PageNext = $CurrentPage + 1; $PageBack = $CurrentPage - 1; if ( $PageBack <= -1 ) { $PageBack = 0; }; $SearchQuery = title_plus7($SearchQuery); $server = "www.zoozle.biz"; $next = "prochains résultats >>>"; $back = "<<< résultats précédents"; if ( $ResultCount >= $MaxResults ) { # back/next #if ( $LeftResults >= $MaxResults && $ResultCount != 0) { # echo " <<< BACK     NEXT >>>"; echo " $back      $next "; } elseif( $LeftResults <= $MaxResults || $ResultCount == 0 ) { # back only echo " $back     "; }; # if ( $ResultCount == $MaxResults ) { /* $banner = array( "/images/banner/1.jpg", # 0 "/images/banner/2.jpg", # 1 "/images/banner/3.jpg", # 2 "/images/banner/4.jpg"); # 3 $rand = rand(0,3); $BannerURI = $banner[$rand]; echo '

bannercode'; */ return 1; }; # function GenerateNaviButtons( function levenshtein_match($needle, $haystack){ // kleinbuchstaben alles $needle = strtolower($needle); $haystack = strtolower($haystack); // explode into words $hwords = preg_split("/[\s\W]+/", $haystack); $nwords = preg_split("/[\s\W]+/", $needle); $modifier_flag = 0; foreach ($hwords as $hkey => $hayword) { $hmp = metaphone ($hayword); foreach ($nwords as $nkey => $needword) { // First or last letters of needle and haystack have to match (case insensitive) $nfirst = strtolower(substr($needword, 0, 1)); $nlast = strtolower(substr($needword, -1)); $hfirst = strtolower(substr($hayword, 0, 1)); $hlast = strtolower(substr($hayword, -1)); if (($hfirst == $nfirst) or ($hlast == $nlast)) { $nmp = metaphone ($needword); $distance = levenshtein ($hmp, $nmp); // $distance = levenshtein ($hayword, $needword); $n_len = strlen($nmp); $per = round(($distance/$n_len)*1000); if ($per < 335) { $modifier_flag = 1; // Highlight word in haystack $haystack = str_replace($hayword, "$hayword", $haystack); $haystack = str_replace("", "", $haystack); $haystack = str_replace("", "", $haystack); }; # if ($per < 335) { }; # if (($hfirst == $nfirst) or ($hlast == $nlast)) { }; # foreach ($nwords as $nkey => $needword) { }; # foreach ($hwords as $hkey => $hayword) { $returnArray = array($haystack, $modifier_flag); return $returnArray; }; # function levenshtein_match($needle, $haystack){ function trim_spaces( $string ){ $string = deleteSpecialChars($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 str_replace("+"," ",$string); }; # function trim_spaces( $string ){ 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)); } ?>