<div data-role="page" data-add-back-btn="true">

	<div data-role="header">
		<h1 style="margin-left: 90px; margin-right: 20px;"><?=lang('forum_szerk')?> <?=$projekt->nev?></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/usergallery/<?=$uid?>" 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">
			<li class="ui-li ui-li-divider ui-bar-d" role="heading" data-role="list-divider"><?=lang('collec2_projprop')?></li>
			<li data-icon="gear">
				<a class="ui-link-inherit" href="/mobile/edituserprojectprop/<?=$projekt->cp_id?>" data-rel="dialog">
				<?=lang('name')?>: <?=$projekt->nev?><br />
				<?=lang('collec_jelszo')?>: <?=$projekt->guestname?>
				</a>
			</li>
			<li class="ui-li ui-li-divider ui-bar-d" role="heading" data-role="list-divider"><?=lang('images')?></li>
		
		<?if($projekt->kepek):?>
			<?foreach($projekt->kepek as $kep):?>
			<?if( !is_dir($utvonal.$kep) ):?>
			<li class="ui-btn ui-btn-icon-right ui-li-has-arrow ui-li-has-thumb ui-btn-up " data-iconpos="right" data-icon="arrow-r" data-wrapperels="div" data-iconshadow="true" data-shadow="false" data-corners="false" style="padding: 2px;">
			<div class="ui-btn-inner ui-li"><div class="ui-btn-text">
				<a class="ui-link-inherit" href="/mobile/editusergalleryitem/<?=$kep->cu_id?>" data-rel="dialog">
				<img class="ui-li-thumb" src="/<?=$projekt->utvonal?><?=$kep->cu_id?>/1__300.jpg" alt="<?=str_replace("_"," ",current(explode('.',$kep)))?>">
				<h3 class="ui-li-heading"><?if($kep->name):?><?=$kep->name?><?else:?>[<?=lang('unname')?>]<?endif;?></h3>
				<p class="ui-li-desc"><?=$kep->desc?></p>
				</a></div>
				<span class="ui-icon ui-icon-gear ui-icon-shadow">&nbsp;</span>
			</div>
			</li>
			<?endif;?>
			<?endforeach;?>
		<?else:?>
			<li><?=lang('collec2_nincspubit')?></li>
		<?endif;?>
		</ul>
		
	</div>
	
	<div data-role="footer">
		<h4><?=lang('m_cegnev')?></h4>
	</div>
	
</div>
