0 Membros e 2 Visitantes estão a ver este tópico.
global $scripturl, $settings, $context, $txt; $what = ssi_recentTopics('10', NULL, 'array'); echo ' <div class="tabsmenucontent" style="padding: 3px"> <table border="1" width="100%" cellspacing="1" cellpadding="1" class="bordercolor"> <tr class="catbg"> <td valign="middle"><span class="smalltext" ><font color="#FFFFFF">Última resposta Topicos</font></td> <td valign="middle"><span class="smalltext" ><font color="#FFFFFF">Seção resposta</font></td> <td valign="middle"><span class="smalltext" ><font color="#FFFFFF">estatística</font></td> <td valign="middle"><span class="smalltext" ><font color="#FFFFFF">Enviado</font></td> <td valign="middle"><span class="smalltext" ><font color="#FFFFFF">História</font></td> </tr>'; foreach ($what as $topic) { echo ' <tr><td class="roundframe" valign="middle">', $topic['link']; // Is this topic new? (assuming they are logged in!) if (!$topic['new'] && $context['user']['is_logged']) echo ' <a href="', $scripturl, '?topic=', $topic['topic'], '.from', $topic['time'], '#new"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>'; echo ' </td> <td class="roundframe" valign="middle" align="left" width="24%">', $topic['board']['link'], '</td> <td class="roundframe" valign="middle" align="right" width="2%">', $txt['replies'], ':', $topic['replies'], '<br>', $txt['views'], ':', $topic['views'], ' </td> <td class="roundframe" valign="middle" align="left" width="2%">', $topic['poster']['link'], '</td> <td class="roundframe" valign="middle" align="center" width="2%">', $topic['time'], '</td>'; }echo ' </td> </tr> </table> </div>';