Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
{if $product_info.customer_votes > 0 || $CPT_CONSTRUCTOR_MODE} {* rating *}
<div class="current-rating1"><div class="current-rating1-back"> </div><div class="current-rating1-front" style="width: {$product_info.customers_rating*20}px;"> </div></div>
<div style="width: 100px;text-align: center;">
({$smarty.const.VOTES_FOR_ITEM_STRING}: {$product_info.customer_votes})
</div>
{/if}
{if !$printable_version && !$vote_completed}
<script language="JavaScript">
function vote(score)
{ldelim}
var url = window.location.href;
url += '&vote=yes&mark='+score;
window.location = url;
return false;
{rdelim}
</script>
<ul class="unit-rating" style="width:100px;">
<li class="current-rating" style="width:100px;"> </li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("1");' title='{"vote_puny"}' class="r1-unit rater">{"vote_puny"}</a></li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("2");' title='{"vote_poor"}' class="r2-unit rater">{"vote_poor"}</a></li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("3");' title='{"vote_average"}' class="r3-unit rater">{"vote_average"}</a></li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("4");' title='{"vote_good"}' class="r4-unit rater">{"vote_good"}</a></li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("5");' title='{"vote_excellent"}' class="r5-unit rater">{"vote_excellent"}</a></li>
</ul>
</div>
{/if}
{if !$printable_version && !$vote_completed}
<script language="JavaScript">
function vote(score)
{ldelim}
var url = window.location.href;
url += '&vote=yes&mark='+score;
window.location = url;
return false;
{rdelim}
</script>
<ul class="unit-rating" style="width:100px;">
<li class="current-rating" style="width:100px;"> </li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("1");' title='{"vote_puny"}' class="r1-unit rater">{"vote_puny"}</a></li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("2");' title='{"vote_poor"}' class="r2-unit rater">{"vote_poor"}</a></li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("3");' title='{"vote_average"}' class="r3-unit rater">{"vote_average"}</a></li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("4");' title='{"vote_good"}' class="r4-unit rater">{"vote_good"}</a></li>
<li><a rel="nofollow" href='javascript:void(0)' onclick='javascript:vote("5");' title='{"vote_excellent"}' class="r5-unit rater">{"vote_excellent"}</a></li>
</ul>
</div>
{else}
{if $product_info.customer_votes > 0 || $CPT_CONSTRUCTOR_MODE} {* rating *}
<div class="current-rating1"><div class="current-rating1-back"> </div><div class="current-rating1-front" style="width: {$product_info.customers_rating*20}px;"> </div></div>
<div style="width: 100px;text-align: center;">
({$smarty.const.VOTES_FOR_ITEM_STRING}: {$product_info.customer_votes})
</div>
{/if}
{/if}