// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<tr class="windowbg2">
<td colspan="2" height="24" class="tborder" style="border-width: 1px 0 0 0; padding-left: 1ex;">
<b>', $txt[102], ':</b> ', $context['random_news_line'], '
</td>
</tr>';
if($context['user']['is_logged'])
echo '
<tr class="windowbg2"><td colspan="2"><table align="left"><tr><td style="padding-left: 15px;"><a href="index.php?action=unread"><font size="-2">Show unread posts since last visit.</font></a></td></tr></table><table align="right"><tr><td style="padding-right: 15px;"><a href="index.php?action=unreadreplies"><font size="-2">Show new replies to your posts.</font></a></td></tr></table></td></tr>';
echo '</table>
Strictly speaking this should use the reference to $txt but I can't remember what id it should be.