<%~set search_widget = 1%> <%~set poll_widget = 1%> <%cat_full_name%>: <%forum_name%><%if this_page > 1%>: Page <%this_page%><%endif%> <%include include_common_head.html%> <%~set hidden_sort = ''%><%set hidden_page = ''%><%set form_sort = ''%><%set form_page = ''%> <%~if in.sb%><%set hidden_sort .= ";sb=$sb"%><%set form_sort .= ""%><%endif%> <%~if in.so%><%set hidden_sort .= ";so=$so"%><%set form_sort .= ""%><%endif%> <%~if in.mh%><%set hidden_page .= ";mh=$mh"%><%set form_page .= ""%><%endif%> <%~if in.page%><%set hidden_page .= ";page=$this_page"%><%set form_page .= ""%><%endif%> <%~set do = ''%><%if in.do%><%set do = "do=$this_do;"%><%endif%>
<%include include_header.html%>
<%~set content_header_title = $forum_name%> <%~set btn_new = 1%> <%~init array breadcrumbs%><%init hash breadcrumbs.0%> <%~set breadcrumbs.0.name = $forum_name%> <%~set breadcrumbs.0.url = GForum::SEO::url(params => "forum=$forum_id")%> <%include include_breadcrumb.html%> <%~set paging_do = ''%> <%~if in.do%> <%~set paging_do = "do=$this_do"%> <%~endif%> <%~set pagination_options.type = 'forum'%> <%~set pagination_options.id = $forum_id%> <%~set pagination_options.params = "$paging_do$hidden_sort$hidden_page"%> <%~set pagination_options.page_items = $forum_total_threads%>
<%-- start content--%> <%include include_content_header.html%>
<%include include_hot_topics.html%> <%include include_quicklaunch.html%>
<%-- start table --%>
 
<%~if sb eq post_subject and so ieq asc%><%set url_param_subject_so = 'desc'%><%else%><%set url_param_subject_so = 'asc'%><%endif%> " title="Sort by Subject"> Subject <%~if sb eq post_subject%> <%endif~%>
<%~if sb eq post_username and so ieq asc%><%set url_param_author_so = 'desc'%><%else%><%set url_param_author_so = 'asc'%><%endif%> " title="Sort by Author"><%~%> Author <%~if sb eq post_username%> <%endif~%>
Views
<%~if sb eq post_replies and so ieq desc%><%set url_param_replies_so = 'asc'%><%else%><%set url_param_replies_so = 'desc'%><%endif%> " title="Sort by # of Replies"><%~%> Replies <%~if sb eq post_replies%> <%endif~%>
<%~if sb eq post_latest_reply and so ieq asc%><%set url_param_last_post_so = 'desc'%><%else%><%set url_param_last_post_so = 'asc'%><%endif%> " title="Sort by # of Replies" rel="nofollow"><%~%> Last Post <%~if sb eq post_latest_reply%> <%endif~%>
<%~loop post_loop%> <%~if post_locked%><%set icon_class = 'locked-thread'%> <%~elsif post_thread_hot%><%set icon_class = 'hot-thread'%> <%~elsif post_new and new_replies%><%set icon_class = 'new-replies'%> <%~elsif post_replies == 1%><%set icon_class = 'first-post'%> <%~elsif post_replies%><%set icon_class = 'thread'%> <%~elsif post_new%><%set icon_class = 'new-thread'%> <%~else%><%set icon_class = 'single-thread'%><%endif%>
<%~unless post_moved and post_moved_perm < 3%> <%~set forum_view = ''%> <%~if in.do%> <%~set forum_view = "forum_view=$this_do&"%> <%~endif%> <%~if post_moved%><%set url_id = $post_moved_id%><%else%><%set url_id = $post_id%><%endif%> <%~set url_anchor = ""%> <%~set url_param_unread = ""%> <%~if current.user_default_post_display == 1 or not current.user_id%> <%~if post_depth%> <%~set url_anchor = "p$post_id"%> <%~elsif current.user_jump_to_unread%> <%~set url_param_unread = ";page=unread"%> <%~set url_anchor = "unread"%> <%~endif%> <%~endif%> <%~endunless%> <%~if post_sticky%> Sticky:<%endif%> <%~if post_moved%> Moved:<%endif%> $url_id, params => "$forum_view$hidden_sort$url_param_unread", anchor => $url_anchor)%>" class="title"> <% post_subject %>
by <%~set escaped_username = escape_url $post_username%> " class="postedby"><%post_username %> <%if not post_moved%> | <% post_date %>| <% post_replies || 0 %> replies <%~if post_depth == 0%> <%~set url_param_page_last = "post=last-"%> <%~if post_moved%><%set url_param_page_last .= "$post_moved_id"%><%else%><%set url_param_page_last .= "$post_id"%><%endif%> <%~set url_anchor = ""%> <%~if post_display_is_flat%><%set url_anchor = "last"%><%endif%> $url_anchor)%>" rel="nofollow" class="right-arrow">→ <%~endif%> <%~endif%> <%-- Server ad on mobile --%> <%~if row_num == 4 %> <%~set serve_ad = 1%><%set ad_count = 1%> <%~else%> <%~set count += 1%><%set odd = $count % 30%> <%~if not $odd%>
<%include include_poll_widget.html%> <%~set serve_ad = 0%><%set count = 0%>
<%endif%> <%~endif%>
<%~if $serve_ad%><%set height_choice = $ad_count % 2%> <%~if not height_choice%><%set ad_height = 250%><%else%><%set ad_height = 600 %><%endif%> <%~set ad_count += 1%> <%include include_ad_mobile.html%> <%~set serve_ad = 0%><%set count = 0%> <%~endif%>
<%~set include_username_display = $post_username%> <%include include_username.html%>
<%if not post_moved%><%post_views%><%endif%>
<%if not post_moved%><%post_replies%><%endif%>
<%~if not post_moved%> <%post_latest_reply_date%> <%~if post_replies%> <%~set escaped_username = escape_url $post_latest_poster%> by " class="postedby"><%post_latest_poster%> <%~endif%> <%~-- Show jump image for root posts --%> <%~if post_depth == 0%> $url_anchor)%>" rel="nofollow" class="right-arrow">→ <%~endif%> <%~endif%>
<%~ endloop %>
<%-- end dtable --%>

<%~set paging_do = ''%> <%~if in.do%> <%~set paging_do = "do=$this_do"%> <%~endif%> <%~set pagination_options.type = 'forum'%> <%~set pagination_options.id = $forum_id%> <%~set pagination_options.params = "$paging_do$hidden_sort$hidden_page"%> <%~set pagination_options.page_items = $forum_total_threads%> <%include include_paging.html%> <%include include_forum_actions.html%>
<%-- ad for tablet --%> <%include include_ad_tablet.html%>
<%-- end content --%>
<%-- end contentwrapper --%>
<%-- end main --%> <%include include_footer.html%>
<%~include include_global_js.html%>