Добавлено спустя 59 минут 23 секунды:
PPK thanks"Спасибо" now work !
Do you now how to fix that :
Код: Выделить всё
<!--//Sanya modified for ppkbb3cker-->
<a name="lt"></a>
<!-- IF LATEST_TORR_COUNT -->
<!-- IF S_AS_MESSAGES -->
{$C_BLOCK_H_L}<dt>{L_LATEST_TORRENTS}</dt>{$C_BLOCK_H_R}
<div class="postbody" style="width: 100%">
<div class="post bg2" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span>
<script type="text/javascript">var k = 1;</script>
<table style="width:100%" cellpadding="1" cellspacing="1">
<!-- BEGIN torrents_row -->
<script type="text/javascript">
if (k==1) {document.write('<tr>')}
k = k+1;
if (k>2) k -= 3;
</script>
<td class="cat" align="center" style="width:33%" >
<table style="width:100%" cellpadding="1" cellspacing="1">
<tr>
<td class="cat" align="center">
<div class="myblock" style="text-align:center;width:auto;margin:5px 0px;">
<div class="inner"><span class="mycorners-top"><span></span></span>
<a href="{torrents_row.U_VIEW_COMMENTS}"><h4 style="height:30px;">{torrents_row.TITLE}</h4></a>
<span class="mycorners-bottom"><span></span></span></div>
</div>
</td>
</tr>
<tr>
<!-- IF torrents_row.S_LTDISPLAY -->
<td valign="top" style="width:160px;height:230px;text-align:center;">
<!-- IF .torrents_row.torrent_poster_fields -->
<!-- BEGIN torrent_poster_fields -->
<img src="{torrents_row.torrent_poster_fields.POSTER_SRC}" alt="" style="width:150px;height:auto;"/>
<!-- END torrent_poster_fields -->
<!-- ELSE -->
<img src="./images/tracker/file.png" alt="" style="width:150px;height:auto;"/>
<!-- ENDIF -->
<!-- ENDIF -->
<br>
<!-- IF torrents_row.TORRENT_FREE_IMG -->
<strong>{L_TORRENT_FREE}</strong>: {torrents_row.TORRENT_FREE}%
<!-- ENDIF -->
</td>
</tr>
<tr>
<td style="width:160px;height:100px;text-align:center;">
<strong>{L_POSTED_BY}</strong>: {torrents_row.POSTER}, {torrents_row.TIME}<br>
<strong>{L_TORRENT_SIZE}</strong>: {torrents_row.TORRENT_SIZE_VAL}<br>
<img src="./images/tracker/u_16.png" alt="" title="{L_TORRENT_SEEDERS}" style="width:16px;height:auto;"/><b> {torrents_row.TORRENT_SEEDERS_VAL}</b>
<img src="./images/tracker/d_16.png" alt="" title="{L_TORRENT_LEECHERS}" style="width:16px;height:auto;"/><b> {torrents_row.TORRENT_LEECHERS_VAL}</b>
<img src="./images/tracker/s_16.png" alt="" title="{L_TORRENT_COMPLETED}" style="width:16px;height:auto;"/><b> {torrents_row.TORRENT_COMPLETED_VAL}</b>
<img src="./images/tracker/z_16.png" alt="" title="{L_TORRENT_HEALTH}" style="width:16px;height:auto;"/><b> {torrents_row.TORRENT_HEALTH_VAL}%</b><br>
<img src="./images/tracker/p_16.png" alt="" title="{L_TOPIC_VIEWS}" style="width:16px;height:auto;"/><b> {torrents_row.TOPIC_VIEWS}</b>
<img src="./images/tracker/c_16.png" alt="" title="{L_COMMENTS}" style="width:16px;height:auto;"/><b> {torrents_row.REPLIES}</b><br>
</td>
</tr>
<tr>
<td class="cat" align="center">
<div class="myblock" style="text-align:center;width:auto;margin:5px 0px;">
<div class="inner"><span class="mycorners-top"><span></span></span>
<h4 style="height:15px;">{L_LATEST_TORRENTS_IN}:<a href="{torrents_row.TORRENT_FORUM_LINK}">{torrents_row.TORRENT_FORUM_NAME}</a></h4></a>
<span class="mycorners-bottom"><span></span></span></div>
</div>
</td>
</tr>
</table>
<hr>
</td>
<script type="text/javascript">
if (k==3) document.write('</tr>');
</script>
<!-- END torrents_row -->
</table>
<!-- IF PAGINATION or PAGE_NUMBER -->
<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>
<!-- ENDIF -->
<span class="portal-corners-bottom-inner"></span></div>
</div>
</div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ENDIF -->
<!-- ENDIF -->
постеры где находятся?, загружены на сервер/внешние постеры/в тексте сообщения?GENERALVIP писал(а):Почему то постеры не выводятся... 44 Обновление стоит у меня.
Ограничить где?GENERALVIP писал(а):Как ограничить количество выводимых символов?
Код: Выделить всё
'TITLE' => $fetch_announcements[$i]['topic_title'],
Код: Выделить всё
'TITLE' => utf8_strlen($fetch_announcements[$i]['topic_title']) > 10 ? utf8_substr($fetch_announcements[$i]['topic_title'], 0, 10).' ..' : $fetch_announcements[$i]['topic_title'],
Код: Выделить всё
<a name="lt"></a>
<!-- IF LATEST_TORR_COUNT -->
<!-- IF S_AS_MESSAGES -->
<link rel="stylesheet" href="{PPKBB3CKER_ADDONS}css/tabber.css" type="text/css" />
<script src="{PPKBB3CKER_ADDONS}js/tabber.js" type="text/javascript"></script>
{$C_BLOCK_H_L}<dt>Наши Релизы</dt>{$C_BLOCK_H_R}
<div class="postbody" style="width: 100%">
<div class="post bg2" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span>
<script type="text/javascript">var k = 1;</script>
<table style="width:100%" cellpadding="1" cellspacing="1">
<!-- BEGIN torrents_row -->
<script type="text/javascript">
if (k==1) {document.write('<tr>')}
k = k+1;
if (k>2) k -= 3;
</script>
<td class="cat" align="center" style="width:33%"><table style="width:100%" cellpadding="1" cellspacing="1"><tr>
<!-- IF torrents_row.S_LTDISPLAY and torrents_row.S_HAS_TRACKER_POSTER -->
<td valign="top" style="width:160px;height:230px;text-align:center;">
<!-- IF .torrents_row.torrent_poster_fields -->
<!-- BEGIN torrent_poster_fields -->
<a href="{torrents_row.U_VIEW_COMMENTS}"><img src="{torrents_row.torrent_poster_fields.POSTER_SRC}" alt="{torrents_row.TITLE}" style="width:180px;height:250px;" title="{torrents_row.TITLE}"/></a>
<a href="{torrents_row.U_VIEW_COMMENTS}"><h4 style="height:30px;">{torrents_row.TITLE}</h4></a>
<!-- END torrent_poster_fields -->
<!-- ELSE -->
<!-- ENDIF -->
<!-- ENDIF -->
<br>
<!-- IF torrents_row.TORRENT_FREE_IMG -->
<!-- ENDIF -->
</td></tr><tr><td style="width:160px;height:100px;text-align:center;">
<img src="./images/tracker/data.png" alt="Дата заливки" title="Дата заливки" style="width:16px;height:auto;"/> <b>{torrents_row.TIME}</b><br>
<img src="./images/tracker/filesize.png" alt="Размер релиза" title="Размер релиза" style="width:16px;height:auto;"/> <b>{torrents_row.TORRENT_SIZE_VAL}</b> {torrents_row.FREE_STAT}<br>
<img src="./images/tracker/arrowup1.gif" alt="" title="{L_TORRENT_SEEDERS}" style="width:16px;height:auto;"/><b> {torrents_row.TORRENT_SEEDERS_VAL}</b>
<img src="./images/tracker/arrowdown1.gif" alt="" title="{L_TORRENT_LEECHERS}" style="width:16px;height:auto;"/><b> {torrents_row.TORRENT_LEECHERS_VAL}</b>
<img src="./images/tracker/accept.png" alt="" title="{L_TORRENT_COMPLETED}" style="width:16px;height:auto;"/><b> {torrents_row.TORRENT_COMPLETED}</b>
<img src="./images/tracker/vi.png" alt="" title="{L_TOPIC_VIEWS}" style="width:16px;height:auto;"/><b> {torrents_row.TOPIC_VIEWS}</b>
<img src="./images/tracker/comments.png" alt="" title="{L_COMMENTS}" style="width:16px;height:auto;"/><b> {torrents_row.REPLIES}</b><br>
</td></tr></table><hr></td>
<script type="text/javascript">
if (k==3) doc
ument.write('</tr>');
</script>
<!-- END torrents_row -->
</table></div></div>
<div class="topic-actions"><div class="pagination">
{TP_TOTAL_TORRENTS}
<!-- IF TP_PAGE_NUMBER --><!-- IF TP_PAGINATION --> • {TP_PAGE_NUMBER} • <span>{TP_PAGINATION}</span><!-- ELSE --> • {TP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
</div></div></div>
<!-- ENDIF -->
<!-- ELSE -->
{L_NO_LATEST_TORRENTS}
<!-- ENDIF -->
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Вернуться в «Готовые моды для трекера»