/* Project : T-Xore version 0.0.3 released on 03/2006 By Bogaa This piece of software is free to use by anyone and may be redistributed and modified by anyone in any way. We can't be held liable for damage or copyright infringement claims. Read the documentation! Bogaa's Homepage : http://www.meganova.org Project Homepage : http://www.devnova.org */ require_once "config.php"; connect ($dbhost, $dbuser, $dbpass, $database); $result = mysql_query("SELECT * FROM torrents LEFT JOIN categories ON torrents.subcat = categories.subid WHERE subid = '".strip_tags(trim($_GET['id']))."' ORDER BY added DESC") or die (mysql_error()); $result_subcatname = mysql_query("SELECT DISTINCT name,catid,subname,subid FROM categories WHERE subid='".strip_tags(trim($_GET['id']))."'") or die (mysql_error()); $count = mysql_num_rows($result); $namerow = mysql_fetch_row($result_subcatname); // Non htmlentities are allowed in title (converted automaticly by function stheader ('Sub category : '.$namerow[0].' > '.$namerow[2]); if ($count == 0){ echo '
Date | Filename | Size | Seeds | Peers |
---|---|---|---|---|
'.substr($added,-9).' | '; echo ''.regicon($registration,$tracker).' '.desc($description).''.$torrentname.' | '; echo ''.torsize($size).' | '; echo ''.getpeer($seeds).' | '; echo ''.getpeer($peers).' | '; echo '