--- deutsche Downloads für $SearchQuery $MainCat ---

"; # if ( ( $_SESSION['ISTHISACACHE'] == 1 ) && ( isset($_SESSION['CACHETIMESTAMP']) ) ) { $CacheCreateDate = date("d.m.Y H:i:s", $_SESSION['CACHETIMESTAMP']); $CacheString = "

 

Gespeicherte Ergebnisse vom $CacheCreateDate - Du hast etwas nicht gefunden? Probiere doch die Livesuche aus "; }; # if ( $_SESSION['ISTHISACACHE'] == 1 ) { # echo "DEBUG isthisacache?: " . $_SESSION['ISTHISACACHE']; /* if ( strcasecmp( $_SESSION['LANG'] , "de") == 0 ) { $TopString = "

--- deutsche Downloads für $SearchQuery $MainCat ---


"; $WarezAdDescription = "Downloade Movies,Spiele,Progs mit 5500 KB/s!"; if ( ( $_SESSION['ISTHISACACHE'] == 1 ) && ( isset($_SESSION['CACHETIMESTAMP']) ) ) { $CacheCreateDate = date("d.m.Y H:i:s", $_SESSION['CACHETIMESTAMP']); $CacheString = "

 

Gespeicherte Ergebnisse vom $CacheCreateDate - nichts gefunden? Probieren Sie die Livesuche"; }; # if ( $_SESSION['ISTHISACACHE'] == 1 ) { } elseif ( strcasecmp( $_SESSION['LANG'] , "en") == 0 ) { $TopString = "
>>> results for $SearchQuery in $MainCat english <<<
"; $WarezAdDescription = "Download Movies,Games,MP3 with 5500 KB/s!"; if ( ( $_SESSION['ISTHISACACHE'] == 1 ) && ( isset($_SESSION['CACHETIMESTAMP']) ) ) { $CacheCreateDate = date("Y/m/d H:i:s", $_SESSION['CACHETIMESTAMP']); $CacheString = "

 

Cached results from $CacheCreateDate - found nothing? - try live search"; }; # if ( $_SESSION['ISTHISACACHE'] == 1 ) { } elseif ( strcasecmp( $_SESSION['LANG'] , "") == 0 ) { # de,en $TopString = "
>>> $SearchQuery - $MainCat <<<
"; $WarezAdDescription = "High Speed Downloads with > 5500 KB/s!"; if ( ( $_SESSION['ISTHISACACHE'] == 1 ) && ( isset($_SESSION['CACHETIMESTAMP']) ) ) { $CacheCreateDate = date("Y/m/d H:i:s", $_SESSION['CACHETIMESTAMP']); $CacheString = "

 

Gespeicherte Ergebnisse vom $CacheCreateDate - Livesuche / Cached results from $CacheCreateDate - found nothing? - try live search"; }; # if ( $_SESSION['ISTHISACACHE'] == 1 ) { } else { $TopString = "
>>> $SearchQuery - $MainCat <<<
"; $WarezAdDescription = "High Speed Movies + Games Downloads with > 5500 KB/s!"; if ( ( $_SESSION['ISTHISACACHE'] == 1 ) && ( isset($_SESSION['CACHETIMESTAMP']) ) ) { # FF6600 $CacheCreateDate = date("M/d/Y H:i:s", $_SESSION['CACHETIMESTAMP']); $CacheString = "

 

Cached results from $CacheCreateDate - found nothing? - try live search"; }; # if ( $_SESSION['ISTHISACACHE'] == 1 ) { }; # if ( strcasecmp( $_SESSION['LANG'] , "de") == 0 ) { */ echo <<   eMule download                downloade den besten eMule aller Zeiten!

  Direkte Downloads           Genial! downloade alle Dateien mit 100 MBits

$CacheString END; return 1; /*   Handy Download Flatrates New! Handy Download Flatrate - jetzt Millionen MP3‘s, Spiele, Videos und geile Bilder gratis aufs Handy laden!

*/ }; # function GenerateTopPartnerLinks(){ function ShowPartner(){ $SearchQuery = $_SESSION['SEARCH']; $SQ = urlencode($SearchQuery); $dM0 = GetMonthYear( '0' ); $dM0d = ucfirst(str_replace("-", " ", $dM0)); #$GetCurrentLetterDateForNewsLink = TransferGetMonthYearLong( TransferGetMonthYearLong( GetCurrentLetterDateForNewsLink( "0" ), 'en'), 'de') ; $zufall = rand(0,7) + 1; $RelatedLinks =<<

nützliche Links:

$AdditionalAds $SearchQuery Torrent download deutsch   RapidShare Download Torrent Download Torrent   RapidShare   $AdditionalCont END; echo <<

 

Partner:

Rapidshare Torrent Download Rapidshare Torrent Blog

Torrent Rapidshare Download Crack Search

 

$RelatedLinks


Aktuelle Torrent und RapidShare Suchen

END; $KeyWordStoreDir = date("n.Y"); $KeywordDate = date("j.n.Y"); $FileStorePathTO = "/srv/server/querys/keywords/" . $KeyWordStoreDir ."/". $KeywordDate . ".torrent.de.txt"; $stringTorrent = file_backread($FileStorePathTO, 11); $arrayTorrent = explode("\n", $stringTorrent ); $FileStorePathRS = "/srv/server/querys/keywords/" . $KeyWordStoreDir ."/". $KeywordDate . ".rapidshare.de.txt"; $stringRapidshare = file_backread($FileStorePathRS, 11); $arrayRapidshare = explode("\n", $stringRapidshare ); printTagCloud($arrayTorrent, "torrent"); printTagCloud($arrayRapidshare, "rapidshare"); echo '


'; return 1; }; # function ShowPartner(){ function printTagCloud($tags,$category) { // $tags is the array $pattern = "(\.com|\.net|\.de|\.to|\.+[a-z]|\s+com|\s+net|\s+de|\s+to|www)"; # match a domain $NoDoubleTags = array(); $min_size = 90; // min font size in % $max_size = 165; // max font size in % // loop through the tag array foreach ($tags as $keyword ) { $DESC1 = trim($keyword); $DESC = str_replace("%20", "+", $DESC1); $DESC = preg_replace('/\s\s+/', '+', $DESC1); $DESC = ereg_replace("[ \t\n\r]+", "+", $DESC1); $DESC = title_minus($DESC1); $DESC = deleteSpecialChars($DESC); # sonderzeichen entfernen 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 ) { if ( $category == "rapidshare" ){ echo ''. $keyword .' ~ '; }; if ( $category == "torrent" ){ echo ''. $keyword .' ~ '; }; } else { # else of if ( $NumberOfWords >= 2 && $NumberOfWords <= 5 ) { if ( $category == "rapidshare" ){ echo ''. $keyword .' ~ '; }; if ( $category == "torrent" ){ 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 ) { return 1; }; #function printTagCloud($tags) { function title_minus( $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_minus( $string ){ function ShowPartnerForNewsArchive(){ # wird bei den Archive Links und bei den News angezeigt $mon = date("n"); $lastmon = date("n") - 1; $mday = date("j"); $year = date("Y"); if ( $mday < 1) { if ( $lastmon == 2 ){ $mday = 28; $mon = $lastmon; } elseif ( $lastmon == 4 ){ $mday = 30; $mon = $lastmon; } elseif ( $lastmon == 6 ){ $mday = 30; $mon = $lastmon; } elseif ( $lastmon == 9 ){ $mday = 30; $mon = $lastmon; } elseif ( $lastmon == 11 ){ $mday = 30; $mon = $lastmon; } else { $mday = 31; $mon = $lastmon; }; }; # if ( $mday < 1) { $KeywordManager = "/srv/server/keywordmanager"; $KeyWordManagerTopLink = "$KeywordManager/$mon.$year/$mday.$mon.$year-news/top600.txt"; $count = count(file($KeyWordManagerTopLink)); if ( $count <= 0 ){ $mday--; }; $KeyWordManagerTopLink = "$KeywordManager/$mon.$year/$mday.$mon.$year-news/top600.txt"; $TopKWArray = file($KeyWordManagerTopLink); $zufall = rand(1,103); $TitleTag1 = $TopKWArray[$zufall];$zufall = rand(1,103); $TitleTag2 = $TopKWArray[$zufall];$zufall = rand(1,103); $TitleTag3 = $TopKWArray[$zufall];$zufall = rand(1,103); $TitleTag4 = $TopKWArray[$zufall];$zufall = rand(1,103); $TitleTag5 = $TopKWArray[$zufall];$zufall = rand(1,103); $TitleTag6 = $TopKWArray[$zufall]; $KeywordDelimiter = array("strong","b","i","tt"); $rand = rand(0,3); $KeywordTrenner = $KeywordDelimiter[$rand]; $net = "<" . $KeywordTrenner . ">" . "$TitleTag4 Torrent Download" . ""; $org = "<" . $KeywordTrenner . ">" . "Torrent $TitleTag5 Download" . ""; $biz = "<" . $KeywordTrenner . ">" . "telecharger $TitleTag6" . ""; $zufall = rand(0,7) + 1; echo <<

Partner:

Rapidshare Torrent Download Torrent Rapidshare Download Rapidshare Torrent Blog eMule download
END; return 1; }; # function ShowPartnerForNewsArchive(){ ?>