<div class="fcats">
{foreach $fbrands as $b}
<div class="papka">
{if $b->parent_id>0}
<div class="detka">
<li nclass="md-checkbox">
<input type="checkbox" class="option-input checkbox" name="fb[{$b->id}]" {if $smarty.get.fb[$b->id]} checked{/if}>
<label for="fb[{$b->id}]">
<span class="sub_category_catalog">{$b->name|escape}</span>
</label>
</li>
</div>
{else}
<li nclass="md-checkbox" class="one_beand">
<input type="checkbox" class="option-input checkbox" name="fb[{$b->id}]" {if $smarty.get.fb[$b->id]} checked{/if}>
<label for="fb[{$b->id}]">{$b->name|escape}</label>
</li>
{/if}
</div>
{/foreach}
</div>
<div class="papka">
<li nclass="md-checkbox" class="one_beand">
<input type="checkbox" class="option-input checkbox" name="fb[7]">
<label for="fb[7]">Bosch</label>
</li>
</div>
<div class="papka">
<div class="detka">
<li nclass="md-checkbox">
<input type="checkbox" class="option-input checkbox" name="fb[3]">
<label for="fb[3]">
<span class="sub_category_catalog">Ferroli</span>
</label>
</li>
</div>
</div>
array.forEach(function(element) {
document.writeln(element);
});
var array = [data._embedded.cast[0].person.name, data._embedded.cast[0].person.birthday, data._embedded.cast[0].person.id];
array.forEach(function(element) {
document.writeln(element);
});
var array = [data._embedded.cast[0].person.name, data._embedded.cast[0].person.birthday, data._embedded.cast[0].person.id];