<div data-role="page">

<div data-role="header">
    <h1 style="margin-left: 70px; margin-right: 15px;"><?=lang('collec2_showroom')?>, <?=$gyarto->name?></h1>
    <a class="ui-btn ui-shadow ui-btn-corner-all ui-btn-icon-left ui-btn-up-a" data-theme="a" data-wrapperels="span" data-iconshadow="true" data-shadow="true" data-corners="true" href="/mobile" data-role="button" data-icon="arrow-l" data-ajax="false">
		<span class="ui-btn-inner ui-btn-corner-all"><span class="ui-btn-text"><?=lang('forum_vissza')?></span>
		<span class="ui-icon ui-icon-arrow-l ui-icon-shadow">&nbsp;</span></span>
    </a>
</div>

<div data-role="content">
<ul data-role="listview" data-inset="true">
<?foreach($categories as $kat):?>
    <li>
		<a style="min-height: 40px" class="ui-link-inherit" href="/mobile/shobjects/<?=$kat->c_id?>" data-ajax="false">
			<?if(file_exists("public/img/collection/category/".$kat->c_id."_80.jpg")):?>
			<img class="ui-li-thumb" src="/public/img/collection/category/<?=$kat->c_id?>_80.jpg" alt="">
			<?else:?>
			<img class="ui-li-thumb" src="/public/img/collection/category/<?=$kat->c_id?>.jpg" alt="">
			<?endif;?>
			<h3><? hun() ? print $kat->nev_hun : print $kat->nev_eng;?></h3>
			<span class="ui-li-count"><?=$kat->elemszam?></span>
		</a>
	</li>
<?endforeach;?>
</ul>
</div>

<div data-role="footer">
    <p style="text-align: center;">&copy; <?=lang('m_cegnev')?> | <a href="/collection2012/manufacturer/<?=$gyarto->dir?>" data-ajax="false"><?=lang('m_teljesv')?></a></p>
</div>

</div>