(!)

{$reviews = shopAllReviews::reviews(51, 0)}

{$mobile = $wa->isMobile()}

{if !empty($reviews)}

Только честные отзывы настоящих покупателей
{$_tmp = shuffle($reviews)} {foreach $reviews as $review}
{$review.datetime|wa_datetime:"humandate"}
{$review.author.name} {$_rate = $review.rate}
{if !empty($review.images)} {$images_count = $review.images|count} {if $mobile} {$hide_count = 3} {$_count = 2} {else} {$hide_count = 4} {$_count = 3} {/if} {/if}
{$review.text}
{/foreach}

{/if}