<?php $b = $tVars['board']; $b instanceof GWF_ForumBoard; $user = GWF_Session::getUser(); $is_mod = GWF_User::isInGroupS('moderator'); ?> <!-- Banner Ads --> <?php echo GWF_Website::getBanners('forum', 'forum'); ?> <hr/> <!-- Title --> <?php $options = GWF_User::isLoggedIn() ? GWF_Button::options($tVars['href_options'], $tLang->lang('btn_options')) : ''; $bell = GWF_Button::bell($tVars['href_unread'], $tLang->lang('btn_unread')); $newthreads = $tVars['unread_threads'] > 0 ? sprintf('[%s]', $tVars['unread_threads']) . $bell : ''; $search = GWF_Button::search($tVars['href_search'], $tLang->lang('btn_search')); $pollsbtn = GWF_Button::generic($tLang->lang('btn_polls'), $tVars['href_polls']); ?> <h1><?php echo $options . $tLang->lang('forum_title') . $search . $newthreads . $pollsbtn; ?> </h1> <hr/>