{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'} {capture name=subcats}
{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}

{/foreach}
{if $CONFIG.settings.prodlist_show_zero_qty ne 'on'} * {$LABEL.note_cat_vis_prod_cnt} {/if}

{/if}
{/capture} {include file="_system_/center_block.html" content=$smarty.capture.subcats title=""} {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' noinner=true} {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' noinner=true} {/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} {capture name=sort}
{strip} {if $act != 'search' and $all_manufs}

{$LABEL.lbl_manufacturer}: 

{/if}

{$LABEL.lbl_sort_by}: 

    

getSortDir('caption') lt 0}class="sort-down"{elseif $products_pager->getSortDir('caption') gt 0}class="sort-up"{/if} onClick="document.forms.caption_sort.submit(); return false;">{$LABEL.lbl_designation}

    

getSortDir('price') lt 0}class="sort-down"{elseif $products_pager->getSortDir('price') gt 0}class="sort-up"{/if} onClick="document.forms.price_sort.submit(); return false;" >{$LABEL.lbl_price}

{/strip}
{strip} {if $count_per_page_steps}

{$LABEL.lbl_max_count_per_page}: 

{/if} {if $act ne 'search' and $CONFIG.modules.products_compare.avail eq 'Y'} {/if} {/strip}
{/capture} {include file="_system_/center_block.html" content=$smarty.capture.sort title=""} {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 $CONFIG.settings.prodlist_row_view eq 'on'} {assign var=products_list_style value='row'} {else} {assign var=products_list_style value='block'} {/if} {if $act eq 'search'} {assign var=prod_from value="search"} {else} {assign var=prod_from value="catalog"} {/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}