<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
<head>
<title><tag:meta_title /></title>
<meta name="author" content="<tag:meta_autor />" />
<meta name="generator" content="<tag:meta_generator />" />
<meta name="copyright" content="<tag:meta_copyright />" />
<meta name="robots" content="<tag:meta_robots />" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="styles/style.css" />
<script type="text/javascript" src="http://mvc/jscript/tinyMCE/tiny_mce_gzip.js"></script>
<script type="text/javascript">
tinyMCE_GZ.init({
	plugins : 'style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,'+ 
        'searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras',
	themes : 'simple,advanced',
	languages : 'en',
	disk_cache : true,
	debug : false
});
</script>
<loop:jsfiles>
	<script type="text/javascript" src="<tag:jsfiles[] />"></script>
</loop:jsfiles>
<tag:jscript />
</head>
<body>
<if:user_is_login>
<div id="page">
	<div id="head">
		<div id="user_info">
		  <span class="f_r"><a id="logout_button" href="<tag:url />admin/odhlasit">Odhlásit se</a></span>
			<span><b>Přihlášený uživatel:</b> <tag:user_name /></span><br />
			<span><b>Poslední přihlášení:</b> <tag:user_aktivni /></span>
		</div>
	</div>
	<div id="box">
		<div id="left_box">
			<div id="user_menu">
				<ul>
					<loop:umenu>
							<tag:umenu[].group />
						<li class="<tag:umenu[].li_class />">
							<a href="<tag:umenu[].link />">
								<tag:umenu[].text />
							</a>
						</li>
					</loop:umenu>
				</ul>
			</div>
		</div>
		<div id="content_box">
			<tag:content />
		</div>
		<div id="footer">
			<p id="powered_by">
				<a href="http://jigsaw.w3.org/css-validator/check/referer"  onclick="window.open(this.href,'_blank'); return false;">
					<img src="styles/images/btn_css.png" alt="Valid CSS 2.1" height="15" width="88" />
				</a>
				<a href="http://validator.w3.org/check?uri=referer" onclick="window.open(this.href,'_blank'); return false;">
					<img src="styles/images/btn_xhtml.png" alt="Valid XHTML 1.0 Strict" height="15" width="88" />
				</a>
				<a href="http://www.php.net" onclick="window.open(this.href,'_blank'); return false;">
					<img src="styles/images/btn_php.png" alt="PHP" height="15" width="88" />
				</a>
				<a href="http://www.mysql.com" onclick="window.open(this.href,'_blank'); return false;">
					<img src="styles/images/btn_mysql.png" alt="MySQL" height="15" width="88" />
				</a>
				<a href="http://tinymce.moxiecode.com/" onclick="window.open(this.href,'_blank'); return false;">
					<img src="styles/images/btn_tiny.png" alt="TinyMCE" height="15" width="88" />
				</a>
				<a href="http://www.jquery.com/" onclick="window.open(this.href,'_blank'); return false;">
					<img src="styles/images/btn_jquery.png" alt="Jquery" height="18" width="88" />
				</a>
				<a href="http://www.linux.cz/" onclick="window.open(this.href,'_blank'); return false;">
					<img src="styles/images/btn_linux.png" alt="Linux" height="15" width="88" />
				</a>
				<a href="http://firefox.czilla.cz/" onclick="window.open(this.href,'_blank'); return false;">
					<img src="styles/images/btn_ff.png" alt="Firefox" height="15" width="88" />
				</a>
			</p>
		</div>
	</div>
</div>
<else:user_is_login>
	<tag:content />
</if:user_is_login>
</body>
</html>