{include file="products/products_js.html"} {if $CONFIG.modules.products.avail ne 'Y'} {capture name=products}

{$LABEL.lbl_module_disabled}

{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_products content=$smarty.capture.products} {elseif $act ne 'show_sform'}
{if $cur_category.img ne '' and $cur_category.img ne $smarty.const.NO_PICTURE} {$cur_category.alt|replace:' {/if}

{$cur_category.h1|default:$cur_category.caption}

{if $cur_category.descr and (not $products_pager or $products_pager->getCurrentPage() lte 1)}

{$cur_category.descr}

{/if}
{if $subcategories}
{foreach from=$subcategories item=subcat}
{$subcat.caption|truncate:39:"...":true} ({$subcat.visible_prods_num})
{/foreach}
{if $CONFIG.settings.prodlist_show_zero_qty ne 'on'}

* {$LABEL.note_cat_vis_prod_cnt}

{/if}
{/if} {if $cur_category.img ne '' or $cur_category.descr ne '' or $subcategories} {if $rated_prods} {include file="_system_/center_block.html" title=$LABEL.lbl_popular_prods src="common/products_list.html" products=$rated_prods style='block' prod_from='rated'} {elseif $random_prods} {include file="_system_/center_block.html" title=$LABEL.lbl_random_products src="common/products_list.html" products=$random_prods style='block' prod_from='random'} {/if} {/if} {if $act eq 'search' or not $rated_prods and not $random_prods} {if $act eq 'search'} {capture name=search}

{$LABEL.lbl_found_prods} {$total_prods_found} {$LABEL.lbl_found_prods2}


{include file="products/search/search_form.html"}
{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_search_results content=$smarty.capture.search} {elseif $cur_category.this_visible_prods_num gt 0} {include file="products/filter.html"} {/if} {if $products}
{if $act != 'search' and $all_manufs}

{$LABEL.lbl_manufacturer}:

{/if} {if $count_per_page_steps}

{$LABEL.lbl_max_count_per_page}:

{/if}
{if $act ne 'search' and $CONFIG.modules.products_compare.avail eq 'Y'} {else}   {/if}
{if $CONFIG.modules.products_compare.avail eq 'Y'}
{include file="products_compare/compare_block.html"}
{/if} {include file="common/page_bar/page_bar.html" pager=$products_pager pos='top'} {if $act eq 'search'} {assign var=prod_from value="search"} {else} {assign var=prod_from value="catalog"} {/if} {if $CONFIG.settings.prodlist_row_view eq 'on'} {assign var=products_list_style value='row'} {else} {assign var=products_list_style value='block'} {/if} {include file="common/products_list.html" style=$products_list_style} {include file="common/page_bar/page_bar.html" pager=$products_pager pos='bottom'} {else} {if $act ne 'search' and not $subcategories or $is_filter_enabled}

{$LABEL.lbl_no_prods}

{/if} {/if} {/if} {else} {capture name=search} {include file="products/search/search_form.html"} {/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_prod_search content=$smarty.capture.search} {/if}