function JacoZ_phpBB_Last_Message()
{
global $table_prefix, $location;
$sql = "SELECT topic_id, topic_title FROM {$table_prefix}topics ORDER BY topic_id DESC";
$query = mysql_query($sql);
$result = mysql_fetch_array($query);
$return = "<a href=\"{$location}viewtopic.php?t=" . $result['topic_id'] . "\">" .$result['topic_title'] . "</a><br>";
return $return;
}