<?php
$consulta=$db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE uid=".$thread['uid']."");
$autinf=$db->fetch_array($consulta);
$threadavatar= $autinf['avatar'];
$threadtime = my_date($mybb->settings['timeformat'], $thread['dateline']);
$threaddate = my_date($mybb->settings['dateformat'], $thread['dateline']);
?>
Avatar = {$threadavatar}
Fecha y Hora = {$threaddate} {$threadtime}