(http://i276.photobucket.com/albums/kk39/apllic/sshot-3-12.png)
Pesquisar
// 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>
Subsituir por
// 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>';
// Konu reyting by rallyproco
if ($topic['replies'] <= 100)
{
echo '
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />';
}
elseif($topic['replies'] <= 200)
{
echo '
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />';
}
elseif($topic['replies'] <= 300)
{
echo '
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />';
}
elseif($topic['replies'] <= 400)
{
echo '
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />';
}
elseif($topic['replies'] <= 500)
{
echo '
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />';
}
elseif($topic['replies'])
{
echo '
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />
<img align="right" src="' . $settings['images_url'] . '/gold.gif" border="0" />';
}
echo '
<small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small></td>
as estrelas estao no Anexo