<?php
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}
{$avatar_usuario}
<div>
<table><tr><td id="tvatar"></td><td>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}<br><font color="grey" class="smalltext"> Iniciado por:</font> {$thread['profilelink']}</td></tr></table>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}"><img src="images/lastpost-right.png" /></a> {$lastposterlink}</span>
</td>
{$modbit}
</tr>
<?php
<br/>
<span class="smalltext">
<font COLOR="#8F8F90" face="Trebuchet MS">{$icono} {$prefijo} <a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />
{$lang->by} {$lastpost_profilelink} <a href="{$lastpost_link}"><img src="images/lastpost-right.png" /></a>
<br />
{$lastpost_date} {$lastpost_time}
<br />
</font></span>
<?php
<table border ="0">
<tr>
<td align="right" width="20%">$forum['lastposter_avatar']</td>
<td align="left" width="80%">
<span class="smalltext">
<font COLOR="#8F8F90" face="Trebuchet MS">{$icono} {$prefijo} <a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />
{$lang->by} {$lastpost_profilelink} <a href="{$lastpost_link}"><img src="images/lastpost-right.png" /></a>
<br />
{$lastpost_date} {$lastpost_time}
<br />
</font></span>
</td>
</tr>
</table>
<?php
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$avatar_usuario}</td>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}{$icon}
<div>
<table><tr><td id="tvatar"></td><td>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}<br><font color="grey" class="smalltext"> Iniciado por:</font> {$thread['profilelink']}</td></tr></table>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<table border="0">
<tr>
<td align="right" width="20%">{$avatar_usuario2}</td>
<td align="left" width="80%"></td><span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}"><img src="images/lastpost-right.png" /></a> {$lastposterlink}</span></td>
</tr>
</table>
</td>
{$modbit}
</tr>
<?php
global $tid;
$thread = get_thread($tid);
$user = get_user($thread['uid']);
$avatar = "<img src=\"".$user[avatar]."\" alt=\"".$user[username]."\" title=\"".$user[username]."\" />";