Код: Выделить всё
'TORRENTS_COUNT' => $i,
'S_LTDISPLAY' => $ltdisplay_opt[3] && $ltdisplay ? 1 : 0,
Код: Выделить всё
'TOPIC_FORUM_IMG' => $fetch_announcements[$i]['forum_image'] ? '<img src="' . $phpbb_root_path . $fetch_announcements[$i]['forum_image'] . '"/>' : '',
'TORRENT_SEEDERS_VAL' => $fetch_announcements[$i]['seeders'] ? '<a href="'.append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $a_fid . '&t=' . $fetch_announcements[$i]['topic_id'].'&opt=seed#opt').'">'.intval(@$fetch_announcements[$i]['seeders']).'</a>' : '',
'TORRENT_LEECHERS_VAL' => $fetch_announcements[$i]['leechers'] ? '<a href="'.append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $a_fid . '&t=' . $fetch_announcements[$i]['topic_id'].'&opt=leech#opt').'">'.intval(@$fetch_announcements[$i]['leechers']).'</a>' : '',
'TORRENT_COMPLETED_VAL' => $fetch_announcements[$i]['times_completed'] ? '<a href="'.append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $a_fid . '&t=' . $fetch_announcements[$i]['topic_id'].'&opt=finished#opt').'">'.intval(@$fetch_announcements[$i]['times_completed']).'</a>' : '',
'TORRENT_SIZE_VAL' => $fetch_announcements[$i]['size'] ? '<a href="'.append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $a_fid . '&t=' . $fetch_announcements[$i]['topic_id'].'&opt=filelist#opt').'">'.get_formatted_filesize(@$fetch_announcements[$i]['size']).'</a>' : '???',
'TORRENT_HEALTH_VAL' => $fetch_announcements[$i]['seeders'] && $fetch_announcements[$i]['leechers'] ? '<a href="'.append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $a_fid . '&t=' . $fetch_announcements[$i]['topic_id'].'&opt=leave#opt').'">'.get_torrent_health(@$fetch_announcements[$i]['seeders'], @$fetch_announcements[$i]['leechers']).'</a>' : '',
Код: Выделить всё
p.enable_smilies,
p.enable_bbcode,
p.enable_magic_url,
p.bbcode_bitfield,
Код: Выделить всё
tr.seeders,
tr.times_completed,
tr.leechers,
tr.size,
f.forum_image,
Код: Выделить всё
FROM
Код: Выделить всё
' . FORUMS_TABLE . ' AS f,
Код: Выделить всё
' . $post_time . "
Код: Выделить всё
f.forum_id = t.forum_id AND
Код: Выделить всё
$posts[$i]['topic_views'] = ($row['topic_views']);
Код: Выделить всё
$posts[$i]['seeders'] = ($row['seeders']);
$posts[$i]['times_completed'] = ($row['times_completed']);
$posts[$i]['leechers'] = ($row['leechers']);
$posts[$i]['size'] = ($row['size']);
$posts[$i]['forum_image'] = ($row['forum_image']);
Код: Выделить всё
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<th>{L_LATEST_TORRENTS}</th>
</tr>
<tr class="row1">
<td>
<!-- IF LATEST_TORR_COUNT -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th colspan="2" nowrap="nowrap"> {L_TOPICS} </th>
<th nowrap="nowrap"> {L_AUTHOR} </th>
</tr>
<!-- BEGIN torrents_row -->
<tr valign="middle">
<td class="row1" width="25" align="center">
{torrents_row.TOPIC_FORUM_IMG}
</td>
<td class="row1">
<!-- IF torrents_row.S_HAS_TRACKER_POSTER -->
<!-- BEGIN torrent_poster_fields -->
<a href="{torrents_row.U_VIEW_COMMENTS}" title='<img{torrents_row.torrent_poster_fields.POSTER_WH} src="{torrents_row.torrent_poster_fields.POSTER_SRC}" alt="" />'><strong>{torrents_row.TITLE}</strong></a>
<!-- END torrent_poster_fields -->
<!-- ELSE -->
<a href="{torrents_row.U_VIEW_COMMENTS}" alt=""><strong>{torrents_row.TITLE}</strong></a>
<!-- ENDIF -->
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr class="cat">
<td width="17%" nowrap="nowrap">{L_TORRENT_SEEDERS}: <b>{torrents_row.TORRENT_SEEDERS_VAL}</b></td>
<td width="18%" nowrap="nowrap">{L_TORRENT_LEECHERS}: <b>{torrents_row.TORRENT_LEECHERS_VAL}</b></td>
<td width="19%" nowrap="nowrap">{L_TORRENT_COMPLETED}: <b>{torrents_row.TORRENT_COMPLETED_VAL}</b></td>
<td width="26%" nowrap="nowrap">{L_TORRENT_SIZE}: <b>{torrents_row.TORRENT_SIZE_VAL}</b> {torrents_row.TORRENT_SIZE_LANG}</td>
<td width="20%" nowrap="nowrap">{L_TORRENT_HEALTH}: <b>{torrents_row.TORRENT_HEALTH_VAL}</b>%</td></tr>
</table>
</td>
<td class="row2" width="100" align="center"><strong><a href="{torrents_row.U_USER_PROFILE}">{torrents_row.POSTER}</a></strong></td>
</tr>
<!-- END torrents_row -->
</table>
<!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
<span style="float: right;"><div class="pagination">
<!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a>
• <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF -->
</div>
</span>
<!-- ENDIF -->
<!-- ELSE -->
{L_NO_LATEST_TORRENTS}
<!-- ENDIF -->
</td>
</tr>
</table>
<br />
Код: Выделить всё
<!-- IF S_TRACKER_CENTER -->
<!-- INCLUDE portal/block/ppkBB3cker_ltorrents.html -->
<!-- ENDIF -->
Код: Выделить всё
<!-- IF S_TRACKER_CENTER -->
<!-- INCLUDE portal/block/ppkBB3cker_ltorrents_compact.html -->
<!-- ENDIF -->
manual
manual
shotgun
Likan_TM
приемлем, только я сделаю чуть ближе к обычному виду, т.е. чтобы иконка скачивания торрента там была и т.д.manual писал(а):Если этот вариант приемлим для трекера могу добавить управление выбором между вариантами отображения в Админчасть.
PPK
я сознательно эти иконки не ставил. я просто считаю, что дополнительный переход на страничку скачивания это дополнительный показ рекламы.PPK писал(а):приемлем, только я сделаю чуть ближе к обычному виду, т.е. чтобы иконка скачивания торрента там была и т.д.
manual
gasan
конечно, было бы не плохоgasan писал(а):Было бы не плохо если сделать в разделе "Все торренты"
manual
TEK
чья эта статистика ? показывает ниже хедера, а я даж не зарегенился))Трекер: Раздал 22.39 Гб / Скачал 72.09 Гб - Ратио 0.311
BitmasteR