<a href="{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}"
title="{xen:if '{$thread.isNew} AND {$thread.haveReadData}', {xen:phrase go_to_first_unread_message}}"
class="{xen:if $thread.hasPreview, PreviewTooltip}"
data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}" class="fullDivLink">
<div class="listBlock main">
<div class="titleText">
<h3 class="title">
<xen:if is="{$thread.canInlineMod}"><input type="checkbox" name="threads[]" value="{$thread.thread_id}" class="InlineModCheck" id="inlineModCheck-thread-{$thread.thread_id}" data-target="#thread-{$thread.thread_id}" title="{xen:phrase select_thread}: '{$thread.title}'" /></xen:if>
<xen:if is="{$showSubscribeOptions}"><input type="checkbox" name="thread_ids[]" value="{$thread.thread_id}" /></xen:if>
<xen:if is="{$thread.prefix_id}">
<xen:if is="{$linkPrefix}">
{xen:helper threadPrefix, $thread, html, ''}
<xen:else />
{xen:helper threadPrefix, $thread}
</xen:if>
</xen:if>
{xen:helper wrap, $thread.title, 50}
</h3>
<xen:if hascontent="true">
<div class="iconKey">
<xen:contentcheck>
<xen:hook name="thread_list_item_icon_key" params="{xen:array 'thread={$thread}'}">
<xen:if is="{$thread.isModerated}"><span class="moderated" title="{xen:phrase moderated}">{xen:phrase moderated}</span></xen:if>
<xen:if is="!{$thread.discussion_open}"><span class="locked" title="{xen:phrase locked}">{xen:phrase locked}</span></xen:if>
<xen:if is="{$thread.sticky}"><span class="sticky" title="{xen:phrase sticky}">{xen:phrase sticky}</span></xen:if>
<xen:if is="{$thread.isRedirect}"><span class="redirect" title="{xen:phrase redirect}">{xen:phrase redirect}</span></xen:if>
</xen:hook>
</xen:contentcheck>
</div>
</xen:if>
<div class="secondRow">
<div class="posterDate muted">
<xen:username user="$thread" title="{xen:phrase thread_starter}" />,
<xen:datetime time="$thread.post_date" title="{xen:if {$visitor.user_id}, '{xen:phrase go_to_first_message_in_thread}'}" /><xen:if is="{$showForumLink}">,
{$thread.forum.title}</xen:if>
<xen:if is="{$showLastPageNumbers} AND {$thread.lastPageNumbers}">
<span class="itemPageNav">
<span>...</span>
<xen:foreach loop="$thread.lastPageNumbers" value="$pageNumber">
{$pageNumber}
</xen:foreach>
</span>
</xen:if>
</div>
</div>
</div>
</div>
</a>