{{foreach $entries as $idx => $entry}}
{{if $idx > 3 && $idx % 2 == 0}}
{template="blogViewMedium" group="view" app="blog" params="$entry, $table"}
{{endif}}
{{endforeach}}
{{foreach $entries as $idx => $entry}}
{{if $idx > 3 && $idx % 2 != 0}}
{template="blogViewMedium" group="view" app="blog" params="$entry, $table"}
{{endif}}
{{endforeach}}
{{endif}}
{{else}}
{{foreach $entries as $idx => $entry}}
{template="blogViewLarge" group="view" app="blog" params="$entry, $table, FALSE"}
{{endforeach}}
{{endif}}
{{else}}
{template="noEntries" group="view" app="blog" params="$table->container()"}
{{endif}}]]>
{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 )"} {{elseif !\IPS\Member::loggedIn()->checkPostsPerDay()}} {template="commentUnavailable" group="forms" location="front" app="core" params="'member_exceeded_posts_per_day'"} {{endif}} {{endif}}