Type Date Name Seeder Leecher Freshness END; if ( count($ResultsArray) <= 0 ){ $sorry = "

Sorry, we didn't find any matching documents!

"; $tableheader = ""; }; echo <<

$SearchQuery Torrent Download Results - Or try a Rapidshare Download: $SearchQuery Rapidshare Download

Translate with Google into your language:
French German Spain Italian Dutch Russian Brazil Japanese Korean Arabic Chinese Simplified

$sorry
$flirtpowerlink
$tableheader END; $affilatelink = AFFILATELINK; for ( $ArrayCount=0; $ArrayCount<=count($ResultsArray) - 1; $ArrayCount++ ) { // array_push($ResultArray, "$DESC#####$DATE#####$ID#####$CATG#####$LINK#####$TORRENT######$LEECHER#####$SEEDER#####$HASH\n"); list( $description, $date, $id, $catg,$link,$torrent,$leecher,$seeder,$hash ) = explode('#####', $ResultsArray[$ArrayCount] ); $url_desc = strtolower(title_plus($description)); $my_url = selfURL(); $health = getBalkenColor(); trim($id); //$rageurl = "http://www.torrentrage.com/$id/download/$url_desc".".html"; // $rageurl = "http://www.torrentrage.com/download.php?f=$url_desc&id=$id"; $trans = array("ä" => "ä", "Ä" => "Ä", "ü" => "ü", "Ü" => "Ü", "ö" => "ö", "Ö" => "Ö", "ß" => "ß"); $description = strtr($description, $trans); $text_to_highlight = highlight_this($description, $SearchQuery); // functions.inc.php //echo "DESC:= $description // SEARCH: $SearchQuery // HIGH: $text_to_highlight
"; echo << END; array_push($DublicatArray, $description ); }; // for ( $ArrayCount=0; $ArrayCount<=count($ResultsArray) - 1; $ArrayCount++ ) { echo "
us flag$catg $date $seeder $leecher Health
"; }; // function ShowResults( $ResultsArray, $SearchQuery, $Page ){ # show the navigation buttons function ShowNaviButtons( $SearchQuery, $Page, $ResultCount ){ $CurrentPage = $Page; $PageNext = $CurrentPage + 1; $PageBack = $CurrentPage - 1; $WellFormatedSearch = title_plus(strtolower($SearchQuery)); if ( $PageBack <= -1 ) { $PageBack = 0; }; $vor = "http://www.torrentrage.com/search.php?s=$WellFormatedSearch&p=$PageNext"; $zurck = "http://www.torrentrage.com/search.php?s=$WellFormatedSearch&p=$PageBack"; $maxresults = MAXRESULTS; //$SqlQuery = doQueryForAllResultCount($SearchQuery); //$MySqlArray = doSQLQueryTR( $SqlQuery ); //$sql_results = mysql_fetch_array($MySqlArray); //$SqlCount = $sql_results["COUNT"]; //$ResultsUpTo = floor($SqlCount / $maxresults ); /* if ( $ResultsUpTo <= SHOWHOWMANYRESULTBUTTONS && $ResultsUpTo > 0 ){ $IGoTo = $ResultsUpTo; } elseif ($ResultsUpTo > SHOWHOWMANYRESULTBUTTONS ) { $IGoTo = SHOWHOWMANYRESULTBUTTONS; }; */ echo << END; return 1; }; # function ShowNaviButtons( $Page ){ function GenereateHeader( $SearchQuery, $ResultCount, $SearchRaw, $Page ){ header("Content-type: text/html"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: public"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: use-cache"); $CloundTagCountEnries = 2; $KeyWordStoreDir = date("n.Y"); $KeywordDate = date("j.n.Y"); $FileStorePath = LOGLINKSSTORE."/" . $KeyWordStoreDir ."/". $KeywordDate . ".".LOGNORMALSUFIX.".txt"; // linux version $stringCloud = file_backread($FileStorePath, $CloundTagCountEnries+1); // functions.inc.php $arrayCloud = explode("\n",$stringCloud ); $ResultsArray = array(); $maxresults = MAXRESULTS; $ResultsArray = GenerateResultsSphinx( $SearchQuery, 0, $maxresults ); for ( $ArrayCount=0; $ArrayCount<=2; $ArrayCount++ ) { list( $description, , ) = explode('#####', $ResultsArray[$ArrayCount] ); $desc = trim_spaces($description); $AdditionalResults .= "$desc, "; }; # for ( $ArrayCount=0; $ArrayCount<=2; $ArrayCount++ ) { trim($AdditionalResults); $AdditionalResults .= "$arrayCloud[0], $arrayCloud[1]"; # noindex,wenn zuwenig ergebnisse if ( $ResultCount <= 0 ){ $robots = ''; } elseif ( $ResultCount > 0 ) { $robots = ''; }; # noindex wenn sonderzeichen if ( preg_match('/[^\w\d -]/si', $SearchRaw ) ){ $robots = ''; #echo "Special Char Found!"; } # noindex wenn "_" if ( preg_match('/[_]/si', $SearchRaw ) ){ $robots = ''; #echo "Special Char Found!"; } if ( $Page > 0 ) { $title = "Download $SearchQuery Torrents - Page $Page by TorrentRage.com"; $pageadd = "on Page $Page ."; } else { $title = "Download $SearchQuery Torrents by TorrentRage.com"; $pageadd = "."; }; $myurl = selfURL(); echo << $robots $title
END; return 1; }; # function GenereateHeader(){} ?>