<div id="collectionheader" <?if(hun()):?>style="background: url(/public/img/collection/stilus/header_bemutatoterem.png)"<?else:?>style="background: url(/public/img/collection/stilus/header_showroom.png)"<?endif;?>>
	<div class="collbal">
		<div class="collheadbal3">
			<img src="/public/img/collection/<?=$gyarto->dir?>/logo.png" alt="<?=$gyarto->dir?> logo" width="237" height="122" />
			<img src="/public/img/collection/stilus/menu_dropdown.png" alt="" class="nyille2" />
		</div>
	</div>

	<div class="collheadbal2">
		<?if($this->uri->segment(2)=="types"):?>
		<a class="colheadback" href="/<?=$this->uri->segment(1)?>/<?=$this->uri->segment(2)?>/<?=$this->uri->segment(3)?>">
		<?else:?>
		<a href="/<?=$this->uri->segment(1)?>" class="colheadback">
		<?endif;?>
			<img src="/public/img/collection/stilus/arrow_back.png" alt="vissza" /> &nbsp;<?=lang('backbrands')?>
		</a>
		<?=$this->load->view('collection2/searchform')?>
	</div>
</div>

<div class="collbal">
<ul id="collullist">
<?foreach($kategoriak as $kat):?>
	<?if(isset($ballink) && $ballink!=""):?>
	<li class="colli colli-inaktiv" id="<?=$kat->c_id?>" ><a href="/<?=$this->uri->segment(1)?>/<?=$ballink?>/<?=$kat->c_id?>"><? hun() ? print $kat->nev_hun : print $kat->nev_eng;?></a></li>
	<?else:?>
	<li class="colli colli-inaktiv" id="<?=$kat->c_id?>" ><a href="/<?=$this->uri->segment(1)?>/category/<?=$kat->c_id?>"><? hun() ? print $kat->nev_hun : print $kat->nev_eng;?></a></li>
	<?endif;?>
<?endforeach;?>
</ul>
</div>

<div class="colljobb">
	<?$i=1;?>
	<?foreach($kategoriak as $k=>$kat):?>
	<a class="listaelem" href='/<?=$this->uri->segment(1)?>/<?if(isset($ballink) && $ballink!=""):?><?=$ballink?><?else:?>category<?endif;?>/<?=$kat->c_id?>' style="height: 176px; <?if($i%4==0):?>margin-right: 0px;<?endif;?>">
		<?if(file_exists("public/img/collection/category/".$kat->c_id."_182x152.jpg")):?>
		<img src="/public/img/collection/category/<?=$kat->c_id?>_182x152.jpg" class="listakep" alt="" />
		<?elseif(file_exists("public/img/collection/category/".$kat->c_id.".jpg")):?>
		<img src="/public/img/collection/category/<?=$kat->c_id?>.jpg" class="listakep" alt="" />
		<?else:?>
		<img src="/public/img/collection/category/nocategory.jpg" class="listakep" alt="" />
		<?endif;?>
		<div class="sotetdoboz2">
			<? hun() ? print $kat->nev_hun : print $kat->nev_eng;?>
		</div>
	</a>
	<?$i++;?>
	<?endforeach;?>
</div>

<div class="clear" style="margin-bottom: 1px;"></div>
