{* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {l s='Comments' mod='productcomments'} {section loop=$list_ids_product|count step=1 start=0 name=td} {/section} {foreach from=$grades item=grade key=grade_id} {cycle values='comparison_feature_odd,comparison_feature_even' assign='classname'} {$grade} {foreach from=$list_ids_product item=id_product} {assign var='tab_grade' value=$product_grades[$grade_id]} {if isset($tab_grade[$id_product]) AND $tab_grade[$id_product]} {section loop=6 step=1 start=1 name=average} {/section} {else} - {/if} {/foreach} {/foreach} {cycle values='comparison_feature_odd,comparison_feature_even' assign='classname'} {l s='Average' mod='productcomments'} {foreach from=$list_ids_product item=id_product} {if isset($list_product_average[$id_product]) AND $list_product_average[$id_product]} {section loop=6 step=1 start=1 name=average} {/section} {else} - {/if} {/foreach}   {foreach from=$list_ids_product item=id_product} {if isset($product_comments[$id_product]) AND $product_comments[$id_product]} {l s='view comments' mod='productcomments'} {else} - {/if} {/foreach}