Do you use vbadvanced? If so, you can achieve what you are after with ease on your forum pages or you can use the following.
Code:
<tr>
<td class="$bgclass">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="alt1" style="text-align:justify">
<script type="text/javascript" src="external.php?type=js"></script> <script language="" type="text/javascript"> <!--
for (var x in threads)
{
document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"&goto=newpost\"><img class=\"inlineimg\" src=\"$stylevar[imgdir_button]/lastpost.gif\" alt=\"$vbphrase[go_to_last_post]\" border=\"0\" /></a> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <br />");
}
//--> </script> </td>
</tr>
</table>
</td>
</tr>