<?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("registracia");
?>

<!-- start page -->
<div
	id="pageIn" <?=in_array($page,$fullPages) ? ' class="fullPage"' : ""?>>

	<!-- start informal place -->
	<div id="content">

		<!-- start logo+slogan section -->
		<div id="logo">
			<h1>
				<a href="#"><?=$this->cfg['page_title']?> </a>
			</h1>
			<p>
				<?=$this->cfg['page_slogan']?>
			</p>
		</div>
		<!-- end  logo+slogan section -->

		<div class="post">
			<h1 class="title">
				<a href="#"><?=$nadpis?> </a>
				
			</h1>
			<?=$content?>
			<?if (!in_array($page,$fullPages)) { ?> <div id="nabadaj" > Tak sa registruj! <a href="#loginBox" 	> <i class="icon-arrow-right"></i></a></div>
			<?php }?> 
			<div class="clear"></div>
		</div>
		

		<!-- start sidebars -->
		<div id="bottomLead">
			<div class="lead">
				<i class="icon-user-md icon-2x"></i>
				<p>Zamerané na Reálnych hráčov</p>
			</div>

			<div class="lead">
				<i class="icon-wrench icon-2x"></i>
				<p>Flexibilita</p>
			</div>

			<div class="lead">
				<i class="icon-rss icon-2x"></i>
				<p>Vždy v obraze</p>
			</div>
			
		</div>
		<!-- end sidebars -->
	</div>
	<!-- end informal place  -->

	<!-- start sidebars -->
	<div id="sidebar1" class="sidebar">
		<div id="loginBox">
			<h2>Vstup</h2>
			<?=include $this->path['core_tmpl'] . "_login.tmpl.php"?>
		</div>
		<div id="regBox">
			<h2>Registrácia</h2>
			<?=include $this->path['core_tmpl'] . "_reg.tmpl.php"?>
		</div>
	</div>
	<!-- end sidebars -->

	<div style="clear: both;"></div>
</div>
<!-- end page -->

<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>

<script>

$(function() {
	kontrolaMenoPriezvisko('#loginnameR');
	$( "#sliderKondicka" ).slider();
	//email kontroluje html5
	});
</script>
