/* Project : T-Xore version 0.0.4 released on 06/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); $sort = tsort ($_GET['sort']); $result = mysql_query("SELECT * FROM torrents LEFT JOIN categories ON torrents.subcat = categories.subid WHERE subid = '".strip_tags(trim($_GET['id']))."' $sort") 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 '