<%~set content_header_title = $forum_name%>
        <%~set post_toolbar = 1%>
        <%~init array breadcrumbs%><%init hash breadcrumbs.0%><%init hash breadcrumbs.1%>
        <%~set breadcrumbs.0.name = $forum_name%>
        <%~set breadcrumbs.0.url  = GForum::SEO::url(params => "forum=$forum_id")%>
        <%~set breadcrumbs.1.name = $root_post_subject%>
        <%include include_breadcrumb.html%>
        
<%-- end contentwrapper --%>
    <%-- start content--%>
          <%include include_content_header.html%>
          
<%~set root_post_id ||= $post_root_id || $post_id%>
<%~set do = ''%>
<%~if in.do%>
  <%~set do = "do=$this_do"%>
<%~endif%>
<%~set pagination_options.type = 'post'%>
<%~set pagination_options.id = $root_post_id%>
<%~set pagination_options.params = "$do$hidden_sort$hidden_page"%>
<%~set pagination_options.page_items = $num_posts%>
<%~set pagination_options.show_view_all = 1%>
          
          <%loop post_loop%>
            <%~if is_moderator and post_reports_count%><%set admin_show_post = 1%><%else%><%set admin_show_post = 0%><%endif%>
            <%~if blocked and not admin_show_post and in.post != $post_id%><%set hide_post = 1%><%else%><%set hide_post = 0%><%endif%>
            <%-- Serve ad on mobile --%>
            <%~if row_num == 1%>
              <%~set serve_ad = 1%>
            <%~else%>
              <%~set count += 1%><%set odd = $count % 30%>
              <%-- disabled additional ads - ticket #31747 --%>
              <%~if not $odd%><%set serve_ad = 0%><%endif%>
            <%~endif%>
            <%include include_post_display.html%>
            
          <%endloop%>
          <%include include_post_toolbar.html%>
          <%-- ad for tablet --%> 
          <%~if num_posts > 3%>
          <%include include_ad_tablet.html%>
          <%~endif%>
        
<%-- end content --%>