END;
return 1;
}; # function _GenerateMetaKeys(){
function _GenerateHeadBlock(){
$my_url = selfURL();
$my_encoded_url = urlencode($my_url);
$flirtpowerlink = buildFlirtpowerLink();
echo << $desc Movie Torrent Download $desc Music Torrent Download $desc PC Games Torrent DownloadTorrentRage.com - Your Torrent Search Engine for Applications, Games, Music, Movies,TV Series, Sex and Porn Torrent Downloads.
Translate with Google into your language:
END;
return 1;
}; # function _GenerateHeadBlock(){
function _GenerateFeatureDownload(){
$affilatelink = AFFILATELINK;
$movieArray = file("/var/tmp/movies.txt");
$singleArray = file("/var/tmp/single.txt");
$gamesArray = file("/var/tmp/games.txt");
echo <<Featured Downloads
";
return 1;
}; # function _GenerateFeatureDownload(){
function _GenerateLatestTorrentsStartPage(){
$affilatelink = AFFILATELINK;
if ( strlen($count) <= 0 ){
$count = NEWSLINKCOUNTSEARCHRESULTPAGE;
};
echo <<
Movie Charts
Music Single Charts
PC Games Charts
END;
for($i=0;$i<=count($movieArray)-2;$i++){
$desc = $movieArray[$i];
$desc = substr_replace($desc ,"",-1);
$url_desc1 = strtolower(title_plus($desc));
$rageurl1 = "http://www.torrentrage.com/torrent/".$url_desc1.".html";
echo << ";
for($i=0;$i<=count($singleArray)-2;$i++){
$desc = $singleArray[$i];
$desc = substr_replace($desc ,"",-1);
$url_desc1 = strtolower(title_plus($desc));
$rageurl1 = "http://www.torrentrage.com/torrent/".$url_desc1.".html";
echo << ";
for($i=0;$i<=count($gamesArray)-2;$i++){
$desc = $gamesArray[$i];
$desc = substr_replace($desc ,"",-1);
$url_desc1 = strtolower(title_plus($desc));
$rageurl1 = "http://www.torrentrage.com/torrent/".$url_desc1.".html";
echo <<
END;
$SqlQuery = _buildQueryStartpageNews(); # sql.inc.php
$MySqlArray = doSQLQuery( $SqlQuery );
if ( $MySqlArray ) {
$count = 0;
while( $sql_results = mysql_fetch_array($MySqlArray)) {
$desc = $sql_results["DESC"];
$id = $sql_results["ID"];
$url_desc = strtolower(title_plus($desc));
$health = getBalkenColor(); // functions.inc.php
// http://www.torrentrage.com/6152684/download/der+herr+der+ringe+2+die+zwei+tuerme+by+diablo1983.html
// $rageurl = "http://www.torrentrage.com/$id/download/$url_desc".".html";
// http://www.torrentrage.com/download.php?f=nathmax&id=6256972
// http://www.torrentrage.com/torrent/robin+hood+2010.html
//$rageurl = "http://www.torrentrage.com/download.php?f=$url_desc&id=$id";
$rageurl = "http://www.torrentrage.com/torrent/$url_desc".".html";
echo <<Type
Name
Freshness
Assorted
END;
}; // while( $sql_results = mysql_fetch_array($MySqlArray)) {
}; // if ( $MySqlArray ) {
echo <<