
<style>
	img { display: block; max-width: 100%; }
</style>

<div data-role="page">
	<?if(!$notitle && $page->page_title!=''):?>
	<div data-role="header">
		<h1 style="margin-left: 85px; margin-right: 15px;"><?=$page->page_title?></h1>
	<?if($_SERVER['HTTP_REFERER'] || $elozooldal):?>
    <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="<?if($elozooldal):?><?=$elozooldal?><?else:?><?=$_SERVER['HTTP_REFERER']?><?endif;?>" 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>
	<?endif;?>
	</div>
	<?endif;?>
	
	<div data-role="content">
		<?=$page->page_body?>
	</div>
	
	<div data-role="footer">
		<p style="text-align: center">&copy; <?=lang('m_cegnev')?>
		<?if($fullpage):?>
		| <a href="<?=$fullpage?>" data-ajax="false"><?=lang('m_teljesv')?></a>
		<?endif;?>
		</p>
	</div>
</div>