i help out the guy who owns it, but is this more what your looking for? just put this inside any php file where you want the text to go
PHP Code:
$getthreads = $DB_site->query('SELECT threadid, title, lastposter, lastpost FROM thread ORDER BY dateline DESC LIMIT 10');
print '<table>';
while($threads = $DB_site->fetch_array($getthreads)) {
print '<tr><td><a href="FORUMURL/showthread.php?s='.$session['sessionhash'].'&goto=newpost&threadid='.$threads['threadid'].'">'.$threads['title'].'</a><br />';
print 'Last Post by: '.$threads['lastposter'].'<br />';
print 'Posted on: '.vbdate($dateformat, $threads['lastpost']).'</td></tr>';
}
print '</table>';