{ $block->display("core:top_clean") } {$method->exe("product_img","search_show")} {if ($method->result == FALSE)} {$block->display("core:method_error")} {else} {literal} {/literal}
{foreach from=$product_img item=record} {literal} {/literal} {/foreach}
  {$record.name}   {if $record.type == "0"} {translate module=product_img} local {/translate} {else} {translate module=product_img} remote {/translate} {/if}


{/if}