<div data-role="page">
<div data-role="header">
	<h1 style="margin-left: 70px; margin-right: 15px;">Workshop</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#workshop" 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">
<h2><?if(!hun()):?><?=$event->name?><?endif;?></h2>

<? $oldal = $this->mpages->get_row($event->shorttext); if($oldal) print $oldal->page_body; ?>
<br />

<?if( isset($dates[0]) ):?>
<?=lang('event_next')?>: <b><?if(!hun()):?><?=date('d M Y H.i',$dates[0]->start_ts)?><?else:?><?=date('Y. m. d. \&\n\b\s\p\;\&\n\b\s\p\;H:i',$dates[0]->start_ts)?><?endif;?></b>
<?else:?>
<?=lang('event_next')?>: <b><?=lang('event_onreq')?></b>
<?endif;?>

<p style="text-align: right; margin-top: 0px;"><a href="/mobile/ws/<?=$tema?>/register/<?if($dates[0]->times->able_to_reg):?><?=$dates[0]->event_id?><?endif;?>" class="registrate3"><?=lang('events_form_sub_reg')?></a></p>

</div>

<div data-role="footer">
    <p align="center">&copy; <?=lang('m_cegnev')?> | <a href="/interior/workshop/<?=$this->uri->segment(3)?>" data-ajax="false"><?=lang('m_teljesv')?></a></p>
</div>


</div>