topdown_torrents.php после
Код: Выделить всё
$sql="SELECT
a.attach_id, a.post_msg_id, a.extension, a.real_filename, a.physical_filename, a.i_width, a.i_height, a.i_external, tt.topic_title, tt.topic_id, tt.forum_id, tt.topic_first_post_id
Код: Выделить всё
, tt.topic_type
Код: Выделить всё
foreach($torrents_posters as $k => $v)
{
Код: Выделить всё
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$phpbb_seo->set_url('', $v['forum_id'], 'forum');
$phpbb_seo->prepare_iurl($v, 'topic', $v['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$v['forum_id']]);
// www.phpBB-SEO.com SEO TOOLKIT END