', $context['page_title'], '';
Global $boardurl;
echo '
';
// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
';
/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
';
// Show all the relative links, such as help, search, contents, and the like.
echo '
';
// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
';
// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
';
// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
';
// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
{
$options['collapse_header'] = !empty($_COOKIE['upshrink']);
$options['collapse_header_ic'] = !empty($_COOKIE['upshrinkIC']);
}
// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '
';
// the routine for the info center upshrink
echo '
';
// Body
echo '
';
echo '
';
if($context['user']['is_logged'])
{
echo'
', $context['user']['name'] , ', ', $txt['welcome_member'], '';
// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo ' ', $txt['member_personal_message'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'], '.';
echo'
', $txt['unread_since_visit'], ' ', $txt['show_unread_replies'], '';
}
else
{
echo '
';
}
echo'
',template_menu(),'
';
echo '
';
// Body2
echo '
';
}
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
echo '
';
echo '
';
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
';
// Show the load time?
if ($context['show_load_time'])
echo '
', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '';
// This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough.
if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'] || $context['browser']['is_firefox'])
{
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
echo '
';
}
// The following will be used to let the user know that some AJAX process is running
echo '