<?@header("Content-Type: text/html; charset=UTF-8");?><div data-role="page" data-add-back-btn="true" id="Gallery" class="gallery-page">

	<div data-role="header">
		<h1><?=$projekt->project?></h1>
	</div>

	<div data-role="content" style="padding: 20px;">	
		
		<?if($projekt->kepek):?>
		<ul class="gallery">
		
			<?foreach($projekt->kepek as $kep):?>
			<?if( !is_dir($utvonal.$kep) ):?>
			<li><a href="/<?=$projekt->utvonal?><?=$kep->cu_id?>/1__1024.jpg" rel="external"><img src="/<?=$projekt->utvonal?><?=$kep->cu_id?>/1__300.jpg" alt="<?=$kep->title?>" /></a></li>
			<?endif;?>
			<?endforeach;?>
			
		</ul>
		<?else:?>
		<?=lang('collec2_nincspubit')?>
		<?endif;?>
		
	</div>
	
	<div data-role="footer">
		<h4><?=lang('m_cegnev')?></h4>
	</div>
	
</div>
