0 Membros e 1 Visitante estão a ver este tópico.
// Show links to all the pages? if (count($tmppages) <= 5) $pages = '« ' . implode(' ', $tmppages); // Or skip a few? else $pages = '« ' . $tmppages[0] . ' ' . $tmppages[1] . ' ... ' . $tmppages[count($tmppages) - 2] . ' ' . $tmppages[count($tmppages) - 1]; if (!empty($modSettings['enableAllMessages']) && $topic_length < $modSettings['enableAllMessages']) $pages .= ' <a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0;all">' . $txt[190] . '</a>'; $pages .= ' »'; } else $pages = '';
// Show links to all the pages? if (count($tmppages) <= 5) $pages = '[ Pages: ' . implode(', ', $tmppages); // Or skip a few? else $pages = '[ Pages: ' . $tmppages[0] . ' ' . $tmppages[1] . ' ... ' . $tmppages[count($tmppages) - 2] . ' ' . $tmppages[count($tmppages) - 1]; if (!empty($modSettings['enableAllMessages']) && $topic_length < $modSettings['enableAllMessages']) $pages .= ', <a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0;all">' . $txt[190] . '</a>'; $pages .= ' ]'; } else $pages = '';
// Is this topic new? (assuming they are logged in!) if ($topic['new'] && $context['user']['is_logged']) echo ' <a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" /></a>'; echo ' <small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small> </td> <td class="windowbg2" valign="middle" width="14%"> ', $topic['first_post']['member']['link'], ' </td> <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center"> ', $topic['replies'], ' </td> <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center"> ', $topic['views'], ' </td> <td class="windowbg2" valign="middle" width="22%"> <a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a> <span class="smalltext"> ', $topic['last_post']['time'], '<br /> ', $txt[525], ' ', $topic['last_post']['member']['link'], ' </span> </td>';
// Is this topic new? (assuming they are logged in!) if ($topic['new'] && $context['user']['is_logged']) echo ' <a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" /></a>'; echo '<br /> <small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small> </td> <td class="windowbg2" valign="middle" width="14%"> ', $topic['first_post']['member']['link'], ' </td> <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center"> ', $topic['replies'], ' </td> <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center"> ', $topic['views'], ' </td> <td class="windowbg2" valign="middle" width="22%"> <a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a> <span class="smalltext"> ', $topic['last_post']['time'], '<br /> ', $txt[525], ' ', $topic['last_post']['member']['link'], ' </span> </td>';