* @link    		http://www.pioder.pl/
* @license	see LICENSE.txt
**/
if ( !defined('IN_uF') )
{
	die('Hacking attempt');
}
class Admin_Forum
{
	function AddCats($fid)
	{
		global $forum_config;
		$cat = Forum::ForumInformation($fid,'c_id');
		$all='';
		$query = DataBase::sql_query("SELECT `name`, `c_id` FROM `".CATS_TABLE."`",GENERAL,'Could not obtain category information');
		while($t = DataBase::fetch($query))
		{
		
			if ($t['c_id']==$cat)
			{
				$all .=	''."\n";
			}
			else
			{
				$all .=	''."\n";
			}
		}
		return $all;
		unset($t, $all);
	}
}
?>