{{if $entry->isFutureDate() || $entry->mapped('pinned') || $entry->mapped('featured') || $entry->hidden() === -1 || $entry->hidden() === 1 || $entry->status === 'draft'}}
{{if $entry->isFutureDate() and $entry->status !== 'draft'}}
{{elseif $entry->hidden() === -1}}
{{elseif $entry->hidden() === 1}}
{{endif}}
{{if $entry->status === 'draft'}}
{{endif}}
{{if $entry->mapped('pinned')}}
{{endif}}
{{if $entry->mapped('featured')}}
{{endif}}
{{endif}}
{{if $entry->prefix() OR ( $entry->canEdit() AND $entry::canTag() AND $entry::canPrefix() )}}
prefix()}}class='ipsHide'{{endif}} {{if ( $entry->canEdit() AND $entry::canTag() AND $entry::canPrefix() )}}data-editablePrefix{{endif}}>
{template="prefix" group="global" app="core" params="$entry->prefix( TRUE ), $entry->prefix()"}
{{endif}}
{{if $entry->canEdit()}}
{{if $entry->locked()}} {{endif}}{$entry->name}
{{else}}
{{if $entry->locked()}} {{endif}}{$entry->name}
{{endif}}
{{if $entry->date > time()}}{lang="entry_future_posted" htmlsprintf="$entry->author()->link()"}{{else}}{lang="entry_posted" htmlsprintf="$entry->author()->link()"}{{endif}} · {datetime="$entry->date"}
{lang="num_views_with_number" pluralize="$entry->views"}
{{if \IPS\Settings::i()->blog_enable_rating}} {$entry->rating()|raw} {{endif}} {{if count( $entry->tags() ) OR ( $entry->canEdit() AND $entry::canTag() )}} {template="tags" group="global" app="core" params="$entry->tags(), FALSE, FALSE, ( $entry->canEdit() AND $entry::canTag() ) ? $entry->url() : NULL"} {{endif}}{lang="entry_images"}
{$entry->_album|raw}{{if $entry instanceof \IPS\Content\Reputation and settings.reputation_enabled}}
{lang="num_comments_uc" pluralize="$entry->num_comments"}
{{if $entry->commentPageCount() > 1}} {$entry->commentPagination( array('tab') )|raw}
{{endif}}
{lang="no_comments"}
{{endif}}{$entry->commentPagination( array('tab') )|raw} {{endif}} {{if $entry->commentForm() || $entry->locked() || \IPS\Member::loggedin()->restrict_post || \IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']}}
{lang="blog_entry_locked_can_comment"}
{{endif}} {$entry->commentForm()|raw} {{else}} {{if $entry->locked()}} {template="commentUnavailable" group="forms" location="front" app="core" params="'blog_entry_locked_cannot_comment'"} {{elseif \IPS\Member::loggedin()->restrict_post}} {template="commentUnavailable" group="forms" location="front" app="core" params="'restricted_cannot_comment', \IPS\Member::loggedIn()->warnings(5,NULL,'rpa'), \IPS\Member::loggedIn()->restrict_post"} {{elseif \IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']}} {template="commentUnavailable" group="forms" location="front" app="core" params="'unacknowledged_warning_cannot_post', \IPS\Member::loggedIn()->warnings( 1, FALSE )"} {{endif}} {{endif}}