/* 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); // the query to fetch the cat details $result = mysql_query("SELECT * FROM categories WHERE catid='".strip_tags(trim($_GET['id']))."' ORDER BY subname ASC") or die (mysql_error()); $result_catname = mysql_query("SELECT DISTINCT (name) FROM categories WHERE catid='".strip_tags(trim($_GET['id']))."'") or die (mysql_error()); // die if dont exist if (mysql_num_rows($result)== 0) { stheader('Category not found!'); echo '
Category | Torrents | Rss |
---|---|---|
'; echo $torrents; echo ' | '; echo ''.$name.' :: '; echo $subname; echo ' | '; echo ''; echo ''; echo ' | '; echo '