SMF 2.0.x (Módulos Manual) > Visual
Tópicos recentes em diferentes lugares
(1/1)
candidosa2:
index.template.php
--- Código: ---// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<div id="random_news"><h3>', $txt['news'], ':</h3><p>', $context['random_news_line'], '</p></div>';
--- Fim de Código ---
--- Código: ---// Kayan Son Konular iy10 update candidosa2
echo '
<marquee behavior="scroll" scrollamount="3" onMouseOver="this.stop()" onMouseOut="this.start()">';
foreach ($context['latest_posts'] as $post)
echo '
<table><tr><td class="middletext" valign="top" nowrap="nowrap"><strong>', $post['link'], '</strong> ', $txt['by'], ' ', $post['poster']['link'], ' (', $post['board']['link'], ') ', $post['time'], ' </td></tr></table>';
echo ' </marquee>';
--- Fim de Código ---
Navegação
Ir para versão completa