
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>Free CSS template by ChocoTemplates.com</title>
	<link rel="stylesheet" href="/admin_css/style.css" type="text/css" media="all" />
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>				
	<script type="text/javascript">
	$( document ).ready( function(){
		var url = location.pathname;
		if(url.indexOf('videoklipy') != -1 || url.indexOf('videoklip') != -1){
			$('#videoklipy').addClass("active");
		}else if(url.indexOf('rebricky') != -1 || url.indexOf('rebricek') != -1){
			$('#rebricky').addClass("active");
		}else if(url.indexOf('users') != -1){
			$('#users').addClass("active");
		}else{
			$('#admin').addClass("active");
		}
	});	
	</script>
</head>
<body>
<!-- Header -->
<div id="header">
	<div class="shell">
		<!-- Logo + Top Nav -->
		<div id="top">
			<h1><a href="/">Na hlavnú stránku</a></h1>
			<div id="top-navigation">
				Vitajte <a href="#"><strong>Administrator</strong></a>
				<span>|</span>
				<a href="#">Pomoc</a>
				<span>|</span>
				<a href="#">Profilove nastavenia</a>
				<span>|</span>
				<a href="#">Odhlásiť</a>
			</div>
		</div>
		<!-- End Logo + Top Nav -->
		
		<!-- Main Nav -->
		<div id="navigation">
			<ul>
			    <li><a href="/admin" id="admin"><span>Články</span></a></li>
			    <li><a href="/admin/videoklipy" id="videoklipy"><span>Videoklipy</span></a></li>
			    <li><a href="/admin/rebricky" id="rebricky"><span>Top Rebríčky</span></a></li>
			    <li><a href="/admin/users" id="users"><span>Užívatelia</span></a></li>
			</ul>
		</div>
		<!-- End Main Nav -->
	</div>
</div>
<!-- End Header -->

<!-- Container -->
<div id="container">
	<div class="shell">
		
		<!-- Small Nav
		<div class="small-nav">
			<a href="#">Admin</a>
			<span>&gt;</span>
			Články
		</div>
		End Small Nav -->
	
<?php  echo $this->message($this->messages); ?>	
		<br />		
		<!-- Main -->
		<div id="main">
			<div class="cl">&nbsp;</div>
	    <?php
         echo $this->layout()->content;
        ?>							
			<!-- Sidebar -->
			<div id="sidebar">
				
				<!-- Box -->
				<div class="box">
					
					<!-- Box Head -->
					<div class="box-head">
						<h2>Manažment</h2>
					</div>
					<!-- End Box Head-->
					
					<div class="box-content">
						<a href="/admin/pridaj-clanok" class="add-button"><span>Pridaj článok</span></a>
						<div class="cl">&nbsp;</div><br />
						<a href="/admin/pridaj-videoklip" class="add-button"><span>Pridaj videoklip</span></a>
						<div class="cl">&nbsp;</div><br />
						<a href="/admin/pridaj-rebricek" class="add-button"><span>Pridaj rebríček</span></a>
						<div class="cl">&nbsp;</div>							
						<!-- 						
						<p class="select-all"><input type="checkbox" class="checkbox" /><label>select all</label></p>
						<p><a href="#">Delete Selected</a></p>
						
						<!-- Sort 
						<div class="sort">
							<label>Sort by</label>
							<select class="field">
								<option value="">Title</option>
							</select>
							<select class="field">
								<option value="">Date</option>
							</select>
							<select class="field">
								<option value="">Author</option>
							</select>
						</div>
						 End Sort  -->
						
					</div>
				</div>
				<!-- End Box -->
			</div>
			<!-- End Sidebar -->
			
			<div class="cl">&nbsp;</div>			
		</div>
		<!-- Main -->
	</div>
</div>
<!-- End Container -->

<!-- Footer -->
<div id="footer">
	<div class="shell">
		<span class="left">&copy; 2010 - CompanyName</span>
		<span class="right">
			Design by <a href="http://chocotemplates.com" target="_blank" title="The Sweetest CSS Templates WorldWide">Chocotemplates.com</a>
		</span>
	</div>
</div>
<!-- End Footer -->
	
</body>
</html>