<{$lang_forum_index}>

<{*-- irmtfan hardcode removed align="left" --*}>
<{$smarty.const._MD_FORUMHOME}> » <{$category.title}> <{if $parentforum}> <{foreach item=forum from=$parentforum}> » <{$forum.forum_name}> <{/foreach}> <{/if}> » <{$forum_name}> » <{$topic_title}> <{if $topicstatus}><{$topicstatus}><{/if}>

<{if $tagbar}>
<{includeq file="db:tag_bar.tpl"}>
<{/if}>
<{if $online}>
<{$smarty.const._MD_BROWSING}>  <{foreach item=user from=$online.users}> <{if $user.level eq 2}> <{$user.uname}> <{elseif $user.level eq 1}> <{$user.uname}> <{else}> <{$user.uname}> <{/if}>   <{/foreach}> <{if $online.num_anonymous}>  <{$online.num_anonymous}> <{$smarty.const._MD_ANONYMOUS_USERS}> <{/if}>

<{/if}> <{if $viewer_level gt 1}>
<{if $mode gt 1}> <{*-- irmtfan mistype forum_posts_admin => form_posts_admin - action="topicmanager.php" => action="action.post.php" --*}>
<{$smarty.const._ALL}>: <{*-- irmtfan mistype mode => op --*}> | <{$smarty.const._MD_TYPE_VIEW}> <{else}> <{$smarty.const._MD_TYPE_ADMIN}> | <{$smarty.const._MD_TYPE_PENDING}> | <{$smarty.const._MD_TYPE_DELETED}> <{/if}>

<{/if}>

<{* irmtfan add $mode to not show polls in admin mode *}> <{if ($mode lte 1) && $topic_poll}> <{if $topic_pollresult}> <{includeq file="db:newbb_poll_results.html" poll=$poll}> <{else}> <{includeq file="db:newbb_poll_view.html" poll=$poll}> <{/if}> <{/if}>

<{$down}><{$smarty.const._MD_BOTTOM}>  <{$previous}> <{$smarty.const._MD_PREVTOPIC}>  <{$next}> <{$smarty.const._MD_NEXTTOPIC}> <{$forum_reply}> <{$forum_addpoll}> <{$forum_post_or_register}>

<{* -- irmtfan hardcode removed style="float: right; text-align:right;" --*}>
<{$forum_page_nav|replace:'form':'div'|replace:'id="xo-pagenav"':''}>


<{if $viewer_level gt 1 && $topic_status == 1}>
<{$smarty.const._MD_TOPICLOCK}>

<{/if}> <{*-- irmtfan remove here and move to the newbb_thread.html <{if $post_id == 0}>
<{/if}> --*}> <{foreach item=topic_post from=$topic_posts}> <{includeq file="db:newbb_thread.html" topic_post=$topic_post mode=$mode}>

<{foreachelse}>
<{$smarty.const._MD_ERRORPOST}>
<{/foreach}> <{if $mode gt 1}> <{/if}>
<{$smarty.const._MD_FORUMHOME}> » <{$category.title}> <{if $parentforum}> <{foreach item=forum from=$parentforum}> » <{$forum.forum_name}> <{/foreach}> <{/if}> » <{$forum_name}> » <{$topic_title}> <{if $topicstatus}><{$topicstatus}><{/if}>

<{$p_up}><{$smarty.const._MD_TOP}>  <{$previous}> <{$smarty.const._MD_PREVTOPIC}>  <{$next}> <{$smarty.const._MD_NEXTTOPIC}>
<{$forum_page_nav|replace:'form':'div'|replace:'id="xo-pagenav"':''}> <{*-- irmtfan to solve nested forms and id="xo-pagenav" issue --*}>

<{$forum_reply}> <{$forum_addpoll}> <{$forum_post_or_register}>


<{if $quickreply.show}>
<{$quickreply.displayImage}>

<{$quickreply.form}>


<{/if}>
<{*-- irmtfan hardcode removed style="float: left; text-align: left;" --*}>
<{foreach item=perm from=$permission_table}>
<{$perm}>
<{/foreach}>
<{*-- irmtfan hardcode removed style="float: right; text-align: right;" --*}>

[<{$smarty.const._MD_ADVSEARCH}>]

<{$forum_jumpbox}>

<{includeq file='db:newbb_notification_select.html'}> <{*-- irmtfan remove -- end of irmtfan remove *}>