<%-- start table --%>
<%-- end dtable --%>
<%-- ad for tablet --%>
<%include include_ad_tablet.html%>
<%~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~%>
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%>
<%~ endloop %>
<%~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%>
<%~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%>
<%include include_poll_widget.html%>
<%~set serve_ad = 0%><%set count = 0%>
<%endif%>
<%~endif%>
<%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%>