<?php

if ($this->oUrl->page == $this->oUrl->pageDefault)
	$page = $this->getGeneralConfig("main_page");
else
	$page = $this->oUrl->page;
$menu = $this->oMenu->getHtmlMenu(0,2);

//$fullPages = Array("tvorba-vysledkov","turnaje");
?>
<div id="menu">
	<?=$menu?>

</div>


<!-- start page -->
<div
	id="pageIn">


	<!-- start informal place -->
	<div id="content">
		<div class="post">
			<h1 class="title">
				<a href="#"><?=$nadpis?> </a>
			</h1>
			<?=$content?>
		</div>
	</div>
	<!-- end informal place  -->

	 <div style="clear: both;"></div>
	

<!-- end page -->


<!-- start chat -->
<div id="sideBox">
	<div id="loginBox">
		<h2>Odhlásenie</h2>
		<?=include $this->path['core_tmpl'] . "_login.tmpl.php"?>
	</div>
	<?=include $this->path['core_tmpl'] . "_chat.tmpl.php"?>
</div>
<!-- end chat -->

<div id="chatBoxContainer" ></div>
</div>

<div id="footer">

	<ul>
		<li><a href="#">O projekte</a> |</li>
		<li><a href="#">Autor</a> |</li>
		<li><a href="#">Kontakt</a> |</li>
	</ul>


	&copy;2013 All Rights Reserved. &nbsp;&bull;&nbsp; Design by <a
		href="#">MK</a>.

</div>
