isLastPage('reviews')}}data-lastPage{{endif}} data-feedID='product-{$item->id}-reviews' id='reviews'> {{if $item->reviewForm()}}
{$item->reviewForm()|raw}
{{else}} {{if $item->hasReviewed()}} {{elseif \IPS\Member::loggedin()->restrict_post}} {{if \IPS\Member::loggedIn()->restrict_post == -1}} {template="reviewUnavailable" group="forms" location="front" app="core" params="'restricted_cannot_comment'"} {{else}} {template="reviewUnavailable" group="forms" location="front" app="core" params="'restricted_cannot_comment', \IPS\Member::loggedIn()->warnings(5,NULL,'rpa'), \IPS\Member::loggedIn()->restrict_post"} {{endif}} {{elseif \IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']}} {template="reviewUnavailable" group="forms" location="front" app="core" params="'unacknowledged_warning_cannot_post', \IPS\Member::loggedIn()->warnings( 1, FALSE )"} {{endif}} {{endif}} {{if $reviews = $item->reviews( NULL, NULL, NULL, 'desc', NULL, NULL, NULL, NULL, isset( \IPS\Request::i()->showDeleted ) ) AND \count( $reviews )}} {{if !$item->hasReviewed()}}
{{endif}}
{template="commentMultimodHeader" app="core" group="global" params="$item, '#reviews', 'review'"} {{if $item->reviewPageCount() > 1}}
{$item->reviewPagination( array( 'tab', 'sort' ) )|raw}
{{endif}}
{{foreach $reviews as $review}} {$review->html()|raw} {{endforeach}} {template="commentMultimod" app="core" group="global" params="$item, 'review'"}
{{if $item->reviewPageCount() > 1}}
{$item->reviewPagination( array( 'tab', 'sort' ) )|raw}
{{endif}} {{elseif !$item->canReview()}}

{lang="no_reviews"}

{{endif}}