{counter name="productPageReviewsCounter" assign="productPageReviewsCounter"} {if $ReviewsEnable == '1' && $productPageReviewsCounter == 1}

{$msg.reviews.product_reviews}

{if !empty($reviews)} {if (($auth_ok == "yes" || $user_cookie) && $auth_express !='yes')} {if $has_written_review}
{$msg.reviews.create_review_success}
{else} {/if} {else} {lang msg=$msg.reviews.new_review login=''|cat:$msg.account.login|cat:'' register=''|cat:$msg.account.register|cat:''} {/if} {foreach from=$reviews item="review"}
{if $review.user_login != ""} Reviewed by {$review.user_login|htmlspecialchars}
{if $review.purchased}
{$review.user_login|htmlspecialchars} bought "{$product.title|htmlspecialchars}" on our website
{/if} {/if} {$review.date_created}
{$review.review_title|htmlspecialchars}
{$review.review_text|htmlspecialchars|nl2br}
{/foreach} {else} {if (($auth_ok == "yes" || $user_cookie) && $auth_express !='yes')} {else} {lang msg=$msg.reviews.new_first_review login=''|cat:$msg.account.login|cat:'' register=''|cat:$msg.account.register|cat:''} {/if} {/if}
{if (($auth_ok == "yes" || $user_cookie) && $auth_express !='yes')} {/if}
{/if}