🐘 ads.inc.php (Php) 1.3 KB 2010-08-01
PHP module for ads.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 | <?php
require_once ("/server/wwwroot/www.torrentrage.com/lib/geoip.inc.php");
$gi = geoip_open("/server/wwwroot/www.torrentrage.com/lib/GeoIP.dat", GEOIP_STANDARD);
$remote_ip = isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
$CountryCode = geoip_country_code_by_addr($gi, $remote_ip);
if ( strcasecmp( $CountryCode , "de") == 0 || strcasecmp( $CountryCode , "at") == 0 || strcasecmp( $CountryCode , "ch") == 0 ) {
define('AFFILATELINK', 'http://www.firstload.de/affiliate/log.php?log=42265');
//define('AFFILATELINK', 'http://www.firstload.de/affiliate/log.php?log=42265');
} elseif ( strcasecmp( $CountryCode , "es") == 0 ) {
define('AFFILATELINK', 'http://www.firstload.de/affiliate/log.php?log=42265&lang=es');
//define('AFFILATELINK', 'http://www.firstload.de/affiliate/log.php?log=42265');
} elseif ( strcasecmp( $CountryCode , "fr") == 0 ) {
define('AFFILATELINK', 'http://www.firstload.de/affiliate/log.php?log=42265&lang=fr');
//define('AFFILATELINK', 'http://www.firstload.de/affiliate/log.php?log=42265');
} else {
define('AFFILATELINK', 'http://www.firstload.de/affiliate/log.php?log=42265');
//define('AFFILATELINK', 'http://click.yottacash.com?PID=18d5d2fa-4fd9-4501-ae6b-f3bec8b20d9d');
};
//http://www.gigaflat.com/affiliate/t/705
?>
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "ads.inc.php",
"description": "PHP module for ads.inc",
"dateModified": "2010-08-01",
"dateCreated": "2025-03-23",
"contentSize": "1.3 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/ads.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 config.inc.php (Php) 1.6 KB 2010-06-18
PHP module for config.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
### Maximum Number of Results per Page
define('MAXRESULTS', '20'); # former 25 (a7) # former 60
define('MAXRESULTSDIRECTORY', '50'); # former 25 (a7) # former 60
// news on startpage
define('STARTPAGENEWS', '15');
// news on latest.php page
define('LATESTPAGENEWS', '100');
// how many related torrents on detailpage
define('RELATEDTORRENTSONDETAILPAGE', '4');
// how many cloud entrys on cloud.php ?
define('CLOUDTAGENTRIES', '300');
// how many cloud entrys on top1000.php ?
define('TOP1000NEWS', '300');
### language for blog in html tags
define('HTMLLANGTAG', 'en'); # former 25 (a7) # former 60
### Maximum Number of Results for Mobile Search
define('MAXRESULTSMOBILE', '5'); # former 25 (a7) # former 60
### how many news should be shown per page?
define('NEWSPERPAGE', '100');
# pagename definition for intern logging processes
define('DEADLINKSSTORE', '/server/querys/deadlinks/torrentrage');
define('LOGLINKSSTORE', '/server/querys/keywords/torrentrage');
// porno user die von google kommen, sufix
define('LOGGOOGLESUFIX', 'TORRENT-SEU');
define('LOGNORMALSUFIX', 'TORRENT');
// cloud tag enties count
define('CLOUDTAGENTRYCOUNT', '100');
// how many news links to be shown on search result page
define('NEWSLINKCOUNTSEARCHRESULTPAGE', '2');
### previous | 1 2 3 4 5 6 7 8 9 10 | next one the result pages
define('SHOWHOWMANYRESULTBUTTONS', '30'); // 23 std
### stopword list file
... [truncated, 7 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "config.inc.php",
"description": "PHP module for config.inc",
"dateModified": "2010-06-18",
"dateCreated": "2025-03-23",
"contentSize": "1.6 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/config.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 functions.inc.php (Php) 13.9 KB 2010-10-14
PHP module for functions.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once "/server/wwwroot/www.torrentrage.com/lib/security.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/config.inc.php";
//require_once "/server/wwwroot/www.torrentrage.com/lib/http.inc.php";
//require_once ("/server/wwwroot/www.torrentrage.com/phpspeedy/libs/php_speedy/php_speedy.php");
function buildFlirtpowerLink(){
$spruch = array(
"... noch heute Eine flach legen?!",
"Flirten war gestern, Aufreissen ist heute!",
"Wixt Du noch oder fickst Du schon... ?!",
"Dreh Deinen Eigenen Porno... lerne jedoch zuerst, wie Du die Mädels dazu findest ;-) !",
"Gang Bang bei Dir zu Hause?! Flirtpower.ch macht's möglich!",
"Der Blitzaufriss Reloaded... damit Du nicht mehr alleine Pornos gucken musst!",
"Flirten ist nur der Vorname... der Nachname wurde zensiert!!!",
"Pornos gucken... ok! Für Sex bezahlen... k.o.! Lernen, wie man selbst zum Pornostar wird... super!",
"Bist Du kürzlich 'mal hypnotisiert worden?! Nein?!? Dann wird es jetzt Zeit dafür!",
"... schon 'mal den Gedanken gefasst, eine Frau nach Strich und Faden zu verführen?!",
"Ist Dir schon öfters die Frage aufgekommen, wo denn all die versauten Frauen sind?! Erfahre es... JETZT!",
"Fr so manches gibt es eine logische Erklärung... Andere Dinge jedoch brauchen länger!",
"5 Minuten? 10 Minuten? 3 Stunden? Egal, Hauptsache, Du erfährst endlich, wie... lerne richtig aufreissen... und werde zum Flirtprofi!",
"Englisch, Französisch, Griechisch, Spanisch... lernst Du zwar hier nicht... dafr etwas Anderes!",
);
$random = random_array_element($spruch);
return "<a href=\"http://www.flirtpower.ch/\" rel=\"nofollow\" target=\"_blank\">$random</a>";
}; // function buildFlirtpowerLink(){
function random_array_element($a){
mt_srand((double)microtime()*1000000);
// get all array keys:
$k = array_keys($a);
// find a random array key:
$r = mt_rand(0, count($k)-1);
$rk = $k[$r];
// return the random key (if exists):
return isset($a[$rk]) ? $a[$rk] : '';
}; // function random_array_element($a){
... [truncated, 379 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "functions.inc.php",
"description": "PHP module for functions.inc",
"dateModified": "2010-10-14",
"dateCreated": "2025-03-23",
"contentSize": "13.9 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/functions.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 fuzzy.inc.php (Php) 11.4 KB 2008-08-16
PHP module for fuzzy.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
/*******************************************************************************
* Copyright (C) 2003-2006 by Jarno Elonen <elonen@iki.fi>
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1,
* or (at your option) any later version.
*
* This is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with the program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*******************************************************************************/
// A PHP class for approximate string searching of large text masses.
// Usage example:
//
// $search = new Approximate_Search( $patt, $max_err );
// if ( $search->too_short_err )
// $error = "Unable to search - use longer pattern " .
// "or reduce error tolerance.";
//
// while( $text = read_next_page())
// {
// $matches = $search->search( $text );
// while( list($i,) = each($matches))
// print "Match that ends at $i.\n";
// }
//
// The code uses initial filtering to sort out possible match
// candidates and then applies a slower character-by-character
// search (search_short()) against them.
class Approximate_Search
{
// Searches for $patt, allowing at most $k errors from $text.
//
// The last 3 parameters are for optimization only, to avoid the
// surprisingly slow strlen() and substr() calls:
// - $start_index = from which character of $text to start the search
// - $max_len = maximum character to search (starting from $start_index)
// - $text_strlen =
//
// The return value is an array of matches:
// Array( [<match-end-index>] => <error>, ... )
... [truncated, 268 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "fuzzy.inc.php",
"description": "PHP module for fuzzy.inc",
"dateModified": "2008-08-16",
"dateCreated": "2025-03-23",
"contentSize": "11.4 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/fuzzy.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 geoip.inc.php (Php) 21.6 KB 2009-07-09
PHP module for geoip.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
/* geoip.inc
*
* Copyright (C) 2007 MaxMind LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
define("GEOIP_COUNTRY_BEGIN", 16776960);
define("GEOIP_STATE_BEGIN_REV0", 16700000);
define("GEOIP_STATE_BEGIN_REV1", 16000000);
define("GEOIP_STANDARD", 0);
define("GEOIP_MEMORY_CACHE", 1);
define("GEOIP_SHARED_MEMORY", 2);
define("STRUCTURE_INFO_MAX_SIZE", 20);
define("DATABASE_INFO_MAX_SIZE", 100);
define("GEOIP_COUNTRY_EDITION", 106);
define("GEOIP_PROXY_EDITION", 8);
define("GEOIP_ASNUM_EDITION", 9);
define("GEOIP_NETSPEED_EDITION", 10);
define("GEOIP_REGION_EDITION_REV0", 112);
define("GEOIP_REGION_EDITION_REV1", 3);
define("GEOIP_CITY_EDITION_REV0", 111);
define("GEOIP_CITY_EDITION_REV1", 2);
define("GEOIP_ORG_EDITION", 110);
define("GEOIP_ISP_EDITION", 4);
define("SEGMENT_RECORD_LENGTH", 3);
define("STANDARD_RECORD_LENGTH", 3);
define("ORG_RECORD_LENGTH", 4);
define("MAX_RECORD_LENGTH", 4);
define("MAX_ORG_RECORD_LENGTH", 300);
define("GEOIP_SHM_KEY", 0x4f415401);
define("US_OFFSET", 1);
define("CANADA_OFFSET", 677);
define("WORLD_OFFSET", 1353);
define("FIPS_RANGE", 360);
... [truncated, 452 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "geoip.inc.php",
"description": "PHP module for geoip.inc",
"dateModified": "2009-07-09",
"dateCreated": "2025-03-23",
"contentSize": "21.6 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/geoip.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 http.inc.php (Php) 2.7 KB 2010-03-16
PHP module for http.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
error_reporting(0);
# $r = new HTTPRequest('http://www.php.net');
# echo $r->DownloadToString();
$TIMEOUT = 2;
set_time_limit ( 2 ) ;
//max_input_time(2);
//max_execution_time(2);
class HTTPRequest
{
var $_fp; // HTTP socket
var $_url; // full URL
var $_host; // HTTP host
var $_protocol; // protocol (HTTP/HTTPS)
var $_uri; // request URI
var $_port; // port
// scan url
function _scan_url()
{
$req = $this->_url;
$pos = strpos($req, '://');
$this->_protocol = strtolower(substr($req, 0, $pos));
$req = substr($req, $pos+3);
$pos = strpos($req, '/');
if($pos === false)
$pos = strlen($req);
$host = substr($req, 0, $pos);
if(strpos($host, ':') !== false)
{
list($this->_host, $this->_port) = explode(':', $host);
}
else
{
$this->_host = $host;
$this->_port = ($this->_protocol == 'https') ? 443 : 80;
}
$this->_uri = substr($req, $pos);
if($this->_uri == '')
$this->_uri = '/';
}
... [truncated, 55 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "http.inc.php",
"description": "PHP module for http.inc",
"dateModified": "2010-03-16",
"dateCreated": "2025-03-23",
"contentSize": "2.7 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/http.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 logging.inc.php (Php) 2.5 KB 2010-07-06
PHP module for logging.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once "/server/wwwroot/www.torrentrage.com/lib/security.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/config.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/social.inc.php";
# function to report deadlinks
function reportDeadLinks( $hashvalue ) {
$KeywordDate = date("j.n.Y");
$KeyWordStoreDir = date("n.Y");
# setze den storepath -> jeden tag neu
//$StorePath = DEADLINKSSTORE."\\".$KeyWordStoreDir; // win version
$StorePath = DEADLINKSSTORE."/".$KeyWordStoreDir; // linux version
# erstelle verzeichnis, wenn es nicht existiert
if (!is_dir ( $StorePath ) ) {
mkdir ($StorePath, 0777);
};
# erstelle absoluten pfad zur keyword store datei
$StorePathFile .= $StorePath . "/$KeywordDate.DEADLINKS.txt";
$fh = fopen("$StorePathFile","a+");
flock($fh, LOCK_EX);
fputs($fh,"$hashvalue\n");
fclose($fh);
return 1;
}; # function reportDeadLinks( $hashvalue ) {
#querys from user to be logged
function logQuerys( $SearchQuery, $catg ) {
$isvalid = is_good($SearchQuery); # security.inc.php
//echo "($isvalid) on query: '$query' <br>";
if ( $isvalid != 1 ) {
return 0;
};
$KeywordDate = date("j.n.Y");
$KeyWordStoreDir = date("n.Y");
# setze den storepath -> jeden tag neu
//$StorePath = LOGLINKSSTORE."\\".$KeyWordStoreDir; // win version
$StorePath = LOGLINKSSTORE."/".$KeyWordStoreDir; // linux version
... [truncated, 42 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "logging.inc.php",
"description": "PHP module for logging.inc",
"dateModified": "2010-07-06",
"dateCreated": "2025-03-23",
"contentSize": "2.5 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/logging.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 mobiledetect.inc.php (Php) 14.3 KB 2010-03-24
PHP module for mobiledetect.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
function isMobileBrowser(){
$agent = getenv("HTTP_USER_AGENT");
$Browser ="";
// The main keywords captured
if (istr("Dillo", $agent)) { $Browser = "Dillo"; }
if (istr("MIDP-", $agent)) { $Browser = "MIDP-"; }
if (istr("Ericsson", $agent)) { $Browser = "Ericsson"; }
if (istr("SonyEricsson", $agent)) { $Browser = "SonyEricsson"; }
if (istr("AvantGo", $agent)) { $Browser = "AvantGo"; }
if (istr("ATTWS", $agent)) { $Browser = "ATTWS"; }
if (istr("i-mode", $agent)) { $Browser = "i-mode"; }
if (istr("SEC-", $agent)) { $Browser = "SEC-"; }
if (istr("R600", $agent)) { $Browser = "R600"; }
if (istr("R380", $agent)) { $Browser = "R380"; }
if (istr("PHILIPS", $agent)) { $Browser = "PHILIPS"; }
if (istr("Obigo", $agent)) { $Browser = "Obigo"; }
if (istr("Panasonic", $agent)) { $Browser = "Panasonic"; }
if (istr("SEC-SGH", $agent)) { $Browser = "SEC-SGH"; }
if (istr("SHARP-", $agent)) { $Browser = "SHARP-"; }
if (istr("Sendo", $agent)) { $Browser = "Sendo"; }
if (istr("TSM-", $agent)) { $Browser = "TSM-"; }
if (istr("Wapalizer", $agent)) { $Browser = "Wapalizer"; }
if (istr("Wapsilon", $agent)) { $Browser = "Wapsilon"; }
if (istr("Widcomm BtSendto", $agent)) { $Browser = "Widcomm BtSendto"; }
if (istr("WinWAP-PRO", $agent)) { $Browser = "WinWAP-PRO"; }
if (istr("Siemens", $agent)) { $Browser = "Siemens"; }
if (istr("ATTWS", $agent)) { $Browser = "ATTWS"; }
if (istr("Google WAP Proxy", $agent)) { $Browser = "Google WAP Proxy"; }
if (istr("BENQ-", $agent)) { $Browser = "BENQ-"; }
if (istr("EZOS", $agent)) { $Browser = "EZOS"; }
if (istr("IAC", $agent)) { $Browser = "IAC"; }
if (istr("Mitsu", $agent)) { $Browser = "Mitsu"; }
if (istr("Motorola-", $agent)) { $Browser = "Motorola-"; }
if (istr("Cellphone", $agent)) { $Browser = "Cellphone"; }
if (istr("MMEF", $agent)) { $Browser = "MMEF"; }
if (istr("PANTECH", $agent)) { $Browser = "PANTECH"; }
if (istr("PHILIPS", $agent)) { $Browser = "PHILIPS"; }
if (istr("R600", $agent)) { $Browser = "R600"; }
if (istr("WAPPER", $agent)) { $Browser = "WAPPER"; }
if (istr("Sunrise", $agent)) { if (!istr("SunriseBrowser", $agent)) { $Browser = "Sunrise"; }}
if (istr("Smartphone", $agent)) { $Browser = "Smartphone"; }
if (istr("SAGEM", $agent)) { $Browser = "SAGEM"; }
if (istr("SIE-", $agent)) { $Browser = "SIE-"; }
if (istr("PHILIPS-", $agent)) { $Browser = "PHILIPS-"; }
if (istr("NEC-", $agent)) { $Browser = "NEC-"; }
... [truncated, 229 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "mobiledetect.inc.php",
"description": "PHP module for mobiledetect.inc",
"dateModified": "2010-03-24",
"dateCreated": "2025-03-23",
"contentSize": "14.3 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/mobiledetect.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 pingfm.inc.php (Php) 21.0 KB 2008-09-24
PHP module for pingfm.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
/**
* Danltn | http://danltn.com/
* MSN: msn@danltn.com
* Email: daniel@neville.tk
* Started: 19/6/2008 16:01 (UK)
* Tested: No
* PHP 4/5: 5
* No warranty is given to code used
*/
/**
* PingFM_Wrapper
*
* @package PingFM_Wrappers
* @url http://danltn.com
* @desc Package which allows easy interaction with the Ping.fm service
* @author Daniel Neville
* @copyright 2008
* @version 0.2b
* @access public
* @license GPL
*/
class PingFM_Wrapper
{
/** Your API */
public $dev_api;
/** Users API */
public $user_api;
/** Actual reply code */
public $reply;
/** XML parsed with SimpleXML */
public $xml;
/** Details array returned, this is what you should use */
public $details;
/** Acceptable methods for API usage **/
static public $methods = array( 'validate', 'services', 'triggers', 'latest', 'message', 'tpost', 'post' );
/** Acceptable methods to use if we're using the post method **/
static public $post_methods = array( 'blog', 'microblog', 'status' );
/** All the URLs for different services **/
const VALIDATE_URL = 'http://api.ping.fm/v1/user.validate';
const SERVICES_URL = 'http://api.ping.fm/v1/user.services';
const TRIGGERS_URL = 'http://api.ping.fm/v1/user.triggers';
const MESSAGE_URL = 'http://api.ping.fm/v1/user.message';
const LATEST_URL = 'http://api.ping.fm/v1/user.latest';
const TPOST_URL = 'http://api.ping.fm/v1/user.tpost';
... [truncated, 414 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "pingfm.inc.php",
"description": "PHP module for pingfm.inc",
"dateModified": "2008-09-24",
"dateCreated": "2025-03-23",
"contentSize": "21.0 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/pingfm.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 recaptchalib.inc.php (Php) 9.5 KB 2007-11-29
PHP module for recaptchalib.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
/*
* This is a PHP library that handles calling reCAPTCHA.
* - Documentation and latest version
* http://recaptcha.net/plugins/php/
* - Get a reCAPTCHA API Key
* http://recaptcha.net/api/getkey
* - Discussion group
* http://groups.google.com/group/recaptcha
*
* Copyright (c) 2007 reCAPTCHA -- http://recaptcha.net
* AUTHORS:
* Mike Crawford
* Ben Maurer
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
/**
* The reCAPTCHA server URL's
*/
define("RECAPTCHA_API_SERVER", "http://api.recaptcha.net");
define("RECAPTCHA_API_SECURE_SERVER", "https://api-secure.recaptcha.net");
define("RECAPTCHA_VERIFY_SERVER", "api-verify.recaptcha.net");
/**
* Encodes the given data into a query string format
* @param $data - array of string elements to be encoded
* @return string - encoded request
*/
function _recaptcha_qsencode ($data) {
$req = "";
foreach ( $data as $key => $value )
$req .= $key . '=' . urlencode( stripslashes($value) ) . '&';
... [truncated, 228 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "recaptchalib.inc.php",
"description": "PHP module for recaptchalib.inc",
"dateModified": "2007-11-29",
"dateCreated": "2025-03-23",
"contentSize": "9.5 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/recaptchalib.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 searchfunctions.inc.php (Php) 8.0 KB 2010-07-26
PHP module for searchfunctions.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once "/server/wwwroot/www.torrentrage.com/lib/config.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/sql.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/sphinxapi.inc.php";
function GenerateResultsSphinx( $SearchQuery, $page, $maxresults ){
$cl = new SphinxClient();
$q = $SearchQuery;
$sql = "";
$mode = SPH_MATCH_ALL;
$host = "localhost";
$port = 9312;
$index = "torrentrage";
$groupby = "";
$groupsort = "@group desc";
$filter = "group_id";
$filtervals = array();
$distinct = "";
$sortby = "";
$limit = $maxresults;
$ranker = SPH_RANK_PROXIMITY_BM25;
$select = "";
$docids = array();
//$mode = SPH_MATCH_ANY;
//$mode = SPH_MATCH_BOOLEAN;
//$mode = SPH_MATCH_EXTENDED;
$mode = SPH_MATCH_EXTENDED2;
//$mode = SPH_MATCH_PHRASE;
////////////
// do query
////////////
$cl->SetServer ( $host, $port );
$cl->SetConnectTimeout ( 3 );
$cl->SetArrayResult ( true );
$cl->SetWeights ( array ( 100, 1 ) );
$cl->SetMatchMode ( $mode );
$cl->SetFilter ( $filter, $filtervals );
$cl->SetGroupBy ( $groupby, SPH_GROUPBY_ATTR, $groupsort );
//$cl->SetSortMode ( SPH_SORT_EXTENDED, $sortby );
//$cl->SetSortMode ( SPH_SORT_ATTR_DESC );
$cl->SetGroupDistinct ( $distinct );
$cl->SetSelect ( $select );
$cl->SetLimits ( ( $page * $limit ), $limit, ( $limit>1000 ) ? $limit : 1000 );
... [truncated, 237 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "searchfunctions.inc.php",
"description": "PHP module for searchfunctions.inc",
"dateModified": "2010-07-26",
"dateCreated": "2025-03-23",
"contentSize": "8.0 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/searchfunctions.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 security.inc.php (Php) 2.0 KB 2010-04-12
PHP module for security.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once "/server/wwwroot/www.torrentrage.com/lib/config.inc.php";
/*
Remove Bad charcters from String
*/
function deleteSpecialChars($del_badchar) {
if ( strlen($del_badchar) > 256 ) {
# l?sche alles nach dem 200sten zeichen bei ?berlangen eingaben
$del_badchar = substr($del_badchar, 0, 256);
};
$del_badchar = preg_replace("/[^a-z0-9\s+-]/i", " ", $del_badchar);
$code_entities_match = array(' ','--','"','!','@','#','$','%','^','&','*','(',')','_','{','}','|',':','"','<','>','?','[',']','\\',';',"'",',','.','/','*','~','`','=','^');
$code_entities_replace = array(' ',' ','','','','','','','','','','','','','','','','','','','','','','','');
$del_badchar = str_replace($code_entities_match, $code_entities_replace, $del_badchar);
$del_badchar = addslashes($del_badchar);
$del_badchar = strip_tags($del_badchar);
$del_badchar = escapeshellcmd($del_badchar);
return $del_badchar;
}; # function deleteSpecialChars($del_badchar) {
function is_good( $string ){
global $BadWordArray;
$stopwordlist = STOPWORDLIST;
$BadWordArray = file($stopwordlist);
$string = title_plus($string); # functions.inc.php
$string = str_ireplace("+", " ", $string);
$PossibleBadArray = explode(" ", $string);
for ( $i = 0; $i<=count($PossibleBadArray); $i++){
$value = trim($PossibleBadArray[$i]);
for ( $a = 0; $a<=count($BadWordArray); $a++){
$value_filter = trim($BadWordArray[$a]);
// echo "checking input: '$value' with filter: '$value_filter' <br>";
if ( preg_match_all("/\b$value\b/i", $value_filter ,$matches ) ){
if ( strlen($value) >= 3 ) {
... [truncated, 16 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "security.inc.php",
"description": "PHP module for security.inc",
"dateModified": "2010-04-12",
"dateCreated": "2025-03-23",
"contentSize": "2.0 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/security.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 social.inc.php (Php) 1.9 KB 2010-04-24
PHP module for social.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once ("/server/wwwroot/www.torrentrage.com/lib/functions.inc.php");
require_once ("/server/wwwroot/www.torrentrage.com/lib/twitter.inc.php");
function makeShortUrl($SearchQuery){
// bit.ly api parameters
$username = "pornrage";
$password = "Se7C+!C00L@win";
$bitly_api = "R_d35b4a15e9854fa3c5076bfd81e10f01";
$longurl = "http://www.torrentrage.com/torrent/" .strtolower(title_plus($SearchQuery)) . ".html";
$longurl = urlencode($longurl);
/*
$rand = rand(1,2);
if ( $rand == 1 ){
$myshorturl = isgd($longurl);
//echo "isgd '$myshorturl' ";
} elseif ( $rand == 2 ){
$myshorturl = tinyUrl($longurl);
//echo "tinyurl '$myshorturl' ";
};
if ( strlen($myshorturl) >= 13 ){
return $myshorturl;
};
*/
$bitlyurl = "http://api.bit.ly/shorten?version=2.0.1&longUrl=$longurl&login=$username&apiKey=$bitly_api";
$returnContent = file_get_contents($bitlyurl);
$Array = explode('"', $returnContent);
$ShortUrl = $Array[25];
return $ShortUrl;
}; #function makeShortUrl(){
function postTwitter($url,$search){
$titter_user = "torrentrage";
$titter_pass = "torrentrage23";
$tweet = new Twitter($titter_user, $titter_pass);
//if ( strlen($url) < 7 ){
// http://www.torrentrage.com/torrent/annett.html
$url = "http://www.torrentrage.com/torrent/" .strtolower(title_plus($search)) . ".html";
... [truncated, 26 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "social.inc.php",
"description": "PHP module for social.inc",
"dateModified": "2010-04-24",
"dateCreated": "2025-03-23",
"contentSize": "1.9 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/social.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 sphinxapi.inc.php (Php) 43.4 KB 2009-11-07
PHP module for sphinxapi.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
//
// $Id: sphinxapi.php 2055 2009-11-06 23:09:58Z shodan $
//
//
// Copyright (c) 2001-2008, Andrew Aksyonoff. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License. You should have
// received a copy of the GPL license along with this program; if you
// did not, you can find it at http://www.gnu.org/
//
/////////////////////////////////////////////////////////////////////////////
// PHP version of Sphinx searchd client (PHP API)
/////////////////////////////////////////////////////////////////////////////
/// known searchd commands
define ( "SEARCHD_COMMAND_SEARCH", 0 );
define ( "SEARCHD_COMMAND_EXCERPT", 1 );
define ( "SEARCHD_COMMAND_UPDATE", 2 );
define ( "SEARCHD_COMMAND_KEYWORDS",3 );
define ( "SEARCHD_COMMAND_PERSIST", 4 );
define ( "SEARCHD_COMMAND_STATUS", 5 );
define ( "SEARCHD_COMMAND_QUERY", 6 );
/// current client-side command implementation versions
define ( "VER_COMMAND_SEARCH", 0x116 );
define ( "VER_COMMAND_EXCERPT", 0x100 );
define ( "VER_COMMAND_UPDATE", 0x102 );
define ( "VER_COMMAND_KEYWORDS", 0x100 );
define ( "VER_COMMAND_STATUS", 0x100 );
define ( "VER_COMMAND_QUERY", 0x100 );
/// known searchd status codes
define ( "SEARCHD_OK", 0 );
define ( "SEARCHD_ERROR", 1 );
define ( "SEARCHD_RETRY", 2 );
define ( "SEARCHD_WARNING", 3 );
/// known match modes
define ( "SPH_MATCH_ALL", 0 );
define ( "SPH_MATCH_ANY", 1 );
define ( "SPH_MATCH_PHRASE", 2 );
define ( "SPH_MATCH_BOOLEAN", 3 );
define ( "SPH_MATCH_EXTENDED", 4 );
define ( "SPH_MATCH_FULLSCAN", 5 );
define ( "SPH_MATCH_EXTENDED2", 6 ); // extended engine V2 (TEMPORARY, WILL BE REMOVED)
... [truncated, 1577 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "sphinxapi.inc.php",
"description": "PHP module for sphinxapi.inc",
"dateModified": "2009-11-07",
"dateCreated": "2025-03-23",
"contentSize": "43.4 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/sphinxapi.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 sql.inc.php (Php) 4.6 KB 2025-03-17
PHP module for sql.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once "/server/wwwroot/www.torrentrage.com/lib/config.inc.php";
### datenbank spezifische sachen
define('TORRENT_EN_TABLE', 'torrentrage');
define('TORRENT_TORRENTRAGE_TABLE', 'torrentrage');
# für den PR server
define('MYSQL_PR_HOST', 'localhost');
define('MYSQL_PR_USER', 'root');
define('MYSQL_PR_PASS', '');
define('MYSQL_PR_DATABASE', 'torrentrage');
define('MYSQL_TORRENTRAGE_DATABASE', 'torrentrage');
function SqlQuerySearchSphinx($ids){
// SELECT * FROM torrentrage WHERE `ID` IN ("5550005","9851125","271018")
$tbl = TORRENT_TORRENTRAGE_TABLE;
if (count($ids) <= 0 ){
$maxresults = MAXRESULTS;
return "SELECT * FROM $tbl LIMIT $maxresults;";
};
$string = "SELECT * FROM $tbl WHERE";
for ($i=0;$i<=count($ids) - 1;$i++){
if ($i>0){
$string .= "\"$ids[$i]\",";
} elseif($i<=0){
$string .= " `ID` IN (\"$ids[$i]\",";
};
};
$string = substr($string,0,(strlen($string)-1));
$string .=");";
return $string;
}; # function SqlQuerySearchSphinx($ids){
# build the sql query for getting all the restlichen new directory entries per category
function doQueryForAllResultCountNewDirectory($date){
# $NewsLimitResults = "SELECT DISTINCT TRIM(`categorys`) FROM pornragestreams;";
$tbl = TORRENT_EN_TABLE;
return "SELECT count(*) AS COUNT FROM $tbl WHERE `date` = \"$date\" LIMIT 1;";
}; # function doQueryForAllResultCountNewDirectory($date){
... [truncated, 112 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "sql.inc.php",
"description": "PHP module for sql.inc",
"dateModified": "2025-03-17",
"dateCreated": "2025-03-23",
"contentSize": "4.6 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/sql.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
🐘 twitter.inc.php (Php) 2.4 KB 2010-03-23
PHP module for twitter.inc
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "twitter.inc.php",
"description": "PHP module for twitter.inc",
"dateModified": "2010-03-23",
"dateCreated": "2025-03-23",
"contentSize": "2.4 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/twitter.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
dir/
(1 files) 🐘 dir.en.inc.php (Php) 13.3 KB 2010-07-16
PHP module for dir.en.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once "/server/wwwroot/www.torrentrage.com/lib/config.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/functions.inc.php";
function GenerateDirectoryIndexFile(){
_GenerateHtmlHeader(3, "", "");
_GenerateTailBlock();
}; # function GenerateGermanIndexFile(){
function CountLettersUp($letterstart){
$results = array();
$arr1 = str_split($letterstart);
$n = $arr1[0];
for ($b=65; $b<=90; $b++){
$letters = strtolower($n).strtolower(chr($b));
array_push($results,"$letters");
}; # for ($b=65; $b<=90; $b++){
return $results;
}; # function CountLettersUp($letterstart){
# show the navigation buttons
function ShowNaviButtons( $SearchQuery, $Page, $ResultCount ){
$results = CountLettersUp($SearchQuery);
echo '<div class="letters">';
foreach ( $results as $entry ){
$letterUP = strtoupper($entry);
echo "<a href=\"/torrentdirectory.php?d=$entry\" title=\"$entry\">$letterUP</a> ";
};
echo "</div>";
$CurrentPage = $Page;
$PageNext = $CurrentPage + 1;
$PageBack = $CurrentPage - 1;
$WellFormatedSearch = title_plus(strtolower($SearchQuery));
... [truncated, 292 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "dir.en.inc.php",
"description": "PHP module for dir.en.inc",
"dateModified": "2010-07-16",
"dateCreated": "2025-03-23",
"contentSize": "13.3 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/dir/dir.en.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
download/
(1 files) 🐘 download.inc.php (Php) 15.2 KB 2010-08-14
PHP module for download.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once "/server/wwwroot/www.torrentrage.com/lib/ads.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/sql.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/config.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/functions.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/searchfunctions.inc.php";
function GenerateDownloadIndexFile( $Filename, $ID ){
$SqlQuery = _buildQueryGetDonwloadLink($ID); # sql.inc.php
$MySqlArray = doSQLQuery( $SqlQuery );
if ( $MySqlArray ) {
$sql_results = mysql_fetch_array($MySqlArray);
$link = $sql_results["LINK"];
$torrent = $sql_results["TORRENT"];
$category = $sql_results["CATG"];
$infrigment = $sql_results["INFRIGMENT"];
}; // if ( $MySqlArray ) {
_GenerateHtmlHeader( $Filename, $link, $ID );
_GenerateHeadBlock( $Filename, $category );
_GenerateLeftSideContent( $Filename );
_GenerateDownloadContent( $Filename, $ID, $link, $torrent, $infrigment );
GenerateTail(); // functions.inc.php
}; # function GenerateLatestIndexFile( $Date ){
function _GenerateHtmlHeader( $Filename, $link, $ID ){
$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 );
$ids = array();
$plus = $ID;
$minus = $ID;
array_push($ids,$plus+1);
array_push($ids,$minus-1);
$SqlQuery = SqlQuerySearchSphinx($ids);
$MySqlArray = doSQLQuery( $SqlQuery );
... [truncated, 293 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "download.inc.php",
"description": "PHP module for download.inc",
"dateModified": "2010-08-14",
"dateCreated": "2025-03-23",
"contentSize": "15.2 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/download/download.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
index/
(1 files) 🐘 index.en.inc.php (Php) 13.3 KB 2010-10-12
PHP module for index.en.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once "/server/wwwroot/www.torrentrage.com/lib/sql.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/config.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/functions.inc.php";
require_once "/server/wwwroot/www.torrentrage.com/lib/ads.inc.php";
function GenerateEnglishIndexFile(){
_GenerateHtmlHeader();
_GenerateHeadBlock();
_GenerateFeatureDownload();
//_GenerateLatestTorrentsStartPage();
GenerateTail(); // functions.inc.php
}; # function GenerateGermanIndexFile(){
function _GenerateHtmlHeader(){
echo <<<END
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content= "INDEX,FOLLOW,ALL" />
<meta name="description" content= "TorrentRage.com is your Torrent Search Engine with all the Torrent News from all Major Torrent Download Sites - Download Movies,Games,Applications,Porn,Music & TV Series." />
<meta name="keywords" content="torrent, torrent search, torrent search engine, torrent downloads, bittorrent, porn torrent, sex torrent, movie torrents, games torrents, tv series torrents, music torrents, application torrents " />
<meta name="page-topic" content= "torrent search" />
<meta name="revisit-after" content= "1 days" />
<link href="/images/favicon.png" rel="SHORTCUT ICON" />
<script type="text/javascript" src="/js/lib.js"></script>
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.torrentrage.com/torrentrssfeeds.php" />
<link rel="stylesheet" type="text/css" href="/css/all.css" />
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="/css/ie.css"/><![endif]-->
<link rel="search" type="application/opensearchdescription+xml" href="/search.xml" title="TorrentRage.com" />
<meta name="google-site-verification" content="r0cVTyhsDh2jOIcDThsbtNQmIYXAbcb8MXcUbJKxd70" />
<title>Torrent Search - Torrent Downloads</title>
</head>
END;
return 1;
}; # function _GenerateMetaKeys(){
function _GenerateHeadBlock(){
... [truncated, 243 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "index.en.inc.php",
"description": "PHP module for index.en.inc",
"dateModified": "2010-10-12",
"dateCreated": "2025-03-23",
"contentSize": "13.3 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/index/index.en.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}
search/
(1 files) 🐘 search.inc.php (Php) 14.9 KB 2010-07-28
PHP module for search.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 | <?php
require_once ("/server/wwwroot/www.torrentrage.com/lib/searchfunctions.inc.php");
require_once ("/server/wwwroot/www.torrentrage.com/lib/functions.inc.php");
require_once ("/server/wwwroot/www.torrentrage.com/lib/config.inc.php");
require_once ("/server/wwwroot/www.torrentrage.com/lib/sql.inc.php");
require_once ("/server/wwwroot/www.torrentrage.com/lib/ads.inc.php");
function ShowResults( $ResultsArray, $SearchQuery, $Page ){
//print_R($ResultsArray);
$rapidurl = "http://www.rapidstorm.net/rapidshare/".title_plus(strtolower($SearchQuery)).".html";
$my_url = selfURL();
$my_encoded_url = urlencode($my_url);
$flirtpowerlink = buildFlirtpowerLink();
$tableheader =<<<END
<tr>
<th class="type">Type</th>
<th class="size">Date</th>
<th class="name">Name</th>
<th class="se">Seeder</th>
<th class="le">Leecher</th>
<th class="health">Freshness</th>
</tr>
END;
if ( count($ResultsArray) <= 0 ){
$sorry = "<h2>Sorry, we didn't find any matching documents!</h2>";
$tableheader = "";
};
echo <<<END
<div class="s-result">
<div class="pager">
<strong><h1><b>$SearchQuery Torrent Download Results</b> - Or try a Rapidshare Download: <a href="$rapidurl" title="$SearchQuery Rapidshare Search">$SearchQuery Rapidshare Download</a></h1></strong>
<table><tr>
Translate with Google into your language:
<td><a class="translate" href="http://translate.google.com/translate?u=$my_encoded_url&langpair=en%7Cfr&hl=en" target="_blank" rel="nofollow" title="French" ><img alt="French" border="0" align="absbottom" title="French" height="24" src="/images/translate/france-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a><td/>
<td><a class="translate" href="http://translate.google.com/translate?u=$my_encoded_url&langpair=en%7Cde&hl=en" target="_blank" rel="nofollow" title="German" ><img alt="German" border="0" align="absbottom" title="German" height="24" src="/images/translate/german-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a><td/>
<td><a class="translate" href="http://translate.google.com/translate?u=$my_encoded_url&langpair=en%7Ces&hl=en" target="_blank" rel="nofollow" title="Spain" ><img alt="Spain" border="0" align="absbottom" title="Spain" height="24" src="/images/translate/spain-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a><td/>
<td><a class="translate" href="http://translate.google.com/translate?u=$my_encoded_url&langpair=en%7Cit&hl=en" target="_blank" rel="nofollow" title="Italian" ><img alt="Italian" border="0" align="absbottom" title="Italian" height="24" src="/images/translate/italy-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a><td/>
<td><a class="translate" href="http://translate.google.com/translate?u=$my_encoded_url&langpair=en%7Cnl&hl=en" target="_blank" rel="nofollow" title="Dutch" ><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="24" src="/images/translate/dutch-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a><td/>
... [truncated, 267 more lines] ...
|
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "search.inc.php",
"description": "PHP module for search.inc",
"dateModified": "2010-07-28",
"dateCreated": "2025-03-23",
"contentSize": "14.9 KB",
"contentUrl": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/search/search.inc.php",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "Php"
},
"codeRepository": "https://www.artikelschreiber.com/opensource/torrentrage/www.torrentrage.com/lib/"
}