## Search

{$title} › {lang code='search'} –
Type
{foreach from=$Cbucket->search_types item=search_type key=search_type_key} {if $search_type} {assign var='type' value=$cbsearch->init_search($search_type_key)} {if $type} {assign var='types' value=$type->search_type} {foreach from=$types key=stype item=search}
{lang code='search_for_s' assign='searchfor'}

## {$searchfor|sprintf:$search.title}

{foreach from=$search.fields item=field}
Advanced Search {$field.title} {$field.notShowSeprator = 'true'} {$field.class = 'form-control'} {if $field.type == 'checkbox'} {$field.label_class = 'checkbox-inline'} {$field.class = ''} {/if} {$formObj->createField($field)}
{/foreach}
{/foreach} {/if} {/if} {/foreach}
{lang code='more_options'}

## {$search_type_title}

{if $results} {foreach item=result from=$results} {assign var=$template_var value =$result} {include file="$display_template" } {/foreach} {else} {lang code='no_results_found'} {/if}
{AD place='ad_160x600'}
{include file="$style_dir/blocks/pagination.html"}