<!-- tpl review/summary.html begin -->
{include file="header/page.html"}
{include file="review/popupfunc.js"}

<h2>{if $product.name}{$product.name|truncate:30:"...":true|escape:"htmlall"} reviews{else}Reviews{/if}</h2>
{if $product.numratings}
<div class="feedbackBG"><img src="/images/pixel.gif" class="feedback" height="13" width="{$product.ratingwidth}" border="0" /></div>
<p>Global Rating: {$product.avgrating|string_format:"%.2f"} from 
  	<a href="{$fullhref}">{$product.numratings} reviews</a></p>
  {else}
  {/if}
<p><a href="{$fullhref}">See all reviews</a><br />
	<a href="#" onclick="createNewReviewWindow('{$newhref}')">Add your review of this product</a>
</p>

<table class="review">
{foreach item=review from=$reviews}
  {include file="review/summary-item.html"}
{/foreach}
</table>
<!-- tpl review/summary.html end -->
