{include file="header.html"} {include file="fancybox.html"}

{$lng_compare.compare}

{if $no_compare>0} {foreach from=$compare_array item=c} {foreach from=$c item=t} {/foreach} {foreach name=fields from=$fields item=v} {assign var="found" value="0"} {foreach from=$c item=t} {if $t[$v.caption] && $t[$v.caption]!='0000-00-00'}{assign var="found" value="1"}{/if} {/foreach} {if $found==1} {foreach from=$c item=t} {/foreach} {/if} {/foreach} {foreach from=$c item=t} {/foreach} {/foreach}
{* -------- PICTURE --------- *}
{$t.title|strip_tags:false}
{* -------- TITLE --------- *}

{$t.title|wordwrap:50:" ":true}

{* -------- PRICE --------- *} {if $t.price>=0}
{$t.price_curr}
{/if}
{$v.name} {if $v.prefix}{$v.prefix}{/if} {if $v.type=="checkbox_group" || $v.type=="multiselect"} {foreach name=multi from = $t[$v.caption] item=x} {if $smarty.foreach.multi.index!=0}, {/if}{$x} {/foreach} {elseif $v.type=="youtube" && $t[$v.caption]} {$t[$v.caption]|regex_replace:'/ width="[0-9]+"/':" width='200'"|regex_replace:'/ height="[0-9]+"/':" height='180'"} {elseif $v.type=="url" && $t[$v.caption]} {$t[$v.caption]} {elseif $v.type=="file" && $t[$v.caption]} {elseif $v.type=="image" && $t[$v.caption]} {elseif $v.type=="date"} {$t.vis[$v.caption]} {elseif $v.validation_type=="numeric"} {$t.formatted[$v.caption]} {elseif $v.type=="textarea"} {$t.formatted[$v.caption]} {elseif $v.type=="checkbox"} {if $t[$v.caption]==1}{$lng.general.Yes}{else}{$lng.general.No}{/if} {elseif $v.type=="google_maps" && $t[$v.caption]}
{else} {if $t[$v.caption]}{$t[$v.caption]}{else}-{/if} {/if} {if $v.postfix}{$v.postfix}{/if}
{else}

{$lng_compare.no_items}

{/if}
{include file="footer.html"}